Skip to main content
Glama

InvoiceParser Pro

Preview: Record invoice exchange rates

preview_set_invoice_settlement
Read-onlyIdempotent

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. This returns an exact preview and a five-minute confirmation token; it does not apply the change.

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

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond readOnlyHint/idempotentHint, the description discloses the non-obvious destructiveness of the eventual change ('Omitted optional fields are cleared'), reassures that original invoice amounts remain unchanged, states no payment is initiated, and explains the token's five-minute expiry. These are exactly the behavioral traits structured fields cannot convey.

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?

Four dense sentences, each contributing new information, with the 'does not apply the change' caveat front-loaded via a negative also appearing early. The opening clause 'Prepare replacing the observed...' is slightly awkward but not wasteful.

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 single-parameter preview tool with annotations covering the safety profile and no output schema, the description supplies the workflow (confirmation token), side effects of omission, and the no-application guarantee. Only failure conditions and what the preview body contains are left unstated, which the confirmation-token framing covers adequately.

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 description coverage is 0%, so the description carries the burden; it names the rate fields and the optional date/note and, importantly, explains that omitting them clears existing values. However, invoice_id and base_currency semantics (currency pairing, UUID requirement) are never addressed, leaving key parameter meaning unstated.

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 states a specific action (prepare a preview of replacing billing/settlement rates plus optional date/note on an invoice) and explicitly notes it does not apply the change, which effectively separates it from the mutating sibling set_invoice_settlement. It never names that sibling outright, so the differentiation is implied rather than explicit.

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?

'Requires confirmation' plus returning a five-minute confirmation token makes the intended workflow (preview first, then confirm) clear. It lacks an explicit 'use this instead of set_invoice_settlement when...' statement, but the context is unambiguous.

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