Skip to main content
Glama

gograph_untested

Read-onlyIdempotent

Scan the full Go call graph to identify production functions and methods lacking static test attribution. Use for test census or pre-release hardening without measuring runtime coverage.

Instructions

Sweep the full graph in one pass and return called production functions and methods without an exact/static attributed test edge. The MCP server checks freshness before this call and refreshes in the current requested analysis mode; precise graphs separately type-resolve compiling test packages. Exact direct selectors and local method values suppress only their resolved symbol, avoiding same-name receiver conflation. CHA interface targets remain visible with test_resolution=possible and possible_test_count instead of silently satisfying exact coverage; test_resolution=none means no attributed or bounded-possible test target was found. Repeatable CLI --exclude globs map to the MCP exclude string array and match repository-relative source paths lexically without filesystem access. This is static attribution, not runtime coverage proof. Read-only; no side effects. WHEN TO USE: During test census or pre-release hardening. Distinct from gograph_orphans (zero production callers) and replaces N sequential gograph_tests calls. NOT TO USE: For running tests or proving branch execution. RETURNS: JSON array sorted by caller_count descending with name, kind, file, line, caller_count, package, test_resolution, and optional possible_test_count; empty when every called symbol has an exact/static or historical parser-attributed test edge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pkgNoOptional package name substring to filter results (e.g. 'cli', 'search')
topNoLimit results to top N by caller count (0 = all, default)
excludeNoRepository-relative path globs to exclude; use prefix/** for all descendants
Install Server

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish the safety profile (readOnly, idempotent, non-destructive), so the description earns credit for what it adds beyond them: freshness/refresh behavior, test_resolution=possible versus none semantics, CHA interface target handling, same-name receiver conflation suppression, 'static attribution, not runtime coverage proof', and lexical exclude matching without filesystem access. This is genuinely rich operational context, not a restatement of 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 long but dense, with every section earning its place: core semantics, resolution edge cases, parameter behavior, WHEN/NOT TO USE, and complete RETURNS format. The only redundancy is 'Read-only; no side effects', which duplicates the annotations; the rest is purely additive and appropriately front-loaded with the primary purpose before the details.

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?

This is a complex tool with no output schema, yet the description fully compensates: it documents the exact return shape ('JSON array sorted by caller_count descending with name, kind, file, line, caller_count, package, test_resolution, and optional possible_test_count'), the empty-result case, the meaning of test_resolution values, and the edge cases an agent would otherwise be blind to. Nothing needed for a correct invocation is missing, apart from external requirements.

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 description coverage is 100%, so the baseline is 3. The description adds meaningful extra meaning beyond the schema: exclude globs match repository-relative source paths lexically without filesystem access, map from CLI --exclude flags, and the return is sorted by caller_count descending, which clarifies the semantics of top. This is more than the schema alone provides, though the marginal gain is moderate.

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 states a specific verb and resource ('Sweep the full graph in one pass and return called production functions and methods without an exact/static attributed test edge') and sharpens the boundary with an explicit negative condition. It also differentiates from siblings by name (gograph_orphans, gograph_tests), so an agent can identify this tool among more than 60 siblings without opening any schema.

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?

Provides explicit WHEN TO USE ('test census or pre-release hardening'), NOT TO USE ('for running tests or proving branch execution'), and names the alternatives ('Distinct from gograph_orphans... replaces N sequential gograph_tests calls'). The routing decision is fully stated, leaving nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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