Skip to main content
Glama

Doctor

mcp_m7_doctor

Diagnose and auto-fix issues in a project's .m7/ directory, with check, fix, and report actions to keep M7 cycle state healthy.

Instructions

M7 Doctor - диагностика и авто-исправление проблем с .m7/ директорией

Input Schema

NameRequiredDescriptionDefault
actionNoAction: check, fix, or reportcheck
verboseNoShow detailed output for all checks
project_pathNoExplicit path to project directory. If not provided, auto-detected from MCP roots or environment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.18.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it only says 'auto-fix'. It does not state what a fix mutates within .m7/, whether changes are reversible or backed up, or whether permissions are needed. For a tool that can write to project metadata, this is a significant gap.

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. It is efficient, though the terseness contributes to the gaps in other dimensions rather than being a structural flaw.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A mutation-capable tool with no annotations and no output schema needs the description to explain what is checked, what is fixed, and what the user gets back. None of that is present beyond the one-line summary.

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 action/verbose/project_path are already documented in the schema. The description adds only the notion of auto-fix, without explaining the check/fix/report distinction or the consequence of each action; baseline 3 applies.

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?

Names two concrete verbs (диагностика, авто-исправление) and a concrete resource (.m7/ directory), so the agent knows exactly what domain the tool operates on. It does not distinguish itself from plausible siblings like mcp_m7_validate or mcp_m7_check_errors, which also sound diagnostic.

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?

The description gives no guidance on when to pick Doctor over validate/check_errors/safety_verify, nor any precondition such as whether .m7/ must already exist. Usage must be inferred entirely from the name.

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