API & MCP
Everything a person can do on Agentlab, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
GET https://agentlab.usefulweb.site/api/v1/tools– catalogGET https://agentlab.usefulweb.site/api/v1/tools/{id}– inputs, output schema, examplesPOST https://agentlab.usefulweb.site/api/v1/tools/{id}/calculate– run a toolGET https://agentlab.usefulweb.site/api/v1/workflows·POST https://agentlab.usefulweb.site/api/v1/workflows/{id}/run- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Tools on Agentlab
- Agent Permission Graph – See what your AI agent can reach: MCP servers, commands, files, network and secrets – with risks.
agent_permission_graph - MCP Server Explorer – Inspect any MCP server before you connect an AI agent: tools, permissions, risks, changes over time.
mcp_server_explorer - AI Agent Tool Explorer – Index of tools AI agents can call: this site, the MCP Registry or your definitions, by capability.
ai_agent_tool_explorer - AI Tool-Call Trace Explorer – Paste an agent transcript: see every tool call in order, with errors, timings, retries and loops.
tool_call_trace_explorer - Structured Output Validator – Validate AI JSON output against a JSON Schema: parse errors with line/column, plain-language fixes.
structured_output_validator - Model Behavior Regression Explorer – Compare eval results of two model versions: accuracy, regressions, McNemar p-value, flaky items.
model_behavior_regression_explorer - RAG Citation Debugger – Check a RAG answer's citations against the retrieved chunks: uncited claims, wrong sources, numbers.
rag_citation_debugger - AI Answer Verifier – Split an AI answer into claims and see which ones your sources actually support.
ai_answer_verifier - LLM Cost Explorer – Monthly LLM API cost per model for your workload, with prompt-caching and batch savings.
llm_cost_explorer - AI Model Compatibility Explorer – Which LLMs take images, audio or files, fit your context and support tools or structured outputs?
ai_model_compatibility_explorer - AI Website Readiness Explorer – Can ChatGPT, Claude, Perplexity and AI agents read your website? Explainable score.
ai_website_readiness_explorer - Prompt-to-Tool Router – Describe your problem in plain words and get the right tools and order to use them.
prompt_to_tool_router
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://agentlab.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
agent_permission_graph,mcp_server_explorer,ai_agent_tool_explorer,tool_call_trace_explorer,structured_output_validator,model_behavior_regression_explorer,rag_citation_debugger,ai_answer_verifier,llm_cost_explorer,ai_model_compatibility_explorer,ai_website_readiness_explorer,prompt_to_tool_router - Local stdio connector:
node src/mcp-stdio.ts
{
"mcpServers": {
"usefulweb": { "type": "http", "url": "https://agentlab.usefulweb.site/mcp" }
}
}