Skip to main content
Glama

validate_agents_md_tool

Validates a project's AGENTS.md file and reports missing or incomplete information so AI coding agents have the context they need to work correctly.

Instructions

Validate AGENTS.md for a project and report missing information.

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

Input Schema

NameRequiredDescriptionDefault
project_rootNoProject root path (auto-detected if empty)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 full disclosure burden. "Report missing information" usefully signals a diagnostic, non-fixing outcome, but the description never states whether any files are written, what permissions are needed, or how thorough the validation is, leaving the mutation-safety question to inference.

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 no filler; the verb and resource lead. It is arguably too terse rather than bloated, but it wastes no words.

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?

An output schema exists, so return-value detail is not required, and the single optional parameter is fully documented. What is missing relative to the crowded sibling set is any statement of how validation differs from ensure/generate so the agent can pick correctly.

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?

With one parameter at 100% schema description coverage, the schema already explains project_root including the auto-detect-when-empty behavior. The description only echoes "for a project" and adds no path format or detection detail beyond the schema.

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 names a specific verb and resource ("Validate AGENTS.md") plus the outcome ("report missing information"), so an agent knows exactly what the call does. It does not, however, distinguish it from near-name siblings such as ensure_agents_md_tool or generate_agents_md_tool, which likely act on the same file.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of an alternative. An agent choosing among validate/ensure/generate/scan siblings must infer that "validate" is the read-only check rather than the fixer or generator, which is not stated anywhere.

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