Skip to main content
Glama

Inspect Skill or Rule Health

inspect_skill_health

Analyze a single skill or rule file to report token footprint, trigger keywords, broken local references, collisions, and targeted diagnostics.

Instructions

Inspect a single discovered skill or rule file by name or file path: reports token footprint (always-on vs body), extracted trigger keywords, companion files, broken local reference checks, collisions, and targeted diagnostics.

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": {
      "target": "<target>"
    },
    "name": "inspect_skill_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesSkill name (e.g. 'find-my-skill') or discovered file path
workspaceDirNoOptional project workspace directory path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does helpfully enumerate the report contents (token footprint, trigger keywords, companion files, broken references, collisions), which conveys a read-only diagnostic character. It does not state that the operation is non-mutating, what happens if the target is not discovered, or how name vs path resolution differs.

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?

A single front-loaded sentence with the verb and scope first, followed by a tight enumeration of reported diagnostics. The list is dense but every item is informative; minor redundancy only.

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?

There is no output schema, so enumerating what the report contains is exactly the right compensation and makes the tool's return understandable. The remaining gap is sibling routing and error/edge-case behavior for an unknown target.

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 100%, so both `target` and `workspaceDir` are already documented in the schema. The description's 'by name or file path' mirrors the schema rather than adding new semantics, so the baseline 3 is appropriate.

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 ('Inspect a single discovered skill or rule file') and scopes it to one item rather than a whole workspace, which implicitly separates it from broader tools like diagnose_skills. It never names a sibling or explicitly contrasts behavior, so the differentiation is only partial.

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 phrase 'single discovered skill or rule file' implies this is the per-item inspector rather than the workspace-wide diagnostic, but there is no explicit when-to-use/when-not-to-use guidance and no routing to check_rule_conflicts or diagnose_skills. Usage is inferable rather than stated.

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