Skip to main content
Glama

fikra_diagnose_api_error

Given a request, a response and logs, name the likely cause and a fix. Fixed price $0.10 per call. Debugging an integration failure quickly.

Input Schema

NameRequiredDescriptionDefault
logsNoOptional logs.
specNoOptional OpenAPI or schema excerpt.
requestYes
responseYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations cover the safety profile (destructiveHint=false, openWorldHint=false), and the description adds genuinely useful behavior the annotations do not convey: a fixed price of $0.10 per call. That cost disclosure matters for an agent deciding whether to invoke it. It still doesn't explain why readOnlyHint is false for what reads like a pure analysis call, nor what the response contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and pricing are front-loaded in two tight sentences. The closing fragment 'Debugging an integration failure quickly.' is the weakest element, partly duplicating the first sentence and reading as a tagline rather than information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and four parameters, the description should say something about the shape of the answer (a named cause plus a proposed fix?) and how inputs are read. It gives a rough outcome concept but leaves an agent guessing about return format and input encoding, so it is only minimally adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%: 'logs' and 'spec' are documented, but 'request' and 'response' have no schema description at all. The description merely echoes those two names without saying what form they take (raw HTTP text, curl, JSON envelope) or how 'spec' affects diagnosis, so it fails to compensate for the gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete verb pair and resource: take a request/response/logs and 'name the likely cause and a fix' for an API/integration failure. That is distinguishable from nearby siblings like fikra_analyse_logs or fikra_debug_sql. It stops short of a crisp one-line definition because the trailing fragment 'Debugging an integration failure quickly' restates the use case rather than sharpening scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Debugging an integration failure quickly' implies when to reach for it, but there is no explicit when-not or routing to alternatives such as fikra_analyse_logs, fikra_analyse_openapi_spec, or fikra_generate_api_tests, which plausibly overlap. Usage is inferable rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources