Skip to main content
Glama

InvoiceParser Pro

Remove a vendor posting rule

delete_vendor_rule
DestructiveIdempotent

Apply only the exact change returned by preview_delete_vendor_rule, after the user confirms that preview. Accepts its confirmation_token only; changed or expired records require a new preview. Prepare removing a saved vendor-account rule. Requires accounting-setup permission and 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": "delete_vendor_rule"
  }
}

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 declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is known. The description adds non-obvious behavior beyond that: an accounting-setup permission requirement, one-shot token semantics, and invalidation on changed/expired records. It stops short of saying what the deletion affects or what the call returns, but the added context is substantive.

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?

The critical constraint is front-loaded, which is good, but the purpose statement ("Prepare removing a saved vendor-account rule") is placed third and merely restates the title while introducing the word "Prepare," which adds confusion rather than information. The sentence could be moved to the front and reworded without losing any content.

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, single-parameter confirmation tool with no output schema, the definition covers the permission gate, the preview dependency, and token invalidation — everything needed to invoke it safely. The remaining gap is that it never states what happens after a successful deletion (e.g., whether the rule disappears immediately or the call returns a result object).

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 has to carry the meaning of the single input argument. It does: "Accepts its confirmation_token only" ties the parameter to the preview, and the token's provenance and expiry rules are explained. What is missing is any length/format expectation, but the essential semantics are covered.

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 verb and resource (apply the removal of a saved vendor-account rule) and explicitly names the sibling preview_delete_vendor_rule it depends on, so it is distinguishable from the many other delete_* tools. However, the purpose sentence is buried mid-description and phrased as "Prepare removing," which is slightly ambiguous about whether this actually performs the deletion.

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 states when to use it (only after preview_delete_vendor_rule and after the user confirms the preview), what it accepts (the confirmation_token only), and what to do when the token is stale (changed or expired records require a new preview). This is a complete usage protocol with no inference required.

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