Agent Repair — MCP Tool Failure Diagnostics

v0.2.0
io.github.neat-cyber/agent-repair Checked 4 days ago Published 21 days ago

Free MCP tool error diagnosis, argument checks, and related agent-tool discovery.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

diagnose_tool_failure

Classify a failed MCP/API tool call and recommend bounded next actions. Offline deterministic analysis. Does NOT retry, contact a service, or store the supplied error text.

ParameterTypeDescription
error_messagestringError or exception text; remove secrets before sharing.
http_statusinteger
idempotentbooleanTrue ONLY when the tool call is safe to repeat without side effects.
jsonrpc_codeinteger
retry_after_secondsinteger

validate_tool_arguments

Check supplied tool arguments against a constrained subset of JSON Schema (type, required, properties, additionalProperties, enum, const, numeric/string bounds, arrays). Returns paths and errors, no network access or storage. NOT full JSON Schema validation.

ParameterTypeDescription
arguments *objectTool call arguments. Remove credentials; no raw payload is logged.
schema *objectMCP tool inputSchema. Limited JSON Schema subset.

ecosystem_catalog

Discover useful independent agent-native tools from this same project and their MCP connection URLs. No request to another service, referrals only when relevant.

ParameterTypeDescription
needstring