Skip to main content
Glama
Airbrake MCP Server

Airbrake MCP Server

by Dach3r

search_errors

Find Airbrake errors by matching text queries against messages, classes, and files; filter by environment and limit results to narrow troubleshooting.

Instructions

Search errors by text query, filtering by message, class, file, or any text content

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": {
      "query": "<query>"
    },
    "name": "search_errors"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results (default: 20)
queryYesSearch query to match against error messages, classes, files, etc.
environmentNoFilter by environment

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

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 does not disclose whether this is read-only, what permissions are needed, how results are ordered, or whether results are paginated. It only names the filterable fields, which is closer to schema restatement than behavioral context.

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. Minor redundancy in "message, class, file, or any text content," since the catch-all makes the enumeration partly self-repeating.

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 simple three-parameter read tool with no output schema, the description covers the core search semantics but omits return shape, ordering, and how results relate to the sibling listing tools. Adequate but with clear gaps an agent would hit on first use.

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 are already documented, and the baseline of 3 applies. The description does clarify that the query matches against message, class, file, or any text content, adding a little meaning beyond the schema's "etc." but no syntax or matching-behavior detail.

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 ("Search errors") plus the matching dimensions (message, class, file). It is clearly distinguishable from mutation siblings like resolve_error or add_error_comment, but it never distinguishes itself from the closest read siblings such as list_errors or filter_errors_by_status.

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?

The phrase "by text query" implies when to use it (free-text lookup rather than status filtering), but there is no explicit guidance on when to prefer this over list_errors or filter_errors_by_status. No prerequisites or exclusions are stated.

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