Skip to main content
Glama
isac322

pi-codegraph

by isac322

codegraph_status

Verify CodeGraph index health and pending sync status to prevent analysis errors due to outdated indexing.

Instructions

Report CodeGraph index health and pending synchronization state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathNoAbsolute path to the target project or worktree. Pi fills this with the active cwd when omitted; OMP child agents should pass their exact worktree path.
Behavior2/5

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

No annotations are provided, so the description must convey behavioral traits. The word 'Report' implies a read-only operation, but the description does not explicitly state that the tool is non-destructive, does not require authentication, or has any other behavioral constraints. For a read-only tool, this is a minimal but insufficient disclosure.

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 a single concise sentence that directly states the tool's purpose. There is no extraneous information, and it achieves front-loading of the core function. Every word earns its place.

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 tool is simple (one optional parameter, no output schema), and the description explains the purpose but not the expected output format or example values. Without an output schema, a brief note on what the report contains (e.g., 'Returns health status: green/yellow/red') would improve completeness. As is, it is minimally adequate.

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

Parameters3/5

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

Schema description coverage is 100%, with the parameter 'projectPath' already fully documented in the schema. The tool description adds no additional parameter information, but the baseline score is 3 when schema coverage is high. The description does not compensate for any gaps, nor is it necessary.

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: 'Report CodeGraph index health and pending synchronization state.' It uses a specific verb ('Report') and identifies the resource ('CodeGraph index health and pending synchronization state'). With no sibling tools listed, differentiation is not required, and the purpose is unambiguous.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, nor does it specify prerequisites or exclusions. There are no sibling tools to reference, but even a brief note on typical scenarios (e.g., 'Use to check if indexing is complete') would improve this dimension.

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/isac322/pi-codegraph'

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