Skip to main content
Glama

Get Report

get_report
Read-onlyIdempotent

A detailed report over a date range. name = income | revenue-by-act | average-booking | appearances | conversion | repeat | mileage | business-history. from/to = YYYY-MM-DD (default this year). mileage = one-way + round-trip driving miles from the home base to each gig (tax mileage); distances are cached per date, lookups caps fresh Google lookups per call (default 50) and rows with status=pending fill on the next call. business-history = the whole life of the business, one row per year (ignores from/to): performed that year by gig date (total fees, bookings, gigs, averages, year-over-year change), booked that year by booking date, booking balance (booked − performed) and the running 'on the books' total; status is complete | so_far (the current year) | booked_ahead (future years with gigs). Lost bookings are left out unless include_lost=true.

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

Input Schema

NameRequiredDescriptionDefault
toNoThe recipient — an email address or phone number, per the tool.
fromNoThe sender — an email address or phone number, per the tool.
nameYesA name (person or company, depending on the tool).
lookupsNo
include_lostNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / from / description
      Added value: +"The sender — an email address or phone number, per the tool."
    • addedInput schema / properties / name / description
      Added value: +"A name (person or company, depending on the tool)."
    • addedInput schema / properties / to / description
      Added value: +"The recipient — an email address or phone number, per the tool."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, and the description adds genuinely new operational facts on top: distances cached per date, a per-call cap of 50 fresh Google lookups, and pending rows filling on the next call. It also explains that `business-history` ignores from/to and that lost bookings are silently omitted — real side effects worth knowing. It does not describe the row shape for most report types, which keeps it off a 5.

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?

It is dense but front-loaded: the report-type list and date format come first, with the specialized `mileage` and `business-history` notes following. The semicolon-chained single paragraph is efficient in word count but harder to scan than a short bulleted breakdown would be.

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?

For a five-parameter reporting tool with no output schema, the description covers every parameter and explains the two non-obvious report modes in real depth, including the year-status vocabulary for `business-history`. The remaining gap is return shape for the non-`business-history` report types, which the agent must discover by calling.

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

Parameters5/5

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

Schema coverage is only 60% and the schema's own descriptions for `to`/`from`/`name` are generic boilerplate ('the recipient', 'the sender', 'a name') that is actively wrong for this tool. The description repairs this by redefining `from`/`to` as YYYY-MM-DD dates with a default, spelling out the full `name` enum, and explaining `lookups` and `include_lost` — semantics the schema does not supply.

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 first sentence names the resource (a report) and its scoping (a date range), then immediately enumerates the seven concrete report types available via `name`, so an agent knows exactly what it can retrieve. It stops short of distinguishing this tool from the many other `get_*` siblings, which is the only thing keeping it from 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 Guidelines3/5

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

Usage is implied rather than stated: the agent learns the default range (this year), that `business-history` ignores from/to, and that lost bookings require `include_lost=true`. There is no explicit 'use this when…' framing or routing to an alternative report tool, so the agent must infer selection from the type list.

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