Skip to main content
Glama
dorkian

code-graph-mcp

by dorkian

Reindex repo

reindex

Update the code knowledge graph after edits. Apply incremental refresh for changed files, or rebuild from scratch.

Instructions

Refresh the graph. Incremental by default (only changed files reparsed); pass full:true to rebuild from scratch. Call after significant code edits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNo
Behavior3/5

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

No annotations provided, so description must carry burden. It explains the two modes (incremental and full) but does not disclose whether the operation is safe, reversible, or has side effects beyond updating the graph.

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 wasted words. The key action and parameter usage are front-loaded, making it easy to parse.

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

Completeness4/5

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

Given the tool's simplicity (one optional parameter, no output schema), the description covers the purpose and usage adequately. Could mention return value or effect on state, but not essential.

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 has one boolean parameter with no description (0% coverage). The description adds meaning by specifying that `full:true` triggers a full rebuild, which compensates well.

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 it refreshes the graph and explains incremental vs full rebuild. It distinguishes from sibling tools that focus on relations or analysis, though could be more explicit about the graph's context.

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

Usage Guidelines4/5

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

Explicitly states when to call ('after significant code edits') and how to use the `full` parameter. No mention of when not to use, but the guidance is clear and actionable.

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/dorkian/code-graph-mcp'

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