Skip to main content
Glama

InvoiceParser Pro

Update client defaults

update_client_defaults
DestructiveIdempotent

Apply only the exact change returned by preview_update_client_defaults, after the user confirms that preview. Accepts its confirmation_token only; changed or expired records require a new preview. Prepare setting or clearing a client's currency and posting-account default. Posting accounts must belong to this workspace's current chart. Requires confirmation.

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

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the mutation profile is known; the description adds genuinely new context: the confirmation-token lifecycle (single token, expires, invalidated by record changes) and a data validation rule that posting accounts must belong to the workspace's current chart. It stops short of describing the outcome of a successful apply or what clearing looks like, so not a 5.

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 after confirmation) is front-loaded in the first sentence, and each following sentence adds a distinct rule. Minor waste: the trailing 'Requires confirmation.' restates the first sentence, and 'Prepare setting or clearing...' is awkwardly worded for what is a write operation.

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, token-gated mutation with no output schema, the description covers the token lifecycle, the confirmation gate, and the chart-of-accounts validation - enough for an agent to call it safely. It omits what a successful call returns or how a cleared default is represented, which would matter for chaining.

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?

Only one parameter with reported 0% schema coverage, but the description compensates well: it says the tool accepts the confirmation_token only and pins the token's provenance to preview_update_client_defaults plus its expiry behavior. That is meaning the bare string type would not convey, though it does not restate the 20-262144 length bounds or the nested 'input' wrapper.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (apply) on a specific resource (a client's currency and posting-account default), and immediately names the sibling it is paired with, preview_update_client_defaults. An agent can distinguish it from the many other update_* tools in the sibling list without opening any schema.

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?

Explicit prerequisites: the call must follow a preview and a user confirmation of that preview, and the token must be the exact one returned. It also states the failure path - changed or expired records require a new preview - which routes the agent back to the correct alternative tool.

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