Skip to main content
Glama
mehrdad03

LocalDev MCP

by mehrdad03

Get a cached project development snapshot

get_project_snapshot
Read-only

Retrieve a cached snapshot of a project including branch, working-tree state, recent commits, app roots, manifests, and top-level structure.

Instructions

Returns branch, working-tree state, recent commits, detected app roots, manifests, important docs, and top-level structure in one cached call. Cache invalidates when Git HEAD or status changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesProject key from list_projects.
forceRefreshNo
maxDocumentsNo
Behavior4/5

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

Beyond the readOnlyHint annotation, the description adds key behavioral context: the results are cached and invalidation triggers on Git HEAD/status changes. This helps the agent understand caching semantics and when data might be stale.

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?

Two sentences with no filler: the first lists returned content, the second clarifies cache behavior. Front-loading the return value list is effective.

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?

The description enumerates returned data items but lacks detail on output structure or how parameters like forceRefresh affect behavior. Given no output schema, more completeness would be beneficial.

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?

Only the 'project' parameter is described in the schema; the description does not address 'forceRefresh' or 'maxDocuments'. With 33% schema coverage, the description could have compensated by explaining these parameters, but it does not, leaving the agent to guess their meaning.

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 explicitly lists the exact data returned (branch, working-tree state, recent commits, etc.) and uses a clear verb 'Returns'. It distinguishes from siblings like get_project_info and get_project_tree by emphasizing the comprehensive cached snapshot.

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 implies usage for a full project overview via 'in one cached call', but it does not explicitly state when to prefer this tool over alternatives like get_project_info or list_directory. No exclusions or prerequisites are mentioned.

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/mehrdad03/localdev-mcp'

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