Skip to main content
Glama

Receipt Check

Reconcile daily net tender totals

reconcile_tender_totals
Read-onlyIdempotent

Compare one business day’s CNY POS net total with net totals per payment method. Supply aggregate amounts only, with two decimals and an optional sign. Combine unlisted methods in other. Difference = tender total minus POS total. Both inputs must already include refunds. Do not subtract refunds again.

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": {
      "pos_net_cny": "<pos_net_cny>",
      "tender_net_cny": "<tender_net_cny>"
    },
    "name": "reconcile_tender_totals"
  }
}

Input Schema

NameRequiredDescriptionDefault
pos_net_cnyYes
tender_net_cnyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. Beyond that, the description defines the computed semantics ('Difference = tender total minus POS total') and the refund-inclusion contract, which the agent could not infer from annotations. It does not say what happens when the totals disagree (error vs. flagged result) or what the response contains, which is a gap given there is no output schema.

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?

Five short sentences, front-loaded with the core comparison before format and refund rules. Nothing is padding, though the telegraphic style ('Supply aggregate amounts only') is slightly clipped where a few more words would remove ambiguity.

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?

For a read-only, two-parameter calculation the input side is well specified, including the refund rule and sign convention that an agent would otherwise easily get wrong. However, with no output schema the description never explains what comes back (per-method variances vs. a single difference, rounding tolerance, mismatch signalling), leaving the result contract undefined.

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 carry the load, and it largely does: it names the two inputs' meaning (POS net total; net totals keyed by payment method), specifies format ('two decimals and an optional sign'), and explains the 'other' bucket for unlisted methods. The six nested method keys are only implied by 'per payment method' rather than enumerated, leaving a small interpretive step.

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 opens with a concrete verb+resource: 'Compare one business day's CNY POS net total with net totals per payment method.' That is specific enough that an agent can identify the operation without opening the schema, and the resource (POS-vs-tender reconciliation) is clearly distinct from the only sibling, check_receipt_columns. It stops short of a 5 because it never explicitly positions itself against any alternative.

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?

It gives real operating constraints: supply aggregates only, combine unlisted methods into 'other', and both inputs must already include refunds ('Do not subtract refunds again'). That last clause is an explicit when-not instruction that prevents a common double-counting error. It lacks any statement of when this tool is the right choice versus other reconciliation paths, but no meaningful alternative exists among the siblings.

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