Skip to main content
Glama

Check Rule Conflicts & Trigger Collisions

check_rule_conflicts

Detect conflicting directives, duplicate skill names, and overlapping trigger keywords across installed skills and workspace or global rule files to resolve cross-agent instruction conflicts.

Instructions

Check installed skills and workspace/global rule files specifically for directive contradictions (package manager, indentation, testing, mocking, git commits, TypeScript any), duplicate skill names, and overlapping skill trigger keywords.

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": "check_rule_conflicts"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceDirNoOptional project workspace directory path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral disclosure burden. It describes what categories are checked but does not state that the operation is read-only, whether it modifies files, what permissions are needed, or how results are returned. The word 'Check' implies a non-mutating scan, but this is not made explicit.

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?

The description is a single, front-loaded sentence with no wasted wording. It packs the specific conflict categories into a compact structure. Every element contributes to identifying what the tool checks.

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?

The description clearly enumerates the conflict types but does not explain return values, output shape, or safety behavior. With no output schema and no annotations, those omissions leave meaningful gaps for an agent interpreting or acting on results. It is adequate for tool selection but incomplete for full invocation context.

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?

There is one optional parameter, workspaceDir, and schema description coverage is 100%, so the schema already documents it. The description does not mention workspaceDir or explain how it affects scope. Baseline 3 is appropriate when the schema does the parameter-level work.

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 states a specific verb and resource: checking installed skills and workspace/global rule files for rule conflicts. It enumerates precise conflict categories, including directive contradictions, duplicate skill names, and overlapping trigger keywords. It does not explicitly differentiate itself from sibling diagnostic tools, so it falls short of a 5.

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 by the focus on conflict checking, but the description gives no explicit when-to-use guidance, prerequisites, or alternatives. It does not say when to choose this tool over diagnose_skills or inspect_skill_health. The intended context is inferable but not stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.