Skip to main content
Glama

gograph_summary

Read-onlyIdempotent

Retrieve top hotspots, worst instability, highest complexity, orphan count, and god-object count in a single call. Replaces five separate metric tools.

Instructions

Single-call codebase briefing: top 3 hotspots (most-called symbols), worst instability package, highest cyclomatic complexity function, total orphan count, and god-object count. Requires .gograph/graph.json — run gograph build . first. Read-only; no side effects. WHEN TO USE: At the very start of any session — replaces running gograph_hotspot + gograph_coupling + gograph_orphans + gograph_complexity + gograph_godobj separately (5 calls → 1). NOT TO USE: For detailed drill-down into a specific metric (use the dedicated tool after reviewing summary). RETURNS: JSON with symbols, packages, hotspots[], worst_instability, top_complexity, orphan_count, and god_object_count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds valuable context beyond annotations: it specifies a prerequisite ('Requires .gograph/graph.json — run gograph build . first'), confirms read-only and no side effects, and lists the exact metrics returned. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with 5 sentences, front-loading the key metrics. It includes clear WHEN TO USE and NOT TO USE sections. Slight redundancy exists (e.g., 'Read-only; no side effects' is already implied by annotations), but overall it's well-structured and scannable.

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 zero parameters, complete annotation coverage, and no output schema, the description covers the tool's purpose, prerequisites, usage guidance, and return fields (listing specific keys). The return structure is sufficiently described for an agent to interpret the JSON output. Minor improvement could be a brief note on pagination or size limits, but not required.

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 input schema has no parameters (0 params), so baseline is 4. The description adds no parameter details because none exist. No deduction needed.

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 provides a single-call codebase briefing with specific metrics: top 3 hotspots, worst instability package, highest cyclomatic complexity function, total orphan count, god-object count. It distinguishes from siblings by explicitly naming the five separate tools it replaces (gograph_hotspot, gograph_coupling, etc.), making its unique purpose clear.

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

Usage Guidelines5/5

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

The description explicitly states when to use: 'At the very start of any session' and explains it replaces five separate calls. It also specifies when NOT to use: 'For detailed drill-down into a specific metric (use the dedicated tool after reviewing summary),' providing clear exclusions and alternatives.

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/ozgurcd/gograph'

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