Skip to main content
Glama

InvoiceParser Pro

Mark invoices as distinct

dismiss_duplicate_group
DestructiveIdempotent

Apply only the exact change returned by preview_dismiss_duplicate_group, after the user confirms that preview. Accepts its confirmation_token only; changed or expired records require a new preview. Prepare marking the selected invoices as distinct rather than duplicates. Requires confirmation; invoices are retained.

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

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false, so the safety profile is covered. The description adds genuinely new context: a confirmation token is mandatory, the token is single-use against a specific previewed state, and the invoices themselves are retained rather than deleted — which meaningfully softens what 'destructive' means here.

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 critical constraint — apply only the previewed change, only on confirmation — is front-loaded, and every sentence contributes. There is minor redundancy between 'after the user confirms that preview' and the later 'Requires confirmation'.

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?

A single-parameter mutation with no output schema needs prerequisites, token lifecycle, and effect disclosure; all three are present, including post-action state (invoices retained). Only the awkward 'Prepare marking' wording and absence of any success/failure signal leave a small 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?

With one parameter at 0% stated schema coverage, the description carries the burden and does: it explains that confirmation_token is the only accepted input and that it must be the exact token from this operation's preview after user confirmation. The lifecycle rule (expired/changed → new preview) adds semantics the schema cannot express.

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 a concrete effect — marking selected invoices as distinct rather than duplicates — which maps cleanly onto dismiss_duplicate_group and separates it from restore_duplicate_relationships and the preview sibling. The phrase 'Prepare marking...' is a bit muddled (it reads like preview language rather than an applied write), which keeps it 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 explicitly that this tool applies only the exact change from preview_dismiss_duplicate_group, only after user confirmation, and that changed or expired records require a fresh preview. The alternative (call preview first) and the exclusion conditions are both spelled out.

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