Skip to main content
Glama

InvoiceParser Pro

Correct invoice fields

edit_invoice_fields
DestructiveIdempotent

Apply only the exact change returned by preview_edit_invoice_fields, after the user confirms that preview. Accepts its confirmation_token only; changed or expired records require a new preview. Prepare a bounded change to saved invoice header fields. Requires confirmation; financial edits may reset approval. Unknown fields and invalid currencies are refused.

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

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses side effects the schema cannot: financial edits may reset approval, the token is single-use against the previewed state, and unknown fields or invalid currencies are refused. These are exactly the behavioral facts an agent needs before a destructive write.

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 with no filler, and the refusal and reset-approval warnings are useful. The core purpose sentence sits third rather than first, which slightly hurts front-loading.

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 destructive, confirmation-gated mutation with annotations covering safety, the description covers the preview handshake, token expiry, side effects, and rejected inputs. The only gap is that it never hints what a successful call returns, though no output schema exists to lean on.

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 reported as 0%, so the description must carry the parameter meaning; it does, stating that only the confirmation_token from the matching preview is accepted and that stale tokens fail. It does not add format or length detail, but the operation is single-parameter and the semantic constraint is the important part.

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 names the specific resource (saved invoice header fields) and the exact operation (apply the change produced by preview_edit_invoice_fields), which clearly separates it from the sibling preview tool. The phrasing 'Prepare a bounded change' is slightly at odds with an apply operation and is buried after the token rules, keeping it just short of a 5.

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?

It states the prerequisite explicitly ('only the exact change returned by preview_edit_invoice_fields, after the user confirms that preview') and the invalidation condition ('changed or expired records require a new preview'). An agent knows both when to call it and when not to.

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