Skip to main content
Glama

prod_metrics_ingest

Collect production metrics from Sentry, Datadog, Grafana, and Jira to calculate DORA metrics including change failure rate, MTTR, deployment frequency, and lead time for a product.

Instructions

📊 Coleta métricas de produção (Sentry, Datadog, Grafana, Jira) e calcula DORA metrics (CFR, MTTR, Deploy Freq, Lead Time).

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

Input Schema

NameRequiredDescriptionDefault
repoYesCaminho do repositório
periodNoPeríodo de coleta (start/end em ISO date)
productYesNome do produto
sourcesNoConfiguração de fontes externas (Sentry, Datadog, Grafana, Jira)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden. It never says whether 'ingest' writes or persists data, whether external API credentials/tokens are required for the four sources, how partial-source failures are handled, or what latency/cost to expect from fan-out collection. These are material gaps for a tool that reaches four external systems.

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?

A single front-loaded sentence that names inputs and computed outputs with no filler, though the leading emoji conveys no semantic value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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, no output schema, and nested source configuration, the description omits what the returned DORA metrics look like, whether results are persisted, and how source configuration failures surface. An agent has enough to recognize the tool but not enough to call it confidently.

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 all four parameters, including the nested period and sources objects, are already documented. The description adds only the mapping between the named metric systems and the sources parameter, plus the DORA outputs; baseline 3 is appropriate.

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 and resource: collects production metrics from named systems (Sentry, Datadog, Grafana, Jira) and computes DORA metrics named explicitly (CFR, MTTR, Deploy Freq, Lead Time). This tells an agent exactly what the tool produces, though it never contrasts itself with siblings like analyze or report, so differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus analyze, report, or release_quality_gate, and no prerequisites or exclusions. The agent must guess whether this is the right entry point for DORA reporting or a lower-level ingestion step.

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