Skip to main content
Glama
HieuAnh87

selfhosted-sentry-mcp

by HieuAnh87

get_sentry_issue

Retrieve detailed information about a Sentry issue, including stack traces, with filtering options to control response size.

Instructions

Retrieve details for a specific Sentry issue by ID or URL, including the stacktrace from the latest event. Supports filtering and automatic truncation to reduce response size.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
grep_patternNoOptional: Regex pattern to filter response content.
exclude_fieldsNoOptional: List of fields to exclude (blacklist). Use dot notation for nested fields.
include_fieldsNoOptional: List of fields to include (whitelist). Use dot notation for nested fields (e.g., "latest_event.entries").
issue_id_or_urlYesSentry issue ID or full issue URL. Issue ID is a number e.g: 123456
max_stack_framesNoOptional: Maximum number of stack trace frames to return (default: all).
include_latest_eventNoInclude latest event details (default: false to reduce response size)
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions filtering and automatic truncation to reduce response size, which is useful, but does not detail the truncation mechanism, error handling, or any side effects. It also notes that latest event details are only included if requested.

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?

The description is a single, well-structured sentence that conveys the core purpose, key features (stacktrace, filtering, truncation), and input method (ID or URL). Every part is informative and there is no redundancy.

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?

Given the tool has 6 parameters, no output schema, and no annotations, the description should provide more context about response structure, error cases, and the effect of filters. It mentions truncation but not how to control it. It is adequate but leaves several aspects unexplained.

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?

All six parameters have descriptions in the input schema, so schema coverage is 100%. The description adds the concept of 'filtering and automatic truncation' but does not materially extend meaning beyond the schema. Baseline 3 is appropriate.

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 that the tool retrieves details for a specific Sentry issue by ID or URL, including the stacktrace from the latest event. This distinguishes it from sibling tools like list_issues which list multiple issues, or get_sentry_event_details which focuses on events.

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 implies the tool is for fetching details of a known issue, but it does not explicitly state when to use this tool over alternatives like list_issues or get_sentry_event_details. No guidance on prerequisites or exclusions.

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/HieuAnh87/sentry-selfhosted-mcp'

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