Skip to main content
Glama
elad12390

Sentry MCP Server

by elad12390

sentry_get_issue_details

Retrieve comprehensive details of a Sentry issue: stack trace, breadcrumbs (events before error), request context, tags, and trace ID for root cause analysis.

Instructions

🔎 ROOT CAUSE TOOL - Use when the user asks: 'what happened before this error', 'show the stack trace', 'get context', 'why did this fail', 'details of this issue', 'what led to this', or as a follow-up after finding an interesting issue with sentry_search_issues. Fetches the full picture of one issue: summary (level, counts, first/last seen), the exception + stack trace, the BREADCRUMBS (the chronological events leading UP TO the error - the equivalent of 'logs before'), request context, tags, and the trace ID for cross-service investigation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventNoWhich event to inspect: 'latest' (default), 'oldest', 'recommended', or a specific event ID.
issue_idYesThe numeric Sentry issue ID (the 'id' field from sentry_search_issues results, e.g. '7244297102').
reasoningYesExplanation of why you are inspecting this issue.
max_framesNoHow many stack frames to show per exception (innermost first). Default: 15.
max_breadcrumbsNoHow many of the most recent breadcrumbs (events before the error) to show. Default: 20.
Behavior4/5

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

No annotations are provided, so the description carries full burden. It details what information is returned (summary, stack trace, breadcrumbs, etc.) and explains breadcrumbs as 'chronological events leading UP TO the error'. It does not mention potential limitations like rate limits or output size, but covers core behavioral traits well.

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 moderately long but well-structured with an opening emoji marker, clear sections, and a list of triggers. Every sentence contributes to understanding. Could be slightly more concise, but still efficient.

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?

No output schema is provided, but the description lists the return components (summary, stack trace, breadcrumbs, etc.). With 5 parameters fully described in schema, the description provides enough context for an agent to know what the tool does and what to expect. Lacks details on output structure but sufficient given no schema.

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

Parameters4/5

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

Schema description coverage is 100%, so baseline is 3. The description adds value by explaining the purpose of breadcrumbs and frames (e.g., 'how many stack frames to show per exception (innermost first)') and emphasizing that 'reasoning' is for explanation. This extra context helps the agent understand parameter usage beyond the schema.

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?

The description clearly states the tool's purpose as 'ROOT CAUSE TOOL' and lists specific user queries that trigger it. It explicitly describes what is fetched (summary, stack trace, breadcrumbs, etc.) and distinguishes from sibling tools like sentry_search_issues and sentry_trace_lookup.

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?

The description provides explicit triggers for usage (e.g., 'what happened before this error', 'show the stack trace') and suggests it as a follow-up after sentry_search_issues. It implicitly contrasts with sibling tools but does not explicitly state when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elad12390/sentry-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server