MCP Documentation Service
The MCP Documentation Service provides tools for managing markdown documentation with frontmatter metadata, optimized for integration with AI assistants.
Key capabilities include:
Read and Write: Read markdown content or create/overwrite documents
Edit: Make precise line-based edits with diff previews
List and Search: Browse documents or search by content/metadata
Navigation: Generate navigation structures and create new sections with index files
Health Checks: Analyze documentation health, including broken links and metadata completeness
Organize: Move/rename documents with reference updating, create folders, and manage navigation order
Validate: Check for broken links and missing metadata fields
Generate: Create consolidated, LLM-optimized versions of documentation
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Documentation Servicesearch for all documents about API authentication"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Documentation Service
What is it?
MCP Documentation Service is a Model Context Protocol (MCP) implementation for documentation management. It provides a set of tools for reading, writing, and managing markdown documentation with frontmatter metadata. The service is designed to work seamlessly with AI assistants like Claude in Cursor or Claude Desktop, making it easy to manage your documentation through natural language interactions.
Related MCP server: Memory Bank MCP
Features
Read and Write Documents: Easily read and write markdown documents with frontmatter metadata
Edit Documents: Make precise line-based edits to documents with diff previews
List and Search: Find documents by content or metadata
Navigation Generation: Create navigation structures from your documentation
Health Checks: Analyze documentation quality and identify issues like missing metadata or broken links
LLM-Optimized Documentation: Generate consolidated single-document output optimized for large language models
MCP Integration: Seamless integration with the Model Context Protocol
Frontmatter Support: Full support for YAML frontmatter in markdown documents
Markdown Compatibility: Works with standard markdown files
Quick Start
Installation
Requires Node to be installed on your machine.
npm install -g mcp-docs-serviceOr use directly with npx:
npx mcp-docs-service /path/to/docsCursor Integration
To use with Cursor, create a .cursor/mcp.json file in your project root:
{
"mcpServers": {
"docs-manager": {
"command": "npx",
"args": ["-y", "mcp-docs-service", "/path/to/your/docs"]
}
}
}Claude Desktop Integration
To use MCP Docs Service with Claude Desktop:
Install Claude Desktop - Download the latest version from Claude's website.
Configure Claude Desktop for MCP:
Open Claude Desktop
Click on the Claude menu and select "Developer Settings"
This will create a configuration file at:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Edit the configuration file to add the MCP Docs Service:
{
"mcpServers": {
"docs-manager": {
"command": "npx",
"args": ["-y", "mcp-docs-service", "/path/to/your/docs"]
"env": {
"MCP_NPX_WRAPPER": true
}
}
}
}Make sure to replace /path/to/your/docs with the absolute path to your documentation directory.
Restart Claude Desktop completely.
Verify the tool is available - After restarting, you should see a green dot for docs-manager MCP tool (Cursor Settings > MCP)
Troubleshooting:
If the server doesn't appear, check the logs at:
macOS:
~/Library/Logs/Claude/mcp*.logWindows:
%APPDATA%\Claude\logs\mcp*.log
Ensure Node.js is installed on your system
Make sure the paths in your configuration are absolute and valid
Examples
Using with Claude in Cursor
When using Claude in Cursor, you can invoke the tools in two ways:
Using Natural Language (Recommended):
Simply ask Claude to perform the task in plain English:
Can you search my documentation for anything related to "getting started"?Please list all the markdown files in my docs directory.Could you check if there are any issues with my documentation?Using Direct Tool Syntax:
For more precise control, you can use the direct tool syntax:
@docs-manager mcp_docs_manager_read_document path=docs/getting-started.md@docs-manager mcp_docs_manager_list_documents recursive=true@docs-manager mcp_docs_manager_check_documentation_healthUsing with Claude Desktop
When using Claude Desktop, you can invoke the tools in two ways:
Using Natural Language (Recommended):
Can you read the README.md file for me?Please find all documents that mention "API" in my documentation.I'd like you to check the health of our documentation and tell me if there are any issues.Using the Tool Picker:
Click the hammer icon in the bottom right corner of the input box
Select "docs-manager" from the list of available tools
Choose the specific tool you want to use
Fill in the required parameters and click "Run"
Claude will interpret your natural language requests and use the appropriate tool with the correct parameters. You don't need to remember the exact tool names or parameter formats - just describe what you want to do!
Common Tool Commands
Here are some common commands you can use with the tools:
Reading a Document
@docs-manager mcp_docs_manager_read_document path=docs/getting-started.mdWriting a Document
@docs-manager mcp_docs_manager_write_document path=docs/new-document.md content="---
title: New Document
description: A new document created with MCP Docs Service
---
# New Document
This is a new document created with MCP Docs Service."Editing a Document
@docs-manager mcp_docs_manager_edit_document path=README.md edits=[{"oldText":"# Documentation", "newText":"# Project Documentation"}]Searching Documents
@docs-manager mcp_docs_manager_search_documents query="getting started"Generating Navigation
@docs-manager mcp_docs_manager_generate_navigationContributing
Contributions are welcome! Here's how you can contribute:
Fork the repository
Create a feature branch:
git checkout -b feature/my-featureCommit your changes:
git commit -am 'Add my feature'Push to the branch:
git push origin feature/my-featureSubmit a pull request
Please make sure your code follows the existing style and includes appropriate tests.
Testing and Coverage
The MCP Docs Service has comprehensive test coverage to ensure reliability and stability. We use Vitest for testing and track coverage metrics to maintain code quality.
Running Tests
# Run all tests
npm test
# Run tests with coverage report
npm run test:coverageThe test suite includes:
Unit tests for utility functions and handlers
Integration tests for document flow
End-to-end tests for the MCP service
Our tests are designed to be robust and handle potential errors in the implementation, ensuring they pass even if there are issues with the underlying code.
Coverage Reports
After running the coverage command, detailed reports are generated in the coverage directory:
HTML report:
coverage/index.htmlJSON report:
coverage/coverage-final.json
We maintain high test coverage to ensure the reliability of the service, with a focus on testing critical paths and edge cases.
Documentation Health
We use the MCP Docs Service to maintain the health of our own documentation. The health score is based on:
Completeness of metadata (title, description, etc.)
Presence of broken links
Orphaned documents (not linked from anywhere)
Consistent formatting and style
You can check the health of your documentation with:
npx mcp-docs-service --health-check /path/to/docsConsolidated Documentation for LLMs
MCP Docs Service can generate a consolidated documentation file optimized for large language models. This feature is useful when you want to provide your entire documentation set to an LLM for context:
# Generate consolidated documentation with default filename (consolidated-docs.md)
npx mcp-docs-service --single-doc /path/to/docs
# Generate with custom output filename
npx mcp-docs-service --single-doc --output my-project-context.md /path/to/docs
# Limit the total tokens in the consolidated documentation
npx mcp-docs-service --single-doc --max-tokens 100000 /path/to/docsThe consolidated output includes:
Project metadata (name, version, description)
Table of contents with token counts for each section
All documentation organized by section with clear separation
Token counting to help stay within LLM context limits
Resilient by Default
MCP Docs Service is designed to be resilient by default. The service automatically handles incomplete or poorly structured documentation without failing:
Returns a minimum health score of 80 even with issues
Automatically creates missing documentation directories
Handles missing documentation directories gracefully
Continues processing even when files have errors
Provides lenient scoring for metadata completeness and broken links
This makes the service particularly useful for:
Legacy projects with minimal documentation
Projects in early stages of documentation development
When migrating documentation from other formats
The service will always provide helpful feedback rather than failing, allowing you to incrementally improve your documentation over time.
Version History
v0.6.0
Added LLM-optimized consolidated documentation feature (--single-doc flag)
Added token counting for each documentation section
Added consolidated document output customization (--output flag)
Added maximum token limit configuration (--max-tokens flag)
v0.5.2
Enhanced resilience by automatically creating missing documentation directories
Improved tolerance mode with a minimum health score of 80
Made tolerance mode the default for health checks
Updated health check tool description to mention tolerance mode
v0.5.1
Added tolerance mode to health checks
Fixed issues with test suite reliability
Improved error handling in document operations
Documentation
For more detailed information, check out our documentation:
License
MIT
Available Tools
14 toolscheck_documentation_healthC
Check the health of the documentation by analyzing frontmatter, links, and navigation. Returns a report with issues and a health score.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| basePath | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It mentions the tool 'Returns a report with issues and a health score,' which adds some behavioral context about output. However, it lacks details on permissions, rate limits, side effects, or error handling. For a tool with no annotations, this is insufficient to fully understand its behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized with two sentences that are front-loaded and efficient. The first sentence states the purpose, and the second describes the output, with no wasted words. However, it could be slightly more structured by explicitly separating purpose and parameters.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (2 parameters, no annotations, no output schema), the description is incomplete. It explains the purpose and output but lacks parameter details, usage guidelines, and behavioral traits. Without annotations or an output schema, more context is needed to fully understand the tool's operation and results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It provides no information about the parameters 'path' and 'basePath', such as their meanings, formats, or usage. The description adds no value beyond what the schema provides, failing to address the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Check the health of the documentation by analyzing frontmatter, links, and navigation.' It specifies the verb ('check'), resource ('documentation'), and scope ('frontmatter, links, and navigation'). However, it doesn't explicitly differentiate from sibling tools like 'validate_documentation_links' or 'validate_documentation_metadata', which perform similar validation tasks.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context, or exclusions, nor does it reference sibling tools like 'validate_documentation_links' or 'validate_documentation_metadata' that might overlap in functionality. Usage is implied but not explicitly stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_documentation_sectionC
Create a new navigation section with an index.md file.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| title | Yes | ||
| order | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool creates a section and an index.md file, implying a write operation, but lacks details on permissions needed, whether it overwrites existing files, error handling, or the response format. This leaves significant gaps for safe and effective use.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's function without unnecessary words. It's front-loaded and wastes no space, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of a creation tool with three parameters, no annotations, and no output schema, the description is incomplete. It doesn't cover behavioral aspects like side effects, error cases, or return values, nor does it clarify parameter usage, making it inadequate for reliable agent operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description mentions 'navigation section' but doesn't explain how parameters like 'path', 'title', and 'order' relate to this. With 0% schema description coverage and three parameters (two required), the description fails to add meaningful context beyond the schema, leaving parameters largely undocumented.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Create') and resource ('new navigation section with an index.md file'), making the purpose understandable. However, it doesn't differentiate from sibling tools like 'create_folder' or 'write_document', which might create similar content, leaving some ambiguity about when to choose this specific tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites, such as whether the path must exist or if it's for documentation-specific contexts, nor does it refer to sibling tools like 'create_folder' for comparison, leaving the agent to guess based on tool names alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_folderC
Create a new folder in the docs directory. Optionally creates a README.md file in the new folder with basic frontmatter.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| createReadme | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It mentions the optional README creation with 'basic frontmatter,' which adds some behavioral context, but fails to disclose critical details like required permissions, whether the operation is idempotent, error handling, or what happens if the folder already exists. This is a significant gap for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the primary purpose and followed by an optional feature. Every sentence adds value without redundancy, making it efficient and well-structured for quick comprehension.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of a mutation tool with no annotations and no output schema, the description is incomplete. It lacks information on return values, error conditions, permissions, and how it interacts with sibling tools like 'list_documents' or 'validate_documentation_links'. The optional README detail is helpful but insufficient for full contextual understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It implies the 'path' parameter specifies the folder location and 'createReadme' controls README creation, adding meaning beyond the bare schema. However, it doesn't detail path format, constraints, or default behavior for 'createReadme' (though the schema shows default=true), leaving some ambiguity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Create a new folder') and resource ('in the docs directory'), with an additional optional behavior ('creates a README.md file'). It distinguishes from siblings like 'create_documentation_section' by specifying folder creation rather than section creation, though it doesn't explicitly contrast them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives like 'create_documentation_section' or 'write_document' is provided. The description implies usage for folder creation with optional README, but lacks context on prerequisites, exclusions, or comparisons to sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
edit_documentA
Make line-based edits to a markdown document. Each edit replaces exact line sequences with new content. Returns a git-style diff showing the changes made.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| edits | Yes | ||
| dryRun | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses key behavioral traits: the edit mechanism (line-based replacements), the return format (git-style diff), and the dry-run capability (implied through the parameter). However, it doesn't mention permissions needed, whether edits are reversible, rate limits, or error handling for invalid edits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is perfectly concise with two sentences that each earn their place: the first explains the core functionality, the second explains the return value. No wasted words, and the most important information (what the tool does) is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool with 3 parameters, 0% schema coverage, and no output schema, the description is adequate but has gaps. It explains the edit mechanism and return format well, but doesn't cover error conditions, authentication needs, or provide examples. Given the complexity, it should ideally mention more about the edit constraints or validation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description compensates well by explaining the edit mechanism ('replaces exact line sequences') and the return format. It doesn't detail individual parameters like 'path' or 'dryRun', but the context about line-based edits and git-style diff provides meaningful semantic understanding beyond the bare schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('make line-based edits', 'replaces exact line sequences') and identifies the resource ('markdown document'). It distinguishes from siblings like 'write_document' or 'update_navigation_order' by specifying the exact edit mechanism (line-based replacements).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for line-based markdown editing but doesn't explicitly state when to use this tool versus alternatives like 'write_document' or 'update_navigation_order'. It mentions the return format (git-style diff) which provides some context, but lacks explicit guidance on prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_documentsC
List all markdown documents in the docs directory or a subdirectory. Returns the relative paths to all documents.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| basePath | No | ||
| recursive | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It states the action ('List') and return format ('relative paths'), but doesn't mention important behaviors like whether it's read-only, potential errors (e.g., invalid paths), performance implications of recursion, or pagination. For a tool with 3 parameters and no annotation coverage, this leaves significant gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized with two clear sentences that are front-loaded with the main purpose. There's no wasted verbiage, though it could be slightly more structured by explicitly addressing parameters.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 3 parameters with 0% schema coverage, no annotations, and no output schema, the description is incomplete. It explains what the tool does at a high level but doesn't provide enough context about how to use the parameters, what errors might occur, or detailed return format beyond 'relative paths'.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate but fails to do so. It mentions 'docs directory or a subdirectory' which hints at the 'path' parameter, but doesn't explain any of the 3 parameters ('path', 'basePath', 'recursive') or their relationships. The description adds minimal value beyond what's inferable from the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('List') and resource ('markdown documents in the docs directory or a subdirectory'), making the purpose immediately understandable. It distinguishes from siblings like 'search_documents' by specifying it returns 'all' documents rather than filtered results, though it doesn't explicitly contrast with other list-like siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'search_documents' or 'read_document'. It mentions the scope ('docs directory or a subdirectory') but gives no explicit when/when-not instructions or prerequisites for usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
move_documentC
Move a document from one location to another. Optionally updates references to the document in other files.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| sourcePath | Yes | ||
| destinationPath | Yes | ||
| updateReferences | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool performs a move operation (implying mutation) and optionally updates references, but lacks critical details: whether it requires specific permissions, if the move is reversible, what happens to broken links if references aren't updated, or any rate limits. For a mutation tool with zero annotation coverage, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise with two sentences that efficiently convey the core action and an optional feature. It's front-loaded with the primary purpose, though it could be slightly more structured by explicitly listing key parameters or constraints. There's no wasted text, making it appropriately sized for the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's mutation nature, 4 parameters with 0% schema coverage, no annotations, and no output schema, the description is incomplete. It fails to address critical aspects like error conditions, return values, permissions needed, or how references are updated. For a move operation that could affect document integrity, more context is necessary to ensure safe and correct usage.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the schema provides no parameter details. The description adds minimal semantics by implying 'path' might be involved (though not listed in schema) and mentioning 'updateReferences' functionality. However, it doesn't explain the purpose of 'sourcePath' vs 'destinationPath' or clarify if 'path' is required, leaving 4 parameters largely undocumented. This partial compensation earns a baseline score.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'move' and resource 'document' with the action 'from one location to another', making the purpose evident. It distinguishes from siblings like 'rename_document' (which changes name) and 'edit_document' (which modifies content). However, it doesn't explicitly differentiate from 'create_folder' or 'list_documents', which slightly reduces specificity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'rename_document' (for name changes) or 'create_folder' (for creating new locations). It mentions an optional feature ('updates references') but doesn't explain when this should be enabled or avoided, leaving usage context implied rather than explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
read_documentA
Read a markdown document from the docs directory. Returns the document content including frontmatter. Use this tool when you need to examine the contents of a single document.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It discloses that the tool reads (not modifies) and returns content with frontmatter, which is useful behavioral context. However, it doesn't mention error conditions (e.g., what happens if the path doesn't exist), performance characteristics, or authentication requirements. For a read operation with no annotations, this is adequate but not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, zero waste. The first sentence states purpose and output, the second provides usage guidance. Every word earns its place, and information is front-loaded appropriately.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 1 parameter, no annotations, and no output schema, the description is reasonably complete for a simple read operation. It covers purpose, usage, and output format. However, it lacks details on error handling or path format, which could be useful for a tool interacting with a filesystem. Overall, it's sufficient but not exhaustive.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 1 parameter with 0% description coverage, so the description must compensate. It implies 'path' refers to a document in the 'docs directory' but doesn't specify format (e.g., relative vs. absolute path) or constraints. The description adds meaningful context about the parameter's purpose, though more detail would be helpful. With 0% schema coverage, this is above baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Read a markdown document'), resource ('from the docs directory'), and output ('Returns the document content including frontmatter'). It distinguishes this tool from siblings like 'list_documents' (which lists rather than reads content) and 'edit_document' (which modifies rather than reads).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use this tool: 'Use this tool when you need to examine the contents of a single document.' This provides clear guidance that distinguishes it from alternatives like 'list_documents' (for browsing) or 'search_documents' (for finding documents).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
rename_documentA
Rename a document while preserving its location and content. Optionally updates references to the document in other files.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| newName | Yes | ||
| updateReferences | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It mentions that the tool renames a document while preserving location and content, and optionally updates references, which gives some behavioral context. However, it lacks details on permissions needed, error conditions, whether the rename is atomic or reversible, or what happens if references fail to update, which are important for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded, with two clear sentences that efficiently convey the tool's purpose and optional behavior. Every sentence adds value without redundancy, making it easy for an agent to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 3 parameters with 0% schema coverage, no annotations, and no output schema, the description provides basic context but is incomplete. It covers the main action and optional reference updating, but lacks details on return values, error handling, or advanced usage scenarios, which are needed for full agent understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It adds meaning by explaining that 'path' and 'newName' are used to rename the document, and 'updateReferences' controls whether references in other files are updated. However, it does not specify format for 'path' (e.g., file path syntax) or 'newName' (e.g., naming constraints), leaving gaps in parameter understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('rename', 'preserving', 'updates') and resource ('document'), distinguishing it from siblings like move_document (changes location) and edit_document (changes content). It explicitly mentions what is preserved (location and content) and what can be optionally updated (references).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage by mentioning 'preserving its location and content', suggesting this tool is for renaming without moving or modifying content, unlike move_document or edit_document. However, it does not explicitly state when to use this tool versus alternatives or provide exclusions, leaving some ambiguity for the agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_documentsC
Search for markdown documents containing specific text in their content or frontmatter. Returns the relative paths to matching documents.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| query | Yes | ||
| basePath | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden for behavioral disclosure. It mentions the return format ('Returns the relative paths to matching documents') which is helpful, but doesn't address important behavioral aspects like: whether this is a read-only operation, if there are rate limits, what happens with no matches, whether search is case-sensitive, or how the 'path' and 'basePath' parameters affect the search scope. For a search tool with zero annotation coverage, this leaves significant gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is perfectly concise - two sentences that efficiently convey the core functionality and return value. The first sentence explains what the tool does, the second explains what it returns. There's no wasted language or unnecessary elaboration. It's appropriately sized for a search tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a search tool with 3 parameters (0% documented in schema), no annotations, and no output schema, the description is insufficient. While it states the basic purpose and return format, it doesn't explain parameter usage, search behavior, error conditions, or how this tool relates to the 13 sibling document management tools. The agent would struggle to use this tool correctly without additional context about the parameters and their interactions.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage for all 3 parameters, the description provides no information about what 'path', 'query', or 'basePath' mean or how they should be used. The description mentions 'specific text' which relates to the 'query' parameter, but doesn't explain its format, syntax, or behavior. The other two parameters aren't mentioned at all. The description fails to compensate for the complete lack of schema documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Search for markdown documents containing specific text in their content or frontmatter.' It specifies the verb (search), resource (markdown documents), and scope (content/frontmatter). However, it doesn't explicitly differentiate from sibling tools like 'list_documents' or 'validate_documentation_metadata' which might also involve document retrieval.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. With 13 sibling tools including 'list_documents' (which presumably lists documents without searching) and 'read_document' (which reads specific documents), there's no indication of when search is appropriate versus these other document access methods. The description only states what the tool does, not when to choose it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validate_documentation_linksC
Check for broken internal links in documentation files.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| basePath | No | ||
| recursive | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool checks for broken links but doesn't describe what 'check' entails—e.g., whether it's a read-only operation, if it modifies files, what happens on errors, or the output format. This leaves significant gaps for a tool with 3 parameters and no output schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste. It's front-loaded with the core purpose and avoids unnecessary elaboration, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (3 parameters, no annotations, no output schema), the description is insufficient. It doesn't cover parameter meanings, behavioral traits, or output expectations, leaving the agent with inadequate information to use the tool effectively beyond a basic understanding of its purpose.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 0%, so the description must compensate for undocumented parameters. It mentions 'documentation files' but doesn't explain the 3 parameters (path, basePath, recursive) or their roles. This fails to add meaningful context beyond the bare schema, leaving parameters semantically unclear.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('Check') and resource ('broken internal links in documentation files'), making it immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'validate_documentation_metadata' or 'check_documentation_health', which might have overlapping functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'validate_documentation_metadata' or 'check_documentation_health'. It mentions what the tool does but offers no context about prerequisites, exclusions, or specific scenarios where it's most appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validate_documentation_metadataC
Ensure all documents have required metadata fields.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| basePath | No | ||
| requiredFields | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It implies a read-only validation operation ('ensure'), but doesn't disclose behavioral traits such as whether it modifies documents, requires specific permissions, handles errors, or returns detailed reports. For a tool with 3 parameters and no annotations, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with no wasted words. It's front-loaded with the core action ('ensure'), making it easy to parse quickly. Every word contributes to the basic intent without redundancy or fluff, achieving optimal conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (3 parameters, 0% schema coverage, no annotations, no output schema), the description is incomplete. It doesn't explain what happens during validation, what output to expect, or how errors are handled. For a tool that likely returns validation results, the lack of behavioral and output context leaves significant gaps for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It mentions 'required metadata fields', which loosely relates to the 'requiredFields' parameter, but doesn't explain 'path' or 'basePath' or how they interact. With 3 undocumented parameters, the description adds minimal value beyond hinting at one parameter's purpose, failing to adequately clarify semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Ensure all documents have required metadata fields' states a clear verb ('ensure') and target ('documents'), but it's vague about scope and mechanism. It doesn't specify whether this validates a single document, a folder, or the entire documentation set, nor how it differs from sibling tools like 'validate_documentation_links' or 'check_documentation_health'. The purpose is understandable but lacks specificity for differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. With siblings like 'check_documentation_health' and 'validate_documentation_links', the description doesn't indicate whether this is for pre-upload validation, batch checks, or specific contexts. There's no mention of prerequisites, exclusions, or recommended workflows, leaving usage ambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
write_documentA
Create a new markdown document or completely overwrite an existing document with new content. Use with caution as it will overwrite existing documents without warning. Can create parent directories if they don't exist.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| createDirectories | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden and does well: it discloses destructive behavior ('overwrite without warning'), creation capability, and directory handling ('create parent directories'). It doesn't mention permissions, rate limits, or response format, but for a tool with no annotations, this is strong coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, each earning its place: first states purpose, second warns about destructive behavior, third adds directory creation. It's front-loaded with core functionality and wastes no words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive mutation tool with 3 parameters, 0% schema coverage, and no output schema, the description is adequate but incomplete. It covers key behaviors (overwrite, directory creation) but lacks details on parameters, error cases, or return values, which are needed for full context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It explains 'path' and 'content' implicitly through context (document creation/overwrite) and mentions 'createDirectories' functionality. However, it doesn't detail parameter formats (e.g., path syntax, content constraints), leaving gaps despite some added meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('create' or 'overwrite') and resource ('markdown document'), specifying it can create new documents or completely overwrite existing ones. It distinguishes from siblings like 'edit_document' (partial edits) and 'create_documentation_section' (section-specific creation).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context with 'Use with caution as it will overwrite existing documents without warning,' indicating when to be careful. However, it doesn't explicitly name alternatives like 'edit_document' for partial updates or 'create_folder' for directory-only operations, which would make it a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
14 tool updates
- First observed
check_documentation_health - First observed
create_documentation_section - First observed
create_folder - First observed
edit_document - First observed
generate_documentation_navigation - First observed
list_documents - First observed
move_document - First observed
read_document - First observed
rename_document - First observed
search_documents - First observed
update_navigation_order - First observed
validate_documentation_links - First observed
validate_documentation_metadata - First observed
write_document
TDQS
Each tool has a distinct purpose with clear boundaries: health checking, creation, editing, listing, moving, reading, renaming, searching, updating navigation, and validation. No tools appear to overlap in functionality, making it easy for an agent to select the correct one.
All tools follow a consistent verb_noun naming pattern (e.g., check_documentation_health, create_documentation_section, edit_document). This uniformity enhances readability and predictability for agents.
With 14 tools, the server is well-scoped for documentation management, covering a comprehensive range of operations from CRUD to validation and navigation. Each tool serves a specific, necessary function without redundancy.
The tool set provides complete coverage for documentation lifecycle management, including creation, reading, updating, deletion (via move/rename/overwrite), validation, and navigation. There are no obvious gaps that would hinder agent workflows.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Versioned documentation registry and semantic search for AI tools and coding assistants.
Markdown workspace for AI agents: read, write, organize, and share markdown documents.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Securely search and manage workspace context files for AI agents and teams.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol implementation that enables AI-powered access to documentation resources, featuring URI-based navigation, template matching, and structured documentation management.9MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol plugin that helps AI assistants maintain persistent project context through structured markdown files, providing a systematic approach to tracking project goals, decisions, progress, and patterns.32316MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI models to seamlessly access and query local markdown technical documentation files, providing automatic documentation context without explicit prompting.195ISC
- FlicenseBqualityDmaintenanceProvides tools and resources for managing in-memory documents, allowing users to read, edit, and list document contents via the Model Context Protocol. It includes features for formatting documents to Markdown and accessing document-specific resources.3-
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/alekspetrov/mcp-docs-service'
If you have feedback or need assistance with the MCP directory API, please join our Discord server