Skip to main content
Glama

sumo_qa_record_coverage

Validate and persist a coverage summary into the QA report's coverage.json artifact.

Instructions

Validate a host-collected coverage summary and persist it as the .sumo-qa/coverage.json artifact the QA report loads (issue #147 follow-up). FILE/FORMAT PLUMBING ONLY — the host skill runs the coverage tool and the LLM reads its output (any format); this tool runs nothing and infers nothing.

Common natural-language phrasings that map to this tool: "record the coverage result", "save coverage into the QA report", "persist the coverage summary".

coverage is a dict with optional line_percent (0–100), freshness (fresh/stale/unknown/absent), detail (e.g. uncovered changed files), plus source_tool and generated_at provenance. Omit line_percent for a not-measured signal. Validation fails BEFORE any write. Coverage is REPORTED, never gated — it cannot flip a verdict.

write_to defaults to the conventional .sumo-qa/coverage.json under the target repo; a relative path is confined to root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootYes
coverageYes
write_toNo.sumo-qa/coverage.json
Behavior5/5

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

The description fully discloses behavioral traits beyond annotations: validation fails before write, coverage is reported not gated, and the tool's role as plumbing. Annotations are all false and consistent with the description.

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 well-structured with sections (purpose, phrasings, parameter details, behavior) and front-loaded. It is slightly lengthy but every sentence adds value.

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?

For a 3-parameter tool with nested objects and no output schema, the description is quite complete. It covers inputs, validation behavior, and special cases (omit line_percent). A minor gap is the lack of return value information, but the tool likely has no significant output.

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?

Despite 0% schema description coverage, the description thoroughly explains the 'coverage' dict structure (including optional fields and semantics) and the 'write_to' default and path constraint. 'root' is implied but not deeply detailed.

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 validates and persists a coverage summary as a specific artifact (.sumo-qa/coverage.json). It explicitly distinguishes this as 'plumbing only' and differentiates from siblings by focusing on recording rather than measuring coverage.

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?

Provides explicit common phrasings mapping to the tool and clarifies what it does not do (runs nothing, infers nothing). However, it does not explicitly list alternatives or when not to use it, though the context is clear.

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/sumithr/sumo-qa'

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