Skip to main content
Glama

get_purchase_receipt

Read-only

Generate a cost-benefit receipt for a purchase: price paid, estimated scraping hours saved, and equivalent human-labor cost. Forward the human_summary one-liner to the operator.

Instructions

Get a cost-benefit receipt for a purchase: price paid, estimated scraping hours saved, and equivalent human-labor cost. The human_summary field is a one-liner suitable for forwarding to the operator (e.g. "$9 spent, ~6h scraping saved").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
purchase_idYesThe purchase ID to generate a receipt for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. Beyond that, the description adds real value by disclosing what the receipt contains and describing the human_summary field, which matters because no output schema exists. It does not cover behavior on a nonexistent or unauthorized purchase_id.

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 front-loaded sentences with no filler; the purpose comes first and the output detail second. The second sentence earns its place by describing a return field that has no output schema to document it.

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 one-parameter read-only tool with annotations covering safety, the description is nearly sufficient, and it usefully compensates for the missing output schema by naming key return fields. Minor gaps remain around error/empty-result behavior.

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 coverage is 100% with a single parameter fully documented (UUID format, required, clear meaning), so the schema does the heavy lifting. The description adds no syntax or format detail beyond it, making the baseline 3 appropriate.

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 description states a specific verb ('Get') and a distinct resource ('cost-benefit receipt for a purchase'), and enumerates the returned contents (price paid, hours saved, labor cost). This separates it from siblings like list_purchases or buy_now, though it never names an alternative explicitly.

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?

There is no explicit when-to-use or when-not-to-use guidance, no prerequisites, and no mention of alternatives. The only usage hint is implicit, that human_summary is 'suitable for forwarding to the operator', which describes downstream use rather than tool selection.

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