Skip to main content
Glama

sumo_qa_record_mutation

Validate host-collected mutation testing results and save them to .sumo-qa/mutation.json for QA reporting, keeping relative write paths inside the project root.

Instructions

Validate a host-collected mutation summary and save it as .sumo-qa/mutation.json for the QA report; a relative write_to stays inside root. mutation: survivors, killed (>= 0; omit for not measured), freshness (fresh / stale / unknown / absent), detail, source_tool, generated_at. Reported, never gated.

Input Schema

NameRequiredDescriptionDefault
rootYes
mutationYes
write_toNo.sumo-qa/mutation.json

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.48.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare write, non-destructive, non-idempotent, closed-world. The description adds meaningful behavior: it validates input, enforces path containment for relative write_to, and clarifies that results are reported rather than gated. Overwrite semantics are not mentioned, but the key behavioral traits are disclosed.

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 front-loaded with the primary action and uses compact notation for parameter fields. It is dense but waste-free, with minor readability cost from semicolons and backticks.

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 write tool with no output schema and 0% schema coverage, the description covers the essential behavior: validation, artifact location, path safety, parameter fields, and non-gating reporting. Minor gaps remain around root semantics and overwrite behavior, but the definition is sufficient for correct invocation.

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 0%, so the description must carry the burden. It thoroughly describes the mutation object fields (survivors, killed with >=0 and omission semantics, freshness enum values, detail, source_tool, generated_at) and explains write_to path containment and default. The root parameter is only implicitly described via containment, leaving a small gap.

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?

States a specific verb+resource: validate and save a host-collected mutation summary to a defined artifact path. The resource (mutation summary) is distinct from sibling tools like record_coverage, though the description does not explicitly differentiate from siblings.

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?

Clear context is given: use for a host-collected mutation summary to feed the QA report, and note that results are 'reported, never gated'. No explicit when-not conditions or named alternatives are provided, but the intended usage is sufficiently clear.

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