Skip to main content
Glama

Minha CNH

get_report

Read-only

Fetch a CNH report by id for the authenticated organization. status PROCESSING with diagnosis null means the report is still being generated — a normal state, not an error; check again later or use wait_for_report. A report from another organization returns not-found. If diagnosis.allAlerts contains fines_unverified, points and fines were NOT verified — never report them as zero or as "no fines"; the verdict (diagnosis.status) still holds. When holderConsent.status is required, the holder must authorize the lookup of the data in holderConsent.covers (points, fines) for the state in holderConsent.stateCode: offer request_holder_consent.

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": {
      "reportId": "<reportId>"
    },
    "name": "get_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
reportIdYesThe reportId returned by request_report.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, so the safe-read profile is covered and the description avoids repeating it; what it adds instead is state semantics (PROCESSING with null diagnosis is normal, not an error) and data-quality caveats (fines_unverified means points/fines were NOT verified). Those exceed annotation coverage but no gap justifies this score.

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 core action is front-loaded in the first clause and every following sentence carries a distinct operational fact (state handling, tenancy, alert caveat, consent path). It is dense and semicolon-heavy, so it reads as packed rather than effortless, but nothing is filler.

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

Completeness2/5

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

With one parameter and full schema coverage, the tool is simple, and the description explains return-field paths (diagnosis.allAlerts, holderConsent.status, holderConsent.covers, stateCode) despite there being no output schema, which is genuinely useful. Nothing needed to call it correctly appears missing.

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 reportId parameter is already documented as "returned by request_report", so the baseline is 3; the description adds real meaning by scoping the id to the authenticated organization and warning that another organization's report reads as not-found. It does not add format or syntax detail beyond that, so it stops short of 5.

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?

"Fetch a CNH report by id for the authenticated organization" gives a specific verb, resource, lookup key, and tenancy scope, which separates it from siblings like find_report_by_external_ref that key on a different identifier.

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?

It explicitly routes two non-obvious branches to alternatives: PROCESSING status → "check again later or use wait_for_report", and holderConsent.status required → "offer request_holder_consent". It also states that a cross-organization report returns not-found, which is an explicit exclusion condition.

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