Skip to main content
Glama

Rehearse a rule

rehearse_automation

Rehearse a saved rule (id) or an unsaved definition on the last 30 matching tickets, judging what has no stored score. Nothing acts. Counts against a daily limit.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rehearse_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe rule's id.
cursorNo
definitionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses three substantive behaviors: the evaluation window of the last 30 matching tickets, that only items lacking a stored score are judged, and that calls consume a daily quota. 'Nothing acts' clarifies the destructiveHint=false meaning as no side effects on tickets, which is consistent with readOnlyHint=false since quota/state is still consumed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences with zero filler; the primary action and scope are front-loaded, followed by the safety note and the cost note. Nothing needs trimming.

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?

Given the very deep nested definition schema and no output schema, the description supplies the key operational facts an agent needs: input modes, evaluation scope, side-effect profile, and quota cost. It stops short of describing what the rehearsal returns or how the cursor pages through results.

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 description coverage is only 33%, so the description carries real weight, and it does explain the id-vs-definition duality and that the definition is an unsaved rule. It says nothing about the cursor parameter or pagination of the rehearsal result, leaving one of three parameters unexplained.

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 names a specific verb (rehearse), the resource (a saved rule or unsaved definition), and the scope (last 30 matching tickets). It is clear what the call does without opening the schema, though it does not explicitly distinguish itself from the sibling validate_automation.

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 either/or of 'saved rule (id)' versus 'unsaved definition' implicitly tells the agent which input mode fits which situation, and 'Nothing acts' signals this is a safe pre-commit check. However, no explicit guidance is given on when to prefer rehearsal over validate_automation or when in the authoring workflow to call it.

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