MCP Doctor
Server Quality Checklist
Latest release: v0.1.0
- Disambiguation5/5
Each tool has a distinct and clearly defined purpose: scanning all configs, diagnosing a specific server, and repairing JSON. No overlap or ambiguity.
Naming Consistency5/5All tools follow the same verb_noun pattern with the 'mcp_doctor_' prefix, making the naming predictable and consistent.
Tool Count5/5Three tools is well-scoped for a focused utility that scans, diagnoses, and repairs. It covers the core workflow without unnecessary bloat.
Completeness4/5The set covers scanning, deep diagnosis, and JSON repair. A minor gap might be an explicit 'list servers' tool, but the scan tool effectively covers that, so the surface is largely complete.
Average 3.6/5 across 3 of 3 tools scored. Lowest: 2.9/5.
See the Tool Scores section below for per-tool breakdowns.
- No community issues in the last 6 months
- 1 commit in the last 12 weeks
- No stable releases found
- No critical vulnerability alerts
- No high-severity vulnerability alerts
- No code scanning findings
- CI status not available
This repository is licensed under MIT License.
This repository includes a README.md file.
No tool usage detected in the last 30 days. Usage tracking helps demonstrate server value.
Tip: use the "Try in Browser" feature on the server page to seed initial usage.
This repository includes a glama.json configuration file.
This server has been verified by its author.
Add related servers to improve discoverability.
How to sync the server with GitHub?
Servers are automatically synced at least once per day, but you can also sync manually at any time to instantly update the server profile.
To manually sync the server, click the "Sync Server" button in the MCP server admin interface.
How is the quality score calculated?
The overall quality score combines two components: Tool Definition Quality (70%) and Server Coherence (30%).
Tool Definition Quality measures how well each tool describes itself to AI agents. Every tool is scored 1–5 across six dimensions: Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%). The server-level definition quality score is calculated as 60% mean TDQS + 40% minimum TDQS, so a single poorly described tool pulls the score down.
Server Coherence evaluates how well the tools work together as a set, scoring four dimensions equally: Disambiguation (can agents tell tools apart?), Naming Consistency, Tool Count Appropriateness, and Completeness (are there gaps in the tool surface?).
Tiers are derived from the overall score: A (≥3.5), B (≥3.0), C (≥2.0), D (≥1.0), F (<1.0). B and above is considered passing.
Tool Scores
- Behavior2/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must disclose side effects, permissions, and output, but it does not. 'Diagnosis' implies a read-only operation, but that is not confirmed; it also gives no indication of what the tool returns (report, status, data). The description adds little beyond the basic action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness4/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is one sentence, front-loads the verb, and contains no filler. It is appropriately sized for the information it conveys, even though it omits optional details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness2/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool performing deep diagnosis with no output schema and no annotations, the description is under-specified. It does not explain what a successful diagnosis looks like, how results are represented, or how it relates to the other two sibling tools. Agents cannot reasonably predict call outcomes or next steps from this description.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so all four parameters are already described with reasonable detail. The description's reference to 'command, arguments, environment' aligns with those parameters but adds little beyond reinforcing that they form a 'server definition.' This matches the baseline for a fully-described schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose4/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the primary action ('diagnosis') and the target resource ('specific MCP server definition'), naming the relevant aspects (command, arguments, environment). The phrase 'in-depth' helps differentiate from a generic scan, though it doesn't explicitly contrast with mcp_doctor_scan or mcp_doctor_repair_json.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines2/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no indication of when to use this tool versus the siblings. There is no mention of prerequisites, alternative conditions, or exclusions. An agent is left to infer that single-server diagnosis is intended, but the description does not state it outright.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior2/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations providing safety or side-effect information, and the description does not disclose what the tool returns after repairing (e.g., the repaired JSON, a success status, or an error). It also does not mention whether the repair is in-place or returns a new value, leaving important behavioral aspects ambiguous. The description focuses solely on the action, not the outcome or consequences.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no fluff or redundancy. It efficiently lists the key repair operations in a parenthetical, making the tool's functionality clear without wasted words. The structure is compact and information-dense, earning a perfect score.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness2/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description adequately covers the tool's input and purpose but omits critical context: there is no output schema and the description does not state what the tool returns after repair. An agent using this tool would not know whether to expect the repaired JSON, a confirmation message, or an error. It also does not mention edge cases (e.g., non-JSON input or unresolvable malformations). This lack of output and error handling information makes the description incomplete for practical use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter `raw_json` has a schema description ('The broken or unformatted JSON text') that fully explains its meaning, so the schema coverage is high. The tool description itself does not add any additional explanation about the parameter beyond what is already in the schema, so it provides no extra value. Per the baseline for high schema coverage, a score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: auto-repair malformed MCP configuration JSON. It lists specific repair actions (fixing trailing commas, removing invalid comments, converting single quotes, ensuring a root mcpServers key), which is a specific and unambiguous verb+resource. The name and description also differentiate it from sibling tools like scan and diagnose, making its purpose distinct.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines4/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use the tool: when you have malformed or unformatted MCP JSON that needs fixing. It does not explicitly mention alternatives or state 'use this instead of scan/diagnose', but the action-oriented phrasing and the sibling tool names make the appropriate context clear. A slight deduction for not making the when-to-use-versus-alternatives guidance explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior4/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The verbs 'scans' and 'diagnoses' imply a read-only, non-destructive operation. No side effects or permissions are mentioned, but the phrasing naturally suggests no modifications. Since there are no annotations to rely on, this transparency is sufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, compact sentence that conveys all necessary information without redundancy or unnecessary detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness4/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no parameters and no output schema, the description provides sufficient context about its function and scope. It does not describe output format, but that is not expected given the absence of an output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters4/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so there is no parameter information to describe. Per the baseline rule, a score of 4 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific action (scans) and a specific resource (MCP config files for three applications), and the diagnostic scope (server configurations, binary paths, env vars). It is distinct from sibling tools like diagnose_server (which likely targets a single server) and repair_json (which fixes issues), making its purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines4/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description tells when to use the tool: when you need to scan and diagnose across multiple local MCP config files. It does not explicitly mention when to avoid it or compare against siblings, but the scope is clear enough that an agent can infer the appropriate context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
GitHub Badge
Glama performs regular codebase and documentation scans to:
- Confirm that the MCP server is working as expected.
- Confirm that there are no obvious security issues.
- Evaluate tool definition quality.
Our badge communicates server capabilities, safety, and installation instructions.
Card Badge
Copy to your README.md:
Score Badge
Copy to your README.md:
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rafim-dev/mcp-doctor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server