Skip to main content
Glama

rescan_folder

Trigger a manual folder rescan to detect new, modified, or deleted markdown files when searches miss them or the file watcher is unavailable. Returns a summary of files found.

Instructions

Manually rescan the folder for new, modified, or deleted markdown files.

Use this tool if:

  • You've added new markdown files and they're not showing up in searches

  • You've modified files and want to force a refresh

  • File watcher is not available or not working

The file watcher (when available) handles this automatically, but this tool provides manual control when needed.

Returns: Summary of files found after rescan

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the tool's effect (rescanning for new/modified/deleted files), the automatic alternative (file watcher), and what it returns (summary). It does not describe potential side effects on an internal index, but the core behavior is clear.

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 moderately verbose but well-structured with a clear opening statement, bulleted usage cases, and a returns section. It could be tightened, but every sentence contributes value and the layout aids comprehension.

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

Completeness5/5

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

For a zero-parameter tool with no annotations, the description fully covers purpose, usage timing, behavioral context, and return value. It also implicitly differentiates from sibling tools by focusing on rescanning rather than reading, listing, or searching. The presence of an output schema reduces the need to explain return structure, but the description still satisfies that need.

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?

The tool has zero parameters, so per baseline guidance a score of 4 is appropriate. The description does not need to elaborate on parameters since none exist, and the schema already confirms this.

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's function: 'Manually rescan the folder for new, modified, or deleted markdown files.' The verb 'rescan' and resource 'folder' are specific, and the scope is distinct from sibling tools like read_file, list_files, and search_markdown.

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

Usage Guidelines5/5

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

Explicit 'Use this tool if' section lists concrete scenarios (new files not showing, force refresh, file watcher unavailable). It also explains that the file watcher normally handles this automatically, giving clear guidance on when manual control is appropriate.

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/ly2xxx/md-mcp'

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