Skip to main content
Glama

InvoiceParser Pro

Preview: Create an automation rule

preview_create_automation_rule
Read-onlyIdempotent

Prepare an active rule for future matching invoices. Currency-bound money conditions and existing guards apply. External export/notification actions use IPP. 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_create_automation_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior5/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive operation, and the description adds substantial behavioral context beyond that: a five-minute confirmation token, exact preview output, approval-scope confirmation, currency-bound conditions, existing guards, and IPP for external export/notification actions. These details materially help an agent understand the tool's operational constraints without contradicting the annotations.

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 description is compact and front-loads the core purpose before covering constraints and return behavior. It is generally efficient, though the unexplained acronym 'IPP' and some terse constraint language slightly reduce clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex preview tool with no output schema, the description does well to state that it returns an exact preview and a five-minute confirmation token. However, it does not explain the nested input structure or the full shape of the preview, so it is only partially complete for an agent that needs to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage and a single nested input object with complex fields such as conditions, actions, priority, and discriminated action types. The description does not explain the input structure or the meaning of those fields, and its brief mention of currency-bound conditions does not compensate for the missing parameter semantics.

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 clearly identifies the action as preparing an active automation rule for future matching invoices and explicitly says it returns a preview and token without applying the change. It is understandable on its own, but it does not explicitly distinguish itself from sibling tools like create_automation_rule or preview_automation_rule.

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

Usage Guidelines3/5

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

The description implies this is a preview/confirmation step because it returns a token and does not apply the change, which suggests it should be used before actually creating a rule. However, it never explicitly says when to use this tool instead of create_automation_rule or other preview tools, and it gives no exclusions or alternative guidance.

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