Skip to main content
Glama

scan_project

Scan a project directory to refresh the mind map with the latest file structure. Supports specifying a project root or using environment variables for flexible integration.

Instructions

Perform a fresh scan of the project to update the mind map with current file structure. Supports multiple project contexts via project_root parameter or MCP_PROJECT_ROOT environment variable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
force_rescanNoForce a complete rescan even if recent data exists (default: false)
project_rootNoProject root directory to scan (optional - uses MCP_PROJECT_ROOT env var, then current working directory if not specified)
include_analysisNoInclude basic code analysis during scan (default: true)
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It states 'fresh scan' and 'update the mind map', but does not explain side effects like whether it overwrites data, requires permissions, or impacts performance. This is insufficient for a mutation-like tool.

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 two concise sentences with no unnecessary information. Every sentence provides value.

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?

Given no output schema, the description does not explain what the tool returns (e.g., confirmation, updated mind map data). While it mentions updating the mind map, the return value is unclear, which is a gap for the agent.

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 coverage is 100%, so baseline is 3. The description adds context about the project_root parameter falling back to an environment variable and the current working directory, which goes beyond the schema. This adds meaningful value.

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?

The description clearly states the tool performs a fresh scan to update the mind map with current file structure, and mentions support for multiple project contexts via parameter or environment variable. However, it does not explicitly differentiate from sibling tools like update_mindmap.

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 description indicates when to use the tool (e.g., to update the mind map) and mentions project context support, but does not provide when-not-to-use guidance or alternative tools.

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/nerfels/mind-map'

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