Skip to main content
Glama

list_errors

Read-onlyIdempotent

List the error responses (4xx and 5xx) of an app, one row per endpoint and status code.

requests is the number of error responses and consumers the number of affected consumers. Client errors marked as expected with update_error_config come last, with expected true. Otherwise ordered by requests, descending, in pages of 50. Get the details of an error with get_error. Errors are kept for 13 months. Endpoints excluded with update_endpoint_config are left out.

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

Input Schema

NameRequiredDescriptionDefault
envNoOnly requests of this environment, by name from list_apps
pathNoOnly requests to endpoints matching this path, ignoring case, * matches any characters
sinceNoStart of the time range as an ISO 8601 timestamp or duration counted back from now (PT30M, PT24H, P7D), by default 24 hours before until
untilNoEnd of the time range in the same formats as since, by default now
app_idYesApp ID from list_apps
methodNoOnly requests to endpoints with one of these HTTP methods
timezoneNoThe user's IANA time zone name, for since and until without an offset and for timestamps in the result, by default UTC
next_tokenNonext_token of the previous result, passed together with the same arguments to get the next page
consumer_idNoOnly requests of this consumer, by ID from list_consumers
status_codeNoOnly requests with this status code
consumer_groupNoOnly requests of consumers in this group, by name from list_consumer_groups

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it defines column semantics (requests vs consumers), the ordering rule (expected errors last with expected=true, otherwise requests descending), the page size of 50, and the retention window. These are behavior facts an agent cannot derive from annotations or schema.

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?

Front-loaded with purpose and granularity, then behavior details in a compact paragraph with no filler. Slightly dense in the middle (ordering and expected-flag rules in one sentence), but every sentence carries information.

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 11 parameters and no output schema, the description does the needed work by describing columns, ordering, and pagination. It stops short of sketching a fuller result row shape or noting which filters combine, but nothing essential for a correct call is missing.

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 defaults, formats, and filters are already documented in the schema itself. The description adds meaning about result columns and ordering but nothing about individual parameter syntax beyond what the schema provides, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (list), resource (error responses, 4xx and 5xx), and the aggregation granularity (one row per endpoint and status code). It also names the sibling get_error for per-error detail, so an agent can distinguish listing from detail retrieval without opening either schema.

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

Usage Guidelines4/5

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

Explicitly routes detail-seeking calls to get_error, and implicitly frames this tool as the overview/list operation. It also states two important scope constraints (13-month retention, endpoints excluded via update_endpoint_config are omitted), but there is no explicit guidance on when to prefer this over search_request_logs for error investigation.

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