Skip to main content
Glama

InvoiceParser Pro

Record invoice exchange rates

set_invoice_settlement
DestructiveIdempotent

Apply only the exact change returned by preview_set_invoice_settlement, after the user confirms that preview. Accepts its confirmation_token only; changed or expired records require a new preview. Prepare replacing the observed billing/settlement rates and optional date/note. Omitted optional fields are cleared; original invoice amounts remain. No payment is initiated. Requires confirmation.

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": {
      "input": "<input>"
    },
    "name": "set_invoice_settlement"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the destructive/idempotent annotations, it discloses concrete consequences: omitted optional fields are cleared, original invoice amounts remain untouched, and no payment is initiated. It also states the token-invalidation behavior, which is exactly what an agent needs before committing a destructive change.

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 the gating requirement, and each subsequent sentence adds a distinct fact (token constraint, field-clearing behavior, no payment, confirmation requirement). Slightly dense phrasing ('Prepare replacing the observed billing/settlement rates...') costs a bit of readability.

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?

With no output schema, the description still covers preconditions, side effects, and what is preserved, which is what matters for a destructive commit tool. It does not indicate what the caller receives back or how to verify the applied rates, a minor remaining gap.

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?

Only one parameter, and the description reinforces the token's provenance ('exact change returned by ... preview') and its expiry semantics, adding value beyond the schema. It does not restate the token's length/format constraints, but those are already in the schema.

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 ('Apply only the exact change returned by preview_set_invoice_settlement'), and the title clarifies it is recording invoice exchange/settlement rates. It explicitly distinguishes itself from the sibling preview tool by being the commit step that consumes the preview's output.

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 an explicit precondition (only after the user confirms the preview), an explicit input constraint ('Accepts its confirmation_token only'), and an explicit exclusion (changed or expired records require a new preview). An agent cannot confuse this with the preview or with clear_invoice_settlement.

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