Skip to main content
Glama

Get an error issue

errors.get
Read-onlyIdempotent

One issue with its latest event and stack trace. issue_id is the numeric id from errors.list. Scope: logs:read.

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": {
      "issue_id": "<issue_id>"
    },
    "name": "errors.get"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchNoBranch (environment) id. Optional: defaults to `production`.
issue_idYesNumeric issue id from errors.list
project_idNoProject id. Optional: defaults to the project created or used last in this session, or the only one.
organization_idNoOrganization id. Optional: defaults to the token's organization, or the only one you belong to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 a closed world, so the safety profile is covered. The description adds beyond that: it states the required auth scope (logs:read) and that the result includes the latest event plus stack trace, which is genuine 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?

Two short sentences with no filler, and the payload description is front-loaded before the id-source and scope notes. Minor awkwardness in the verbless opening sentence, but nothing is wasted.

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?

For a read-only single-record fetch with four documented params and no output schema, the description covers what is returned (event + stack trace), the id provenance, and the scope. It leaves out a little on response shape or whether history is included, but nothing an agent needs to invoke it correctly 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% and each of branch, project_id, organization_id documents its own defaulting rules. The description's only parameter remark restates the schema's own wording for issue_id, adding no new format or range detail, so baseline 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?

Names the specific resource (a single error issue) and the payload returned (latest event and stack trace), and ties issue_id to errors.list so the agent can distinguish it from the list sibling. The opening is a fragment without an explicit verb, but the title and name supply it.

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?

Pointing at errors.list as the source of issue_id implicitly routes the agent to the list tool first, and the 'Scope: logs:read' note signals the required permission. There is no explicit statement of when to prefer this over errors.list or log-oriented siblings like logs.get, so usage is only implied.

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