Skip to main content
Glama

Moneda

confirm_receipt_suggestion

Accept the matcher's suggested transaction for a receipt, promoting the soft suggestion to a real attachment. Suggestions exist when the match score was too low to attach automatically — read suggestedTransactionId / suggestedMatchScore from get_receipt and check the suggestion with the user before confirming.

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": {
      "receiptId": "<receiptId>"
    },
    "name": "confirm_receipt_suggestion"
  }
}

Input Schema

NameRequiredDescriptionDefault
receiptIdYesReceipt id carrying the suggestion (from get_receipt).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only say this is a non-read, non-destructive mutation; the description adds the meaningful context that this irreversibly converts a soft suggestion into a real attachment and requires user confirmation beforehand. It does not mention reversibility (e.g. detaching afterwards) or error behavior when no suggestion is pending.

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, front-loaded with the action and followed by the prerequisite workflow. No filler, no restatement of the tool name.

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 mutation with no output schema, the description covers the precondition, the data source and the confirmation requirement. A bit more on post-confirmation state or the failure case would make it fully self-sufficient.

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 coverage is 100% for the single `receiptId` parameter, so the baseline is 3, but the description adds real value by directing the agent to obtain the id from get_receipt along with the suggestion fields, tying the parameter to the correct precondition.

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?

States a specific verb (accept/confirm) and resource (the matcher's suggested transaction for a receipt), and clarifies the mechanism: promoting a soft suggestion to a real attachment. That mechanism distinguishes it clearly from sibling attach_receipt and from reject_receipt_suggestion.

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 the precondition for use (suggestions exist only when the match score was too low to attach automatically) and the exact data to read first (`suggestedTransactionId` / `suggestedMatchScore` from get_receipt), plus a human-in-the-loop step. It does not name reject_receipt_suggestion as the alternative path or state what happens if no suggestion exists, so it falls short of a full 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