Skip to main content
Glama

slo_canary_check

Compare production metrics against defined SLOs to detect violations per critical user journey and generate actionable recommendations for quality follow-up.

Instructions

🕯️ Compara métricas de produção vs SLOs definidos. Detecta violações de SLOs por CUJ e gera recomendações.

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": "slo_canary_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesCaminho do repositório
productYesNome do produto
slosFileNoCaminho para slos.json (opcional, usa qa/<product>/tests/analyses/slos.json)
prodMetricsFileNoCaminho para prod-metrics.json (opcional, usa qa/<product>/tests/analyses/prod-metrics.json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses little beyond the high-level flow. It does not say whether the check is read-only or writes recommendation artifacts, where recommendations are emitted, whether missing/absent metric files cause a failure, or what the result looks like — 'gera recomendações' is the only hint at output.

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?

Two short sentences, front-loaded with the core comparison and followed by the detection/recommendation outcome; nothing is redundant. The leading emoji is decorative noise but costs little.

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 tool with no annotations and no output schema, the description should explain the return shape and whether it mutates anything; 'gera recomendações' is too thin. It also leaves 'CUJ' undefined, which matters for interpreting the violation grouping. It is adequate to select the tool, but not fully complete for invoking and interpreting it.

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% for all four parameters, including the default paths for slosFile and prodMetricsFile, so the schema already carries the parameter semantics. The description adds nothing about expected formats or how defaults resolve, so the baseline of 3 applies.

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 chain — 'Compara métricas de produção vs SLOs definidos' plus 'Detecta violações de SLOs por CUJ' and 'gera recomendações' — so an agent can tell this is an SLO compliance evaluation rather than an ingest or reporting tool. It never names a sibling to contrast with (e.g. prod_metrics_ingest or release_quality_gate), which keeps it from 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?

Usage is only implied: the tool clearly needs production metrics and SLO definitions, and the schema defaults point at slos.json / prod-metrics.json. There is no explicit statement of when to prefer this over release_quality_gate or report, and no stated prerequisites such as having run prod_metrics_ingest first.

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