Skip to main content
Glama

Minha CNH

find_report_by_external_ref

Read-only

Recover a report using your own externalRef (the idempotency key you passed to request_report) — the recovery path when you lost the reportId, e.g. after a crash or a timed-out call. Returns the most recent matching report for your organization, in the same shape and with the same caveats as get_report (incl. fines_unverified). Free of charge.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "externalRef": "<externalRef>"
    },
    "name": "find_report_by_external_ref"
  }
}

Input Schema

NameRequiredDescriptionDefault
externalRefYesThe externalRef you supplied on request_report.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, but the description adds real behavioral context: results are scoped to your organization, the most recent match is returned when duplicates exist, the payload mirrors get_report including the `fines_unverified` caveat, and the call is free of charge. These are non-obvious traits (ordering, billing, output parity) an agent could not infer from annotations or schema.

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

Conciseness5/5

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

A single dense sentence-pair that front-loads the purpose, then the recovery condition, then return semantics and cost. Every clause carries distinct information with no filler.

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

Completeness5/5

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

For a one-parameter read with no output schema, the definition covers purpose, precondition, result ordering, output shape (by reference to get_report), and cost. Nothing an agent needs before calling is absent.

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

Parameters4/5

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

Schema coverage is 100% and the single parameter is already documented, so the baseline is 3. The description adds a conceptual layer by labeling externalRef as 'the idempotency key you passed to request_report', clarifying its origin and uniqueness role rather than just restating the schema text.

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

Purpose5/5

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

States a specific verb and resource ('Recover a report') plus the exact key used ('your own externalRef'), and positions it against request_report (where the key was supplied) and get_report (the normal retrieval path). An agent can tell instantly this is the lost-reportId recovery lookup, not a general report fetch.

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

Usage Guidelines5/5

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

Explicitly scopes usage: 'the recovery path when you lost the reportId, e.g. after a crash or a timed-out call.' The contrast with get_report is implied by naming the precondition (lost reportId) that would otherwise send the agent to get_report, and the externalRef prerequisite is 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