Skip to main content
Glama

InvoiceParser Pro

Save a vendor posting rule

save_vendor_rule
DestructiveIdempotent

Apply only the exact change returned by preview_save_vendor_rule, after the user confirms that preview. Accepts its confirmation_token only; changed or expired records require a new preview. Prepare creating/replacing a manual vendor rule with authoritative names/codes from this workspace's cached 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": "save_vendor_rule"
  }
}

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 and idempotentHint=true, so the description's contribution is the workflow guarantee: only the exact previewed change is applied and only a user-confirmed token is accepted. It adds real context beyond the safety flags, though it doesn't say what the underlying rule edit does to existing rules (replace vs. merge) beyond 'creating/replacing'.

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 hard constraint is front-loaded in the first sentence and there is no filler across four sentences. The wording is dense to the point of awkwardness ('Prepare creating/replacing...'), which costs a point on readability.

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 single-token commit tool with destructive annotations and no output schema, the description covers the prerequisite chain, the token contract, and staleness handling. The only gap is what the saved rule contains or what is returned, which is reasonable given the workspace-agnostic rule definition is supplied by the preview.

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 coverage is reported at 0%, so the description must carry the parameter meaning, and it does: the sole input is the confirmation_token from the corresponding preview, with added lifetime semantics ('changed or expired records require a new preview'). It stops short of describing the token's format or length bounds, which live only in 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?

It names a specific operation (save a manual vendor posting rule) and explicitly ties it to its preview sibling, preview_save_vendor_rule, so the agent can distinguish the commit step from the preview step. The phrase 'Prepare creating/replacing a manual vendor rule' is slightly hedged, which keeps it short of a crisp 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 the precondition directly ('Apply only the exact change returned by preview_save_vendor_rule, after the user confirms that preview') and names the failure path ('changed or expired records require a new preview'). An agent knows exactly when this is callable and what to do when it is not.

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