Skip to main content
Glama

InvoiceParser Pro

Test a draft automation rule

preview_automation_rule
Read-onlyIdempotent

Read a sampled match explanation using execution evaluators. Does not save a rule or run actions. Supports flagging, approval and client/account assignment; exports/notifications use IPP.

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_automation_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds real scope context: which action types are supported (flagging, approval, client/account assignment) and that exports/notifications are out of scope ("use IPP"). That said, "use IPP" is unexplained jargon and no return behavior is described.

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?

Two sentences, no padding, but the front-loaded sentence is dense jargon ("sampled match explanation using execution evaluators") rather than the actual purpose. The clear statement arrives second, so the structure is inverted relative to what the agent needs first.

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?

With no output schema, the description must explain what comes back. It only gestures at a "sampled match explanation" without describing the shape or how to read the results. Safety is covered by annotations, but the return-value gap leaves the definition only adequate.

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?

Schema coverage is 0%, so the description should compensate. It does map to the discriminated action union by naming flagging, approval, and client/account assignment, which helps the agent understand the actions array. It says nothing about conditions, priority, name, or the input wrapper, leaving most of the schema semantics to the (undescribed) structure.

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

Purpose3/5

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

"Read a sampled match explanation using execution evaluators" describes the output/mechanism rather than the action, and never plainly says it tests a draft rule. The title carries the real purpose; the description alone leaves the agent to infer it. The second sentence ("Does not save a rule or run actions") clarifies it is a dry run, which saves it from a lower score.

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?

"Does not save a rule or run actions" implies a safe, side-effect-free test, which hints at when to use it. But it never names alternatives like create_automation_rule or preview_create_automation_rule, so the agent must infer the routing itself.

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