Skip to main content
Glama

Check a rule

validate_automation
Read-only

Check a definition without saving it: the rule sentence, every issue with the path of the card it is about, and whether it is ready to turn on. Pass id to check it as a change to that rule.

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": {
      "definition": "<definition>"
    },
    "name": "validate_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe rule's id.
definitionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description is consistent with them ('without saving it'). It adds useful context by describing what the response contains (per-issue card paths, readiness flag), which goes beyond the annotations. It does not cover auth/permission requirements, limits, or what happens when the definition is malformed.

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?

One front-loaded sentence with a colon-delimited list of outcomes, plus a short second sentence on parameter usage. No filler. The phrase 'every issue with the path of the card it is about' is slightly awkward but still informative.

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 read-only dry-run tool whose input schema is exhaustively self-documenting and which has no output schema, the description covers purpose, non-persistence, and the shape of the result. The remaining gap is sibling differentiation against rehearse_automation, which the description leaves to inference.

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 50% and the nested definition schema is extremely detailed, so the schema carries most of the burden. The description does add real meaning for 'id': passing it evaluates the definition as a change to that existing rule rather than a new one. It says nothing about the fields inside 'definition' beyond calling it a 'definition'.

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 ('check a definition'), and the key qualifier 'without saving it' distinguishes it from the mutating siblings create_automation/update_automation. It also enumerates what is returned (rule sentence, issues with card path, readiness). It stops short of naming the nearest neighbor, rehearse_automation, which could look similar to an agent.

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?

Gives one concrete usage condition—'Pass id to check it as a change to that rule'—which clarifies the dry-run-then-apply workflow. However, there is no explicit when-to-use vs. when-not-to-use guidance against rehearse_automation, propose_automation, or create_automation, so an agent must infer that this is the pre-save validation step.

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