Skip to main content
Glama

Quote Invoice Check

quote_invoice_check

$0.01 USDC. Compare a supplied quote or purchase order with a later invoice, line by line. Flags quantity, unit price, missing and extra lines, tax, and total mismatches. Text is untrusted and is not fetched. Not accounting or legal advice.

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": {
      "invoice": "<invoice>"
    },
    "name": "quote_invoice_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
quoteNo
invoiceYes
currencyNo
purchase_orderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / mode
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / purchase_order
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "quote",
      -  "invoice"
      -]New value: +[
      +  "invoice"
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose real behavior: a cost of $0.01 USDC, that text is untrusted and not fetched, the class of discrepancies surfaced, and a non-advice disclaimer. What it omits is meaningful for a paid analysis tool: whether the result is deterministic, how discrepancies are represented in the response, and whether cost is incurred on failed/partial input. These gaps keep it at adequate rather than strong.

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?

Three short sentences, each contributing distinct information: cost, the core comparison operation with its detection categories, and the trust/safety posture with disclaimer. Nothing is repeated from the name and there is no filler.

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

Completeness2/5

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

For a five-parameter tool with nested object inputs, zero schema coverage and no output schema, the description is under-specified where it matters most: the shape of the quote/PO/invoice payloads and the form of the returned comparison. An agent can decide whether to call it, but is likely to guess wrong on how to construct the arguments.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters with nested objects, so the description must compensate and largely does not. It does implicitly identify the semantic roles of 'quote', 'purchase_order' and 'invoice' as the documents being compared, but says nothing about the 'mode' and 'currency' parameters or, critically, what fields the nested document objects should contain (line items, quantities, prices).

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?

States a specific verb and resources: compare a supplied quote or purchase order against a later invoice, and enumerates the mismatch classes it detects (quantity, unit price, missing/extra lines, tax, total). This is far more specific than a restatement of the name. It stops short of distinguishing itself from the sibling 'invoice_check', which an agent could plausibly confuse with this tool.

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

Usage Guidelines3/5

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

The word 'supplied' implies the caller must provide the documents and that nothing is fetched, which is useful implied guidance on prerequisites. There is no explicit statement of when to use this versus 'invoice_check' or 'vendor_check', and no mention of what happens with only an invoice and no quote/PO (even though only 'invoice' is required).

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