Skip to main content
Glama

Errors and crashes

get_errors
Read-onlyIdempotent

Errors and crashes of one app in a period: crash-free sessions, crashes, errors and affected users, the same per app version, and the 20 largest error groups. The same numbers as the portal Errors screen.

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": {
      "app_id": "<app_id>"
    },
    "name": "get_errors"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOptional end (exclusive), RFC 3339 instant with offset; use with from.
fromNoOptional start, RFC 3339 instant with offset (for example 2026-11-01T00:00:00Z); use with to.
app_idYesApp id from list_apps.
periodNotoday, yesterday, 7d, 30d or 90d (UTC days, today included). Ignored when from and to are given.7d
test_modeNotrue reads test (debug) signals only; false (default) reads real signals only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely useful behavior context: results are scoped to a single app and period, include a per-version breakdown, and cap error groups at the 20 largest, plus the framing that figures match the portal Errors screen. It stops short of noting truncation semantics or whether counts are sampled.

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?

Two sentences, front-loaded with the core resource and scope, followed by a one-line equivalence statement. Every clause carries information about what is returned; there is no filler or repetition of the title.

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?

With no output schema, the description usefully substitutes by enumerating the returned metrics, which is what an agent most needs to decide whether to call it. Remaining gaps are minor: it does not clarify how the version breakdown is keyed or how time bucketing interacts with period versus from/to, though the schema covers the latter.

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 every parameter (app_id, period, from/to, test_mode) is already documented in the schema, including defaults and the UTC-day convention. The description only echoes the app and period scoping in prose and adds no syntax or precedence detail beyond the schema, 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 names a concrete resource and scope (errors and crashes for one app within a period) and enumerates the payload: crash-free sessions, crashes, errors, affected users, per-version breakdown, and the 20 largest error groups. That makes its content distinguishable from aggregate siblings like get_overview or get_funnel, though it never explicitly contrasts itself with them.

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: an agent can infer it should call this when it needs error/crash health for a single app. There is no explicit when-to-use or when-not guidance, and no routing away from alternatives such as top_signals or get_overview that may also surface error counts.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources