Skip to main content
Glama

InvoiceParser Pro

Initialize editable invoice review

initialize_invoice_review
Idempotent

Apply only the exact change returned by preview_initialize_invoice_review, after the user confirms that preview. Accepts its confirmation_token only; changed or expired records require a new preview. 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.

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

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover mutation, idempotency, and non-destructiveness. The description adds meaningful behavioral context: the tool accepts only the preview token, that token validity is tied to unchanged records, and user confirmation is required before the first saved-line edit. It does not explain what is returned or persisted after success.

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?

The action and preview dependency are front-loaded, and each sentence contributes a constraint or disambiguation. The sentence beginning 'Prepare creating saved review metadata' is jargon-heavy and slightly redundant with the title.

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

Completeness3/5

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

For a creation tool with no output schema, the description omits what the call returns (e.g., review identifier or line IDs) that an agent would need for follow-up edits. The confirmation workflow and safety traits are well covered, but the post-success contract is not.

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 weight. It does explain that only the confirmation_token is accepted and that it comes from the corresponding preview, which compensates for much of the schema gap, though it does not elaborate on token format or single-use semantics.

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 (apply the previewed change to initialize an editable review) and effect (create saved review metadata and durable editable line IDs from unchanged printed source values). It distinguishes itself from the preview sibling and from read tools, though the phrase 'Prepare creating' is slightly awkward and blurs whether creation happens now or later.

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 explicitly routes the agent: use only after preview_initialize_invoice_review and only with its confirmation_token, plus a clear exclusion that read tools never initialize records. It also states that changed or expired records require a new preview, which is a concrete when-not condition.

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