Skip to main content
Glama

code_graph_explain

Explain a symbol by showing its signature, file location, callers (inbound), and callees (outbound).

Instructions

Explain a symbol: signature, file location, callers (inbound edges), and callees (outbound). symbol is a name or fully-qualified name (e.g. 'permitted' or 'willow_mcp.gate.permitted'). Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idYes
symbolYes
db_pathNo
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it explicitly states 'Read-only' and details the output components. It also clarifies the symbol parameter format with examples. It could mention error handling or performance, but the core behavior is transparent.

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 sentences, efficiently front-loaded with the tool's purpose and output, followed by a concrete symbol example. No redundant or filler content.

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?

Without an output schema or annotations, the description covers the main purpose and symbol formatting, but omits details about `app_id` and `db_path` and the exact return structure. It is adequate for basic use but not fully 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 0%, so the description must compensate. It thoroughly explains the `symbol` parameter with naming conventions and examples, but does not explain `app_id` or `db_path`. This partial coverage is helpful but leaves the other parameters undocumented.

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 explains a symbol, listing specific outputs (signature, file location, callers, callees). This is a specific verb+resource and distinguishes it from sibling code graph tools like code_graph_search or code_graph_walk.

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?

The description provides clear context for when to use the tool (to explain a symbol) by specifying what it returns. However, it does not explicitly mention alternatives or when not to use it, so it falls short of a 5.

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/rudi193-cmd/willow-mcp'

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