Skip to main content
Glama

Invoice and Receipt Matcher

invoice_receipt_matcher
Read-onlyIdempotent

Compare invoice and receipt text for matching document numbers and totals with a configurable amount tolerance. Use when an invoice and receipt must be compared for amount and identifier mismatches. Price: $0.20 per match.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoiceTextYes
receiptTextYes
amountToleranceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
scoreYes
matchedYes
limitationYes
differencesYes
invoiceTotalYes
receiptTotalYes
invoiceNumberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context beyond the annotations: it costs $0.20 per match and supports a configurable tolerance. No contradiction with annotations exists.

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 three concise sentences: what it does, when to use it, and its price. The core function is front-loaded and every sentence contributes essential information without fluff.

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

Completeness5/5

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

The description covers purpose, usage context, cost, and tolerances. Since an output schema exists, return values do not need to be explained, and annotations already cover side-effect safety. The definition is complete for agent selection and invocation.

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 description coverage is 0%, so the description must compensate. It explicitly maps all three parameters: 'invoice text' corresponds to invoiceText, 'receipt text' to receiptText, and 'configurable amount tolerance' to amountTolerance. This adds meaning that the bare schema does not provide.

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 states a specific verb ('Compare'), a specific resource ('invoice and receipt text'), and concrete match criteria ('document numbers and totals'). This clearly differentiates it from sibling tools like document_validator or semantic_web_diff, which serve different comparison or validation purposes.

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 explicitly says 'Use when an invoice and receipt must be compared for amount and identifier mismatches,' giving clear conditions for invocation. It does not name alternative tools or explicitly state when not to use it, so it stops just short of a 5.

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