Skip to main content
Glama

InvoiceParser Pro

Preview: Delete an automation rule

preview_delete_automation_rule
Read-onlyIdempotent

Prepare permanently removing an exact automation configuration rule. Already processed invoice records remain. Requires approval-scope confirmation. This returns an exact preview and a five-minute confirmation token; it does not apply the change.

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

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description is consistent with that ('does not apply the change'). It adds real behavioral value beyond annotations: a five-minute token lifetime, an approval-scope requirement, and the side-effect note that already-processed invoice records remain. It does not describe what the preview payload contains.

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?

Three tight sentences, front-loaded with the action and its consequence, then the requirements and the non-application caveat. No filler, though the middle sentences could be ordered slightly better for scanning.

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-parameter, no-output-schema preview tool whose annotations already cover the safety profile, the description covers consequence, approval requirement, token lifetime, and non-mutation. The remaining gap is what the returned preview actually shows and how the token is supplied, but that is minor.

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?

Only one parameter (input.rule_id) with 0% schema description coverage, so the description must compensate and only partially does. 'Exact automation configuration rule' signals the argument is a specific rule identifier, but it omits the UUID format and where to obtain a rule_id (e.g., list_automation_rules), which the schema does not supply.

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?

States a specific verb and resource ('prepare permanently removing an exact automation configuration rule') and immediately clarifies it 'does not apply the change', which separates it from delete_automation_rule. The word 'exact' hints at a specific rule identity but the description never names the sibling delete tool explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies a preview-then-confirm workflow by mentioning the five-minute confirmation token and 'requires approval-scope confirmation', which tells the agent this is a pre-flight step. It never explicitly says 'use this before delete_automation_rule' or names an alternative, so the routing guidance is inferred rather than stated.

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