Skip to main content
Glama

TradePilot Agent Commerce

Receipt field extraction from text

tradepilot_service_receipt_text_extraction
Destructive

Extract merchant, date, line items, tax, total, and currency from supplied receipt text; do not infer absent amounts. Uses buyer-supplied information only; no external research or outbound actions. Returns a draft for human review. Price: 0.25 USD. Payment requires explicit wallet authorization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYes
result_expiresNo
idempotency_keyNo
result_signatureNo
payment_signatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, the description discloses concrete behavioral traits: no external research or outbound actions, no inference of absent amounts, returns a draft for human review, charges 0.25 USD, and requires explicit wallet authorization. These are exactly the kind of side-effect and auth details that annotations alone do not provide.

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

Conciseness5/5

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

The description is compact and front-loaded. The first sentence states the action and scope, then each subsequent sentence adds a distinct, important constraint: no inference, no external research, draft output, price, and authentication. There is no filler or repetition.

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

Completeness3/5

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

The operational context is well covered: what is extracted, what is not inferred, the no-outbound guarantee, the human-review nature, pricing, and wallet authorization. However, with no output schema and unexplained parameters, the description does not fully equip an agent to construct a correct, fully-specified call.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for the 5 parameters. It maps 'receipt text' to the input/source_text concept and generalizes payment authorization, but it never explains `brief`, `audience`, `result_expires`, `idempotency_key`, `result_signature`, or `payment_signature`. The agent is left without enough parameter guidance for a zero-coverage schema.

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?

The description uses a specific verb and resource: 'Extract merchant, date, line items, tax, total, and currency from supplied receipt text.' It also clarifies the boundary with 'do not infer absent amounts,' which makes the scope precise and distinguishes it from more open-ended extraction-like siblings.

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

Usage Guidelines4/5

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

The description gives clear context: use this when receipt text is supplied and structured fields are needed. It also states 'Uses buyer-supplied information only; no external research or outbound actions,' which helps an agent decide it needs no additional research. It does not explicitly name alternatives, so it misses the top-tier 'when not to use' guidance.

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