Skip to main content
Glama

get_runtime_errors

Read-only

Retrieve grouped runtime errors for a project or deployment, showing each distinct error once with occurrence count and an example—start here when an app misbehaves.

Instructions

Errors of the running app, grouped: each distinct error once, with how many times it appeared and an example. Start here when the app misbehaves.

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": {
      "project_id": "<project_id>"
    },
    "name": "get_runtime_errors"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
deployment_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that grouping/deduplication happens server-side with counts and an example, which is useful framing, but since an output schema exists it need not carry that burden; nothing about ordering, time window, or volume limits is disclosed.

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 short sentences, front-loaded with what the tool returns, then a routing cue at the end. Nothing is wasted and no clause is redundant.

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?

Return values are covered by the output schema and the safety profile by annotations, so the core is adequate. What is missing is scoping guidance: no time window, no explanation of the optional deployment_id filter, and no hint about volume when the app has many distinct errors.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the two parameters, and the description mentions neither project_id nor deployment_id. It does not explain that deployment_id is optional or that omitting it widens the scope beyond a single deployment, so the low-coverage schema is not compensated for.

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 (runtime errors of the running app) and the exact shape of the result: deduplicated per distinct error, with occurrence count and a sample. That aggregation detail implicitly separates it from get_runtime_logs, though the sibling is never named.

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?

'Start here when the app misbehaves' gives a clear entry-point condition for the agent. It stops short of naming alternatives such as get_runtime_logs or saying when raw logs are preferable, so no exclusions are stated.

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