Skip to main content
Glama
SamamaSaleem

mcp-document-assistant

by SamamaSaleem

read_document

Fetch the complete contents of a document using its unique document ID. Provide the doc_id to retrieve the document's text for reading or further processing.

Instructions

Return the contents of a document given its document ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description must carry the behavioral disclosure burden. It states the core read operation but does not mention error behavior, return format, or any other side effects. The read-only nature is implied by the name, but no additional context is provided. It neither contradicts annotations nor adds significant depth beyond the obvious.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no filler. It states the action and the key input in minimal words, earning every word. It is concise and well-structured.

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

Completeness4/5

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

This is a simple tool with one parameter and an output schema, so the description need not explain return values. It sufficiently covers the core function and identifies the required input. However, it could be more complete by explicitly guiding when to use this tool versus siblings, which would elevate the contextual guidance.

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

Parameters4/5

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 does so by explaining that doc_id is the 'document ID' that identifies the document to read. This gives the parameter meaning beyond the bare schema property name, though it does not specify how to obtain the ID (e.g., from list_documents) or the expected format.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Return the contents'), the resource ('a document'), and the condition ('given its document ID'). It is immediately distinguishable from siblings list_documents (listing) and edit_document (modifying), so the purpose is specific and unambiguous.

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 usage is implied: if you have a document ID and need its contents, use this tool. However, there is no explicit guidance on when not to use it or which alternative (e.g., list_documents for metadata) to choose. No alternatives are named, so it does not fully meet the 'explicit when/when-not' standard.

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

Install Server

Other Tools

Latest Blog Posts

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/SamamaSaleem/mcp-document-assistant'

If you have feedback or need assistance with the MCP directory API, please join our Discord server