Skip to main content
Glama

Check Rule Conflicts

check_rule_conflicts
Read-only

Check a proposed rule body for conflicts against existing enabled rules without persisting anything. Returns mutation collisions, opposing verdicts, and shadowing conflicts. Pass excludeRuleId when editing an existing rule so it does not conflict with itself. Read-only.

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": {
      "rule": "<rule>"
    },
    "name": "check_rule_conflicts"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleYesThe proposed rule body — JSON object with the same shape as a rule upsert request.
excludeRuleIdNoId of the rule being edited (GUID), to exclude self-conflicts. Omit for new rules.

Output Schema

NameRequiredDescriptionDefault
okNo
conflictsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint=false, so the safety profile is covered; the description goes beyond by naming the three conflict classes returned (mutation collisions, opposing verdicts, shadowing) and confirming nothing is persisted. 'Read-only' at the end is redundant with the annotation and adds nothing.

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?

Four short sentences, front-loaded with the core action and scope, followed by return categories and the one actionable parameter tip. Only the trailing 'Read-only.' is wasted, duplicating readOnlyHint=true.

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?

An output schema exists, so return values need not be spelled out, and the description still previews the conflict taxonomy. For a two-parameter read-only validation tool with a fully documented schema, this is complete enough; only the sibling differentiation is missing.

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 100%, so the elaborate nested rule schema and the excludeRuleId description already carry the parameter semantics; baseline 3 applies. The description reinforces the shape ('same as a rule upsert request' is in the schema) and explains excludeRuleId's purpose, but adds little the schema does not already say.

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 proposed rule body for conflicts against existing enabled rules') plus the scope limiter 'without persisting anything'. It also enumerates the conflict categories found. It never names the adjacent siblings (dry_run_rule, check_simulation_scenario) to disambiguate, so the agent must infer separation from the names alone.

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?

Usage is implied rather than stated: the tool is a pre-flight check for rule creation/editing, and 'Pass excludeRuleId when editing an existing rule' gives one concrete conditional instruction. There is no explicit when-not guidance and no comparison to dry_run_rule or check_simulation_scenario, which are the most likely confusable alternatives.

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