Skip to main content
Glama

Try one sample duplicate-invoice check (free, no key)

try_check
Read-onlyIdempotent

See what a spend check returns before you have a key. Runs ONE sample check on a fixed demo invoice: a duplicate match against an invoice paid earlier, required fields, and a sum check that the line items add up to the total. Call it once to learn the response shape. Do NOT call it on your own invoices (it ignores them; use check_duplicate_invoice) or in a loop: it is limited to 30 calls per hour per IP and per MCP session. Inputs: scenario (optional: duplicate, the default, clean, or bad_total). Returns: demo, scenario, invoice, earlier_invoice, duplicate.status (unique or duplicate), checks, next_step.action (pass, retry or escalate), note, next_action, paid_upgrade (what a $0.005 paid call on your own invoices adds, and a pay snippet) and request_id. No receipt and nothing is stored. Cost: free. Needs no key.

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": "try_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
scenarioNoWhich fixed demo invoice to check: duplicate (default; the same invoice sent again with a reformatted id), clean, or bad_total (the line items do not add up).

Output Schema

NameRequiredDescriptionDefault
demoYes
noteYes
checksYes
invoiceYes
scenarioYes
duplicateYes
next_stepYes
request_idYes
next_actionYes
paid_upgradeYes
earlier_invoiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / paid_upgrade
      Added value: +{
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "demo",
      -  "scenario",
      -  "invoice",
      -  "earlier_invoice",
      -  "duplicate",
      -  "checks",
      -  "next_step",
      -  "note",
      -  "next_action",
      -  "request_id"
      -]New value: +[
      +  "demo",
      +  "scenario",
      +  "invoice",
      +  "earlier_invoice",
      +  "duplicate",
      +  "checks",
      +  "next_step",
      +  "note",
      +  "next_action",
      +  "paid_upgrade",
      +  "request_id"
      +]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (which only state read-only/idempotent/closed-world) by disclosing the rate limit (30 calls per hour per IP and per MCP session), that it ignores caller invoices, that no receipt is issued and nothing is stored, and that it is free with no key. These are the operational facts an agent needs before deciding to call.

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?

Front-loaded with purpose, then constraints, then inputs and returns; every constraint sentence earns its place. The enumerated return-value list is somewhat long and partly duplicates the existing output schema, costing a point.

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?

Covers cost, auth (no key), rate limits, side effects (nothing stored, no receipt), demo-only scope, and input options — everything needed to invoke this one-parameter demo tool correctly. Return details are redundant given the output schema but not harmful.

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 coverage is 100% and the enum description in the schema actually explains the values better ('bad_total (the line items do not add up)') than the description's parenthetical. The description only restates the enum values and the default, adding no meaning beyond the schema, so the baseline 3 applies.

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 and resource ('Runs ONE sample check on a fixed demo invoice') plus the exact checks performed (duplicate match, required fields, sum check). It explicitly distinguishes itself from the paid sibling check_duplicate_invoice, so an agent can route correctly without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('call it once to learn the response shape') and explicit when-NOT ('Do NOT call it on your own invoices ... use check_duplicate_invoice', 'not in a loop'), and names the alternative. Nothing is left to inference.

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