Skip to main content
Glama

business_receipt

Read-onlyIdempotent

Receipt maker

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": {
      "merchant": "<merchant>",
      "lines": "<lines>"
    },
    "name": "business_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate; a date as YYYY-MM-DD, for example 2026-10-17.
linesYesReceipt lines as [{name, qty, unitPrice}].
taxPctNoTax rate in percent, for example: 8.25 for 8.25%.
merchantYesMerchant name, for example: Corner Market.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / date / description
      Added value: +"Date; a date as YYYY-MM-DD, for example 2026-10-17."
    • addedInput schema / properties / lines / description
      Added value: +"Receipt lines as [{name, qty, unitPrice}]."
    • removedInput schema / properties / lines / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / lines / items / properties / name / description
      Added value: +"A name or label, for example: Jane Smith."
    • addedInput schema / properties / lines / items / properties / qty / description
      Added value: +"Quantity as a whole number, for example: 2."
    • addedInput schema / properties / lines / items / properties / unitPrice / description
      Added value: +"Price of one unit as a plain number, for example: 12.5."
    • addedInput schema / properties / merchant / description
      Added value: +"Merchant name, for example: Corner Market."
    • addedInput schema / properties / taxPct / description
      Added value: +"Tax rate in percent, for example: 8.25 for 8.25%."
  2. Changed3 schema fields changed
    • addedInput schema / properties / lines / minItems
      Added value: +1
    • addedInput schema / properties / merchant / minLength
      Added value: +1
    • addedInput schema / properties / taxPct / minimum
      Added value: +0
  3. First observed

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered without the description. However, the word "maker" hints at producing an artifact while annotations say read-only, and the description does nothing to clarify whether output is a generated file, a rendered document, or a computed result. It adds no context beyond the structured fields.

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

Conciseness2/5

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

The text is only two words, so there is no wasted language, but this is under-specification rather than conciseness. Nothing is front-loaded because there is nothing substantive to front-load.

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

Completeness1/5

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

For a four-parameter generator with no output schema, the description should at minimum say what the tool returns and whether anything is persisted. It says neither, leaving the agent unable to predict the result of the call from the definition itself.

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

Parameters3/5

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

Schema description coverage is 100%, with merchant, date, taxPct and each line field documented with types and examples, so the schema carries the parameter semantics entirely. The description contributes nothing to explain required vs optional fields (merchant and lines required; date and taxPct optional) or how taxPct is applied, which is the baseline-3 situation for a fully documented schema.

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

Purpose2/5

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

"Receipt maker" merely restates the tool name/title in different words, with no verb describing the action and no statement of scope. An agent cannot tell from this text whether it generates a document, formats data, or returns structured JSON, nor how it differs from siblings like business_donation_receipt or business_bill_of_sale_draft.

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?

The description contains no when-to-use guidance, no prerequisites, and no exclusions or alternative tools. Nothing tells the agent when to pick this over business_donation_receipt or the other receipt/invoice siblings.

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