Skip to main content
Glama

App errors

app_errors
Read-onlyIdempotent

An app's grouped runtime errors, newest first: ERROR lines and uncaught-exception stacks from the log stream, grouped by fingerprint, plus the page beacon's browser-captured issues and proxy 5xx over the last hour. Pass status to filter open, resolved or ignored issues, source to filter server or browser issues. Untrusted: messages and frames may hold visitor text.

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": "<app>"
    },
    "name": "app_errors"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app slug.
sourceNoOnly issues from this capture source (`server` or `browser`); unset returns every source.
statusNoOnly issues with this status (`open`, `resolved` or `ignored`); unset returns every status.

Output Schema

NameRequiredDescriptionDefault
issuesYes
s5xx_last_hourYes
untrusted_noticeNo

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, non-destructive behavior, and closed-world access. The description adds useful behavior beyond that: grouping by fingerprint, newest-first ordering, a one-hour time window, multiple capture sources, and a warning that returned messages and frames contain untrusted visitor text.

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?

The description is front-loaded with the return scope and uses three sentences without filler. The first sentence is dense, but the untrusted-content warning in the final sentence earns its place.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and annotations cover the safety profile, so the description does not need to document return shape. It supplies the important aggregation semantics, time window, source coverage, and an untrusted-input warning, which is enough context for an agent to call the tool correctly.

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 the schema already documents app, source, and status, including the source and status enum values. The description restates that status filters open/resolved/ignored and source filters server/browser, but adds no format or default detail beyond the schema.

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 resource: an app's grouped runtime errors, with explicit scope including log-stream ERROR lines and uncaught-exception stacks, browser beacon issues, and proxy 5xx over the last hour. It does not explicitly name siblings such as app_logs or triage_error, so sibling differentiation is implicit rather than explicit.

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 description explains what filters are available but does not state when to choose this tool over app_logs, app_metrics, or triage_error, nor when not to use it. Usage context is implied by the returned content, but no alternatives or exclusions are given.

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.