Skip to main content
Glama

Obter métricas de negócio

get_business_metrics

Retrieve business metrics including time to bug, defect cost, and flow coverage from executed test runs.

Instructions

Retorna métricas: tempo até bug, custo por defeito (tempo estimado), cobertura por fluxo. Requer run_tests executados e opcionalmente qa-lab-flows.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNoPeríodo para analisar. Default: 30d.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
summaryYes
timeToBugNo
flowCoverageNo
costPerDefectNo
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the tool requires prior run_tests execution and optionally reads qa-lab-flows.json, which is useful behavioral context. However, it does not explicitly state whether the operation is read-only or whether there are any side effects, leaving some ambiguity.

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-loaded with the returned metrics and followed by dependencies. Every sentence adds value and there is no redundant information.

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?

The description covers the tool's prerequisites and optional input file, while the output schema covers return values. It gives enough context to understand how the tool depends on other processes, making it complete for its complexity.

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?

The schema fully describes the single optional 'period' parameter with an enum and default, so the description does not need to add more. There is no additional parameter semantics in the description, but the baseline is adequate due to 100% schema coverage.

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's purpose: it returns specific business metrics (time to bug, cost per defect, coverage per flow). The verb 'Retorna' specifies the action, and the metric list distinguishes it from sibling analysis tools.

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?

It provides clear usage context by stating the prerequisite that run_tests must have been executed, and optionally the qa-lab-flows.json file. It does not explicitly mention alternatives or when-not-to-use scenarios, but the dependency on run_tests makes the intended context 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/Wesley-Gomes93/qa-lab-agent-mcp'

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