Skip to main content
Glama

agents_md_fix_suggestions

Lints agent instruction files and returns one concrete rewrite hint per finding, including the offending line, to help fix weakened, conflicting, or duplicate rules.

Instructions

Lint the same input as agents_md_check and return one concrete rewrite hint per finding, with the offending line.

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

Input Schema

NameRequiredDescriptionDefault
pathNo
textNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. 'Lint' and 'hint' imply a non-mutating analysis and it discloses the return shape (one hint per finding plus the offending line), but it says nothing about whether input comes from path or inline text, what happens with multiple files, or how findings are ordered.

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 dense sentence with the outcome and the payload front-loaded; no filler. It is terse to the point of underspecification for the parameters, but nothing is wasted.

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?

For a two-parameter read-only analyzer with no output schema, the return contract is adequately summarized. However, the input contract — the only real complexity here — is left entirely to the sibling reference, leaving the definition short of complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Two parameters at 0% schema description coverage, and the description adds no meaning for either: 'path' vs 'text' as alternative input sources is never explained, nor which takes precedence. The blanket 'same input as agents_md_check' gesture at least signals shared semantics, but that requires reading a sibling tool's 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?

States a specific verb (lint) and the exact deliverable (one concrete rewrite hint per finding, with the offending line), and anchors the input to the sibling agents_md_check. It is distinguishable from a plain check tool by the 'rewrite hint' outcome, though the phrase 'same input as agents_md_check' leaves the agent to infer what that input actually is.

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?

Implicit routing only: the agent can infer this is the post-check tool that produces fixes, but there is no explicit 'use when a check reports findings' or 'use agents_md_check instead if you only need pass/fail'. Usage is implied by the result-oriented phrasing rather than stated.

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