Skip to main content
Glama

InvoiceParser Pro

Preview: Initialize editable invoice review

preview_initialize_invoice_review
Read-onlyIdempotent

Prepare creating saved review metadata and durable editable line IDs from unchanged printed source values. Read tools never initialize records. Requires confirmation before the first saved-line edit. 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_initialize_invoice_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so the safety profile is covered. The description adds real value beyond that: it returns an exact preview plus a five-minute confirmation token, it does not apply the change, and confirmation is required before the first saved-line edit. The only gap is what the token is used for downstream.

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 the purpose front-loaded and the preview/non-mutating guarantee stated last. Minor waste in 'Read tools never initialize records', which is somewhat redundant with the readOnlyHint and phrased ambiguously, but overall tight.

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 one-parameter preview tool with no output schema, the description covers what is produced (exact preview, five-minute token) and the confirmation constraint. What remains unclear is how the token is consumed in the subsequent edit call, which an agent would need to chain the workflow.

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?

There is a single parameter, input.invoice_id, with 0% schema description coverage, and the description says nothing about it. The parameter is largely self-explanatory from its name and uuid format, so the omission is minor, but the description adds no meaning beyond the schema.

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 verb+resource: it prepares/initializes saved review metadata and durable editable line IDs from printed source values, and it is explicitly a preview that does not apply the change. An agent can distinguish it from the write tool initialize_invoice_review via 'does not apply the change'. However, it never names the sibling it pairs with, leaving the pairing implicit.

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?

Usage is implied rather than stated: 'Requires confirmation before the first saved-line edit' and the five-minute token hint that this is a prerequisite step, and 'Read tools never initialize records' nudges toward a write path. But the description never says explicitly when to call this versus initialize_invoice_review or versus the other preview_* line-item tools, so the agent must infer the workflow ordering.

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