Skip to main content
Glama

find_coverage_gaps

Identify public symbols unreachable from any test entry point via the call graph, so you can see where to add tests next.

Instructions

List public symbols in a repo that no test entry point can reach via the call graph. Use this to find where to add tests next.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repo_path": "<repo_path>"
    },
    "name": "find_coverage_gaps"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
repo_pathYes
min_complexityNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add meaningful behavioral context by naming the analysis method (call-graph reachability from test entry points, implying a static read-only analysis), but it never defines what counts as a 'test entry point', whether dynamic coverage is considered, or how expensive the scan is on a large repo.

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 short sentences, front-loaded with the operation and followed by the actionable purpose. Every clause earns its place with no restatement of the name or filler.

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?

Because an output schema exists, return values need not be described, and the core definition of the tool is clear. Still, for a three-parameter tool with no annotations, leaving 'min_complexity' and 'limit' entirely undefined and the definition of 'test entry point' unstated leaves real gaps an agent must guess at.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so all three parameters rest on their bare names. 'repo_path' is self-evident, but 'min_complexity' is genuinely ambiguous — it is unclear which complexity measure applies or how it narrows results — and 'limit' is never explained as a result cap. The description compensates for none of this.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('List public symbols in a repo') plus a precise scoping condition ('that no test entry point can reach via the call graph'), which separates it from siblings like find_dead_code or find_complexity. It stops short of naming any sibling explicitly, so differentiation must be inferred from the mechanism.

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

Usage Guidelines3/5

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

'Use this to find where to add tests next' implies when the tool is valuable, giving a clear use case. However, there is no guidance on when NOT to use it, no prerequisites, and no mention of which sibling (e.g. find_dead_code, find_complexity) would be the alternative for adjacent questions.

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