Skip to main content
Glama

sumo_qa_scan_repo

Scans a repository root and returns a compact QA summary with node, test-edge, command, and warning counts; optionally writes the full repo-map JSON to a file.

Instructions

Scan the repository at root and return a compact summary of its QA shape (node, test-edge, command and warning counts). write_to also writes the full repo-map JSON.

Input Schema

NameRequiredDescriptionDefault
rootYes
write_toNo
generator_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.42.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false. The description adds useful behavioral context beyond that: it says the normal return is a compact summary with specific count categories, and that `write_to` changes behavior by writing the full repo-map JSON. It does not discuss permissions, performance, or failure behavior, but the annotations carry much of the safety profile.

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, front-loads the main action and return value, and has no wasted wording. The parenthetical count list adds useful detail without becoming verbose.

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?

For a three-parameter tool with no output schema, the description explains the summary return values and the `write_to` side effect. However, it omits `generator_version` entirely and does not describe the structure of the full repo-map JSON or any failure conditions. It is adequate but incomplete for correct invocation.

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 for all three parameters. It explains `root` as the repository to scan and explains that `write_to` writes the full repo-map JSON, but `generator_version` is not mentioned at all. That is partial compensation, not full coverage.

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 states a specific verb and resource: scan the repository at `root` and return a compact QA-shape summary. It lists the exact counts included, so the purpose is clear. It does not distinguish this from the related sibling `sumo_qa_query_repo_map`, which is a notable sibling-differentiation gap.

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

Usage Guidelines2/5

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

The description explains what the tool does but gives no guidance on when to use it instead of `sumo_qa_query_repo_map` or other repo-analysis siblings. There are no exclusions, prerequisites, or decision criteria for invoking it.

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