Skip to main content
Glama

match_receipts

Pairs receipt photos with imported card charges to avoid duplicate counting, letting you preview matches with dry_run true and apply them after approval.

Instructions

Pair receipt photos with imported card charges so nothing is counted twice. Preview with dry_run true; apply with false after the rep agrees.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "match_receipts"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden. It usefully discloses that this is a mutating tool gated by a preview mode and that double-counting is the risk it guards against, but it says nothing about reversibility, what happens to unmatched receipts, required permissions, or what the result contains.

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?

Two sentences, no waste, and the ordering is correct: purpose first, then the preview/apply protocol. Every clause carries information an agent needs.

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-boolean-parameter tool with no output schema, this covers the essentials: what it does and how to sequence the modes. The remaining gap is the outcome of a run (e.g., how many receipts were paired) and error/unmatched behavior, which matters for a reconciliation tool.

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 0%, so the description must explain the single parameter — and it does, mapping true to preview and false to apply. However, it never states the schema default is true, nor whether false is required for the pairing to take effect, leaving the default/apply relationship to inference.

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?

Uses a specific verb ('pair') with two named resources ('receipt photos' and 'imported card charges') and states the business goal ('so nothing is counted twice'). This implicitly separates it from import-style siblings that bring charges in, but the description never names or contrasts 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 Guidelines4/5

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

Gives concrete mode guidance: preview with dry_run true, apply with false, and adds a real-world precondition ('after the rep agrees'). It stops short of saying when not to use this tool or which sibling handles the adjacent case.

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