Skip to main content
Glama
powmarx

pow-mcp-rag-new

by powmarx

get_document

Retrieve full document content by providing its file path and project name, reconstructing text from indexed chunks.

Instructions

Retrieve all indexed chunks of a specific document.

Args: file_path: Relative file path within the project (e.g., "src/Device.h") project: Project name (e.g., "my-project")

Returns: Full reconstructed document content from indexed chunks

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYes
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses that the tool retrieves 'all indexed chunks' and returns 'full reconstructed document content', which is a key behavioral trait. It does not mention failure cases or whether the document must already be indexed, but as a read-only retrieval tool, the provided behavior is sufficiently transparent.

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 concise and well-structured: a one-line summary, a clear 'Args' section, and a 'Returns' statement. Every sentence adds value, with no redundant or filler content.

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?

For a simple retrieval tool with two parameters and an output schema, the description is largely complete. It explains the purpose, parameters, and return value. It lacks edge-case behavior (e.g., missing document) but is adequate for typical use.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description includes an 'Args' section with examples for both parameters (e.g., 'src/Device.h') and clarifies that file_path is relative. This goes well beyond the schema's minimal 'Project' and 'File Path' titles, providing concrete guidance for correct invocation.

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 states 'Retrieve all indexed chunks of a specific document' with a clear verb and resource. It distinguishes from sibling search tools by emphasizing full document retrieval rather than search results. The return statement further clarifies it outputs reconstructed content.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The tool's context is clear: it is for retrieving a specific document by file path and project, as opposed to search tools. However, it does not explicitly state when not to use it or name alternatives. The use case is easily inferred from the parameters and the distinction from search siblings.

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/powmarx/pow-mcp-rag-new'

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