Skip to main content
Glama

skills_validate

Lint one skill or the whole registry against Agent Skills authoring rules—kebab-case names, usage descriptions, body size, broken links, TODOs—to fix load failures after editing SKILL.md.

Instructions

Lint one skill (or the whole registry) against the Agent Skills authoring rules: kebab-case name, description that states when to use it, body size, broken relative links, TODO markers. Use this after writing or editing a SKILL.md, or when a skill refuses to load correctly.

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

Input Schema

NameRequiredDescriptionDefault
nameNoValidate a single skill. Omit to validate every skill in the registry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the whole burden. It does real work by disclosing the rule set being enforced and the validate-one-vs-validate-all scope, but it never states whether the operation is read-only or can auto-fix files, nor what kind of report is produced. Those are the most consequential unknowns for a lint tool and they remain unaddressed.

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?

Two sentences, front-loaded with what gets linted and what rules apply, followed by the usage triggers. The rule list is dense but every item is informative, and there is no filler or repetition.

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 single-parameter, no-output-schema tool this covers the essentials: what is validated, at what scope, and when to call it. The remaining gap is behavioral rather than definitional — with no annotations and no output schema, the description could have said whether results are reported as warnings and whether the files are left untouched.

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% and the single `name` parameter already documents that omitting it validates the entire registry. The description's parenthetical '(or the whole registry)' merely restates that, adding no format, matching, or error-case detail beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (lint/validate) against a specific resource (one skill or the whole registry) and enumerates exactly what is checked: kebab-case name, description guidance, body size, broken relative links, TODO markers. That enumeration makes it self-evidently distinct from the read-oriented siblings (skills_get, skills_list, skills_read_resource, skills_search, skills_stats) without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives two concrete invocation triggers: after writing or editing a SKILL.md, and when a skill refuses to load correctly. Clear about when to reach for it, but offers no exclusions or explicit pointers to a sibling for the adjacent case (e.g. inspecting a skill's content would be skills_read_resource), so it falls short of a full when/when-not treatment.

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