Skip to main content
Glama

graph_view

Render codebase structure as an ASCII graph. Provide a node name to show a tree of its children and connections, or leave blank for a full overview with entity counts. Adjust depth up to 5 levels.

Instructions

Visual ASCII graph. With node: tree of children and connections. Without: full overview with counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeNoNode name or qname to render as a tree. Leave blank for full overview.
depthNoTree depth. Default 2.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses the two operational modes and ASCII output. It does not mention destructive actions or auth needs, but for a visualization tool this is appropriate and non-contradictory.

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 concise sentences, no filler, front-loaded with the core purpose. Every word is meaningful.

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

Completeness5/5

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

Given the tool's simplicity (ASCII graph) and the presence of an output schema, the description and input schema fully cover the needed information. No gaps for effective use.

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?

The schema has 100% coverage with basic descriptions. The description adds value by explaining that the 'node' parameter renders a tree with children and connections, and omitting it gives an overview with counts. This goes beyond the schema's simple 'Node name or qname' description.

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 produces a visual ASCII graph and distinguishes two modes: with a node (tree view) and without (overview with counts). It is specific and distinct from sibling tools like trace, flow, or neighbours.

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 implies when to use each mode (with node for tree view, without for overview). It does not explicitly exclude scenarios or name alternatives, but the context is clear enough for an agent to decide.

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/James-Chahwan/repo-graph'

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