Skip to main content
Glama
powmarx

pow-mcp-rag-new

by powmarx

add_file

Index a specific file into an existing project and persist it in config.yaml so it is re-indexed automatically on future runs.

Instructions

Index a specific file into an existing project and persist it in config.yaml so it gets re-indexed automatically on future runs.

Args: file_path: Absolute path to the file to index project: Project name to add the file to (must already exist)

Returns: Confirmation with chunk count, or error message

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?

The description discloses key side effects: the file is persisted in config.yaml and automatically re-indexed on future runs. It also mentions the return format (confirmation with chunk count or error), which is important behavioral context given no annotations were provided.

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 compact and well-structured with purpose, args, and returns sections. Every sentence adds value, and the leading sentence provides immediate orientation.

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?

The essential information for selecting and invoking the tool is present: purpose, parameter requirements, persistence side effect, and return format. It lacks explicit mention of alternatives (e.g., add_folder) and edge-case error conditions, but for a 2-parameter tool this is nearly complete.

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?

Both parameters are defined with meaningful semantics: file_path is an absolute path, and project is an existing project name. This fully compensates for the empty schema descriptions, making invocation unambiguous.

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 tool indexes a specific file into an existing project, using a specific verb and resource. It also distinguishes itself from siblings by mentioning persistence in config.yaml for automatic re-indexing, 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/5

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

The description provides clear context: use for individual files, project must already exist, and it persists for future runs. It does not explicitly name alternatives like add_folder or add_project, but the 'must already exist' requirement implies when the alternative is needed.

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