Skip to main content
Glama

report

Generate consolidated MD, JSON, or HTML QA documentation from analysis, coverage, and mutation results, unifying findings for QA approval and saving outputs to the product QA test folder.

Instructions

📊 Gera relatórios consolidados (MD/JSON/HTML). Unifica resultados de análise, coverage, mutation em formato legível para aprovação de QA. [FASE 3] Relatórios sempre salvos em qa//tests/reports/

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": "<repo>",
      "product": "<product>"
    },
    "name": "report"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesCaminho do repositório (OBRIGATÓRIO para determinar qa/<product>/)
formatNoFormato: markdown|json|htmlmarkdown
productYesNome do produto (OBRIGATÓRIO para determinar qa/<product>/)
flakyPctMaxNoPercentual máximo de testes flaky
diffCoverageMinNoThreshold de diff coverage

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full disclosure burden and it does surface the key side effect: reports are always written to qa/<product>/tests/reports/, so the agent knows this persists a file at a product-scoped path. It does not say whether prior reports are overwritten, whether the source analysis data must already exist, or how the flaky/diff-coverage thresholds affect the run.

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?

Three short sentences, front-loaded with the action and formats before the storage path, with no filler. The emoji and the cryptic "[FASE 3]" marker add noise without information, but the total size is appropriate.

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 no-output-schema tool, the description usefully states where output lands on disk, which partially substitutes for a return contract. However, the two threshold parameters and their effect on the report are unexplained, and nothing says what happens when required analysis data is missing.

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 100%, so the schema already documents repo, product, format, and both thresholds; the description adds only the note about qa/<product>/ path derivation, which the schema states too. The baseline 3 is appropriate because the description contributes nothing new about flakyPctMax or diffCoverageMin behavior.

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 ("Gera relatórios consolidados") plus the output formats and the inputs it unifies (analyze, coverage, mutation results), which lets an agent place it downstream of the analysis/mutation siblings without opening the schema. It does not explicitly name a sibling it must not be confused with, so it falls short of a 5.

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?

"para aprovação de QA" and the "[FASE 3]" tag imply this runs after analysis/coverage/mutation as the final consolidation step, giving implied usage context. There is no explicit statement of when to use this instead of `analyze` or `release_quality_gate`, nor any prerequisite or exclusion.

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