Skip to main content
Glama

Get an X or Z report

get_report
Read-onlyIdempotent

Retrieve an X- or Z-report by UUID as structured JSON or printable text to review payment totals, tax rates, and cash balance.

Instructions

Returns one X- or Z-report. format "json": the full record with totals per payment form and per tax rate, receipt counts, rounding and cash balance. format "text": the report exactly as it is printed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNo"json" (default) returns the structured object; "text" returns the printable plain-text form.
report_idYesReport id (UUID).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered. The description goes beyond them by disclosing exactly what the json payload contains (totals per payment form and tax rate, receipt counts, rounding, cash balance) and that text mode is the printed form — genuinely useful for a tool with no output schema.

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?

Two compact sentences, front-loaded with the tool's scope and followed by the format semantics. The internal field enumeration is dense but each item is informative; little wasted text.

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

Completeness4/5

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

With no output schema and full schema coverage, the description supplies the missing return-value context precisely. It omits only edge behavior (e.g., unknown/closed report ids), which is a minor gap for a read-only lookup.

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 enum descriptions already document the format parameter, so the baseline is 3. The description earns above baseline by spelling out the payload each format returns, giving the agent a reason to choose json vs text beyond the schema's bare wording.

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?

States a specific verb and resource ('Returns one X- or Z-report') and is distinguishable from list_reports and get_periodical_report by its singular, id-based retrieval scope. It does not explicitly contrast itself with those siblings, which keeps it short of a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to prefer this over list_reports or get_periodical_report, nor any prerequisite or precondition. Usage is only implied by the required report_id.

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