Skip to main content
Glama
Sentry MCP

Sentry MCP

Official
by getsentry

Render Issue Chart

render_issue_chart
Read-only

Chart a Sentry issue's events and affected users over time, returning all time buckets so you can inspect trends in an interactive chart.

Instructions

Chart a Sentry issue's events and affected users over time, like the graph on the issue page. Returns every bucket of both series, and MCP Apps hosts show it as an interactive chart.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "render_issue_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoAbsolute end, ISO 8601; requires start.
freshNoBypass cached reads.
startNoAbsolute start, ISO 8601; requires end.
periodNoRelative time window, e.g. `24h`, `7d`; defaults to 14d.
issueIdNoThe issue short ID, e.g. `PROJECT-1Z43`.
issueUrlNoThe issue URL, e.g. https://my-org.sentry.io/issues/PROJECT-1Z43
regionUrlNo
organizationSlugNoThe organization slug, from `find_organizations`. In `org/project` notation, the part before the slash.

Output Schema

NameRequiredDescriptionDefault
urlYes
peakYesHighest bucket that is no longer receiving data; null for grouped charts.
toolYesTool that drew this chart; changing the range calls it again.
queryYes
timesYesStart of each bucket, oldest first; shared by every series.
titleYes
yAxisYes
seriesYesOne series per measure or top group, most events first.
datasetYes
groupByYes
intervalYesBucket size, such as 5m or 1h.
ingestionYes
timeRangeYes
valueTypeYesSuch as integer, number, duration, percentage, or size.
valueUnitYesSuch as millisecond or byte.
incompleteYesIndexes into `times` of buckets still receiving data, whose values may rise.
outsideRetentionYesIndexes into `times` of buckets that start before the retention window, so older data is missing and the value will not change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the description is not responsible for the safety profile. It nonetheless adds two useful facts beyond the annotations: the result includes 'every bucket of both series' (i.e., no downsampling), and rendering as an interactive chart is host-dependent ('MCP Apps hosts show it as...'). This host-conditional behavior is exactly the kind of context structured fields cannot express.

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?

A single sentence of roughly thirty words, front-loaded with the verb and resource, then the return granularity, then the host rendering note. No filler, no repetition of the title, and every clause carries distinct 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?

An output schema exists, so the description need not enumerate the returned buckets, and it correctly stays brief. The remaining gap is precedence among the three issue-identifying parameters (issueId, issueUrl, organizationSlug/regionUrl) across eight optional parameters, which the description never addresses.

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 88%, so the schema already explains issueId, issueUrl, period, start/end, fresh, organizationSlug, and regionUrl in detail. The description contributes no additional parameter meaning, such as precedence between issueId and issueUrl or between period and start/end. The baseline 3 for high coverage 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?

The description uses a specific verb ('Chart') and names both the resource (a Sentry issue's events) and the two series produced (events and affected users over time). It also anchors the output by analogy to 'the graph on the issue page', which makes the intent unmistakable. It stops short of distinguishing itself from the sibling render_sentry_chart, so it misses a 5.

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 phrase 'like the graph on the issue page' implies the natural use case of visualizing an issue's trend, but there is no explicit when-to-use, when-not-to-use, or alternative named. With a generic sibling like render_sentry_chart present, an agent receives no guidance on which to pick.

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