Skip to main content
Glama
Nishant-Chaudhary5338

mcp-code-indexer-react-ts

get_graph

Retrieve the code graph of a repository, defaulting to a compact summary on large repos, with options for full detail and filtering by type, depth, or fields.

Instructions

Read the code graph. Defaults to a compact summary on large repos (pass full:true for everything). Narrow with type/depth/lean/fields to keep output small.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNoForce the entire graph even when large
leanNoDrop status/knowledge/git/span from nodes
rootNoRepo root (defaults to cwd)
typeNoKeep only nodes of these types (e.g. component, function)
depthNoKeep only N levels from the repo root (contains tree)
fieldsNoWhitelist of node fields to return
summaryNoReturn only counts + top-level structure + cycle count
Behavior3/5

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

No annotations provided, so description carries full burden. Discloses default truncation behavior on large repos and the effect of 'full' and other parameters, but omits side effects, auth needs, or performance implications.

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, no fluff. First sentence states purpose, second provides usage guidance. Every sentence serves a purpose.

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 7 parameters and no output schema or annotations, the description covers core behavior (read, compact default, narrowing options) adequately. Missing explicit return description and sibling differentiation, but still reasonably complete.

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%, so description need not add much. It groups parameters ('type/depth/lean/fields') and explains default behavior for 'full', but adds limited new semantics beyond the schema.

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 'Read the code graph' with specific verb 'Read' and resource 'code graph'. It also mentions default behavior (compact summary) and the option for full graph, distinguishing it from sibling tools like find_cycles or blast_radius.

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?

Provides explicit guidance on narrowing output using parameters 'Narrow with type/depth/lean/fields to keep output small' and hints about default compact behavior on large repos. However, no explicit comparison to sibling tools or when-not to use.

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/Nishant-Chaudhary5338/mcp-code-indexer'

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