Skip to main content
Glama
freyajeffers

filesystem-rag-mcp

refresh_file

Re-chunk and re-index a single file into full-text and vector stores in under 50ms without scanning the rest of the workspace.

Instructions

Incrementally (re-)chunk and re-index a single specific file into full-text and vector stores in <50ms without walking the rest of the workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rel_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the agent knows this is a non-destructive mutation. The description adds useful behavioral context (incremental, avoids walking the workspace, <50ms), which is real value beyond annotations, but it omits auth requirements and what happens when the file is missing or unchanged.

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?

A single tight sentence with no waste, and the operation and its performance scope are front-loaded. Acceptable, though the parenthetical '(re-)chunk' is slightly awkward.

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?

With an output schema present, return values need not be explained. However, the 0%-covered parameter and the absence of usage/exclusion guidance leave the description only minimally adequate for a mutation tool.

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

Parameters2/5

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

Schema description coverage is 0% and the sole parameter rel_path is undocumented in both schema and description. The description does not clarify that the path is relative or how it is resolved, so it fails to compensate for the coverage gap.

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?

States a specific verb (re-chunk and re-index) applied to a specific resource (a single file), and the incremental scope distinguishes it from the sibling refresh_index. It does not explicitly name refresh_index as the workspace-wide alternative, so it falls short of a 5.

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 incremental, single-file scope implies when to use it (after editing one file) versus refresh_index, but this is left implicit. There is no explicit when/when-not statement or named alternative.

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