Skip to main content
Glama
asthasoni22

mcp_server_document_manager

by asthasoni22

read_doc

Retrieve the full text content of a document by its unique ID. Enter a doc ID to get the document's contents.

Instructions

Read the contents of a document by its ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYesThe ID of the document to read

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the operation is a read, which implies non-destructive behavior, but it does not disclose what happens if the document does not exist, whether the full content is returned, or any access/permission requirements. For a read tool this is a moderate 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?

The description is a single, clear sentence with no wasted words. It is appropriately sized and front-loaded with the action and resource.

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 simple single-parameter read tool, the description is mostly complete. However, with no output schema and no annotations, it would benefit from stating what is returned (e.g., full text, metadata) and any error behavior. The sibling edit_doc is not referenced, which is a minor completeness gap.

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 the schema already documents the doc_id parameter. The description adds no additional meaning beyond what the schema provides, so the baseline 3 is appropriate.

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 states a specific verb ('Read') and resource ('contents of a document by its ID'), making the tool's purpose clear. It does not explicitly differentiate from the sibling tool edit_doc, but the read vs. edit distinction is implicit in the name and description.

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?

The description implies usage: call this tool when you need to read a document's contents by ID. It does not explicitly state when not to use it or mention the sibling edit_doc as an alternative for modifying documents, so the guidance is adequate but not explicit.

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

Deploy Server

Other Tools