Skip to main content
Glama

InvoiceParser Pro

Rename a client

rename_client
DestructiveIdempotent

Apply only the exact change returned by preview_rename_client, after the user confirms that preview. Accepts its confirmation_token only; changed or expired records require a new preview. Prepare a name-only client change while preserving its stable identity, invoices, portal routing and accounting data. Requires confirmation and the current name.

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

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare mutation, destructiveness, idempotency and closed-world scope, so the description focuses on what annotations cannot express: that the write is token-bound to a specific preview, that it becomes invalid if records change or the token expires, and that identity, invoices, portal routing and accounting data are preserved. The one defect is the closing 'Requires confirmation and the current name', which implies a name input the schema does not have.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, but two do not earn their place: the 'Prepare a name-only client change...' sentence belongs to preview_rename_client, and 'Requires confirmation and the current name' restates the token requirement while introducing a phantom parameter. Front-loading of the apply action is good; the leftover preview copy should have been cut.

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 two-step mutation, the description covers the full contract an agent needs: which tool produces the token, when the token is valid, and what the operation leaves untouched. With no output schema and full annotation coverage, the remaining gap is only the misleading 'current name' reference rather than any missing behavior.

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?

The description correctly says the tool 'Accepts its confirmation_token only', which is genuinely useful provenance for the single parameter. But the final clause ('and the current name') contradicts the one-parameter schema and could lead an agent to look for a name argument that does not exist, so the added meaning is partly offset by a real inaccuracy.

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 opening sentence names a specific action tied to a specific sibling: apply the exact change from preview_rename_client after user confirmation. However, the third sentence ('Prepare a name-only client change...') actually describes the preview step, which blurs the boundary the first sentence establishes. An agent can still identify this as the commit tool, but the mixed framing costs it a point.

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?

Explicitly names the alternative (preview_rename_client), the precondition (user has confirmed the preview), and the staleness rule ('changed or expired records require a new preview'). It also states that the token from that preview is the only accepted input, leaving nothing about invocation order to inference.

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