Skip to main content
Glama
Airbrake MCP Server

Airbrake MCP Server

by Dach3r

get_error_trend

Retrieve occurrence trend data for a specific Airbrake error over a chosen date range to track changes in error frequency and identify spikes.

Instructions

Get occurrence trend data for a specific error over 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": {
      "error_id": "<error_id>"
    },
    "name": "get_error_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNoEnd date in ISO format (optional)
error_idYesThe ID of the error group
start_dateNoStart date in ISO format (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It implies a read via 'Get' but does not state whether the call is side-effect free, what happens when start_date/end_date are omitted (default window), what the time granularity or bucketing is, or how large a response could be.

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 with no filler or redundancy. It is efficient, though its brevity is also the source of the missing guidance rather than a virtue earned by completeness.

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?

The tool is simple (one required parameter) and all parameters are fully described in the schema, so the core call is makeable. Still missing is any sense of the returned trend shape (buckets, units, granularity) and the default time range, which matters for a time-series tool with no output schema. Adequate but with clear gaps.

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 three parameters (error_id, start_date, end_date) are already documented with types and ISO format notes. The description's phrase 'over time' only loosely gestures at the date bounds and adds no syntax or constraint detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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: 'Get occurrence trend data for a specific error over time.' The agent can tell this returns time-series occurrence data, distinct from a details or stats call. However, it does not name or contrast with any sibling such as get_error_details or get_project_stats, so differentiation must be inferred.

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?

There is no when-to-use guidance, no precondition (e.g. needing an error_id from list_errors), and no mention of alternatives for related questions. The agent must guess whether this is the right tool for aggregate project-level counts versus a single error's trend.

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