Skip to main content
Glama

get_sentry_issues

Read-only

List recent unresolved Sentry issues by project slug to review error titles, counts, and first-seen timestamps.

Instructions

Lists recent unresolved issues from a Sentry project by project slug. Returns JSON array with issue id, title, culprit, count, and first_seen. Optional limit (default 5). Requires SENTRY_ORG_SLUG and SENTRY_AUTH_TOKEN environment variables.

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_slug": "<project_slug>"
    },
    "name": "get_sentry_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
project_slugYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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, openWorldHint=true, and idempotentHint=false, so the safety profile is covered. The description adds context the annotations do not: it states the return payload shape (JSON array with id, title, culprit, count, first_seen), the default limit of 5, and the required SENTRY_ORG_SLUG and SENTRY_AUTH_TOKEN environment variables. It does not mention pagination, rate limits, or error behavior on a bad slug, which keeps it below a 5.

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?

Three short sentences, each doing distinct work: purpose, return shape, and prerequisites/limit. The key scoping information (project slug, unresolved, recent) is front-loaded with no filler.

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 two-parameter read tool, the definition covers purpose, required credentials, default limit, and result fields, which is enough to invoke it correctly. An output schema exists, so the brief field list is supplementary rather than essential, and the only real gap is the undocumented range for limit.

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 0%, so the description carries the burden for both parameters. It adds meaning for project_slug (identifies the Sentry project) and limit (default 5), but gives no valid range, maximum, or behavior when limit is omitted vs. large, leaving the integer parameter partially undocumented.

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 gives a specific verb and resource ("Lists recent unresolved issues") plus a scope qualifier ("from a Sentry project by project slug"), so the agent can tell what it retrieves. It does not explicitly contrast with sibling tools such as get_github_actions_runs or get_jira_ticket, but those target different systems, so confusion risk is low.

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?

Usage is implied by "recent unresolved issues" and the requirement of a project slug, which tells the agent this is a read of open Sentry issues. There is no explicit when-to-use vs. when-not guidance and no named alternative for other query shapes (e.g., resolved issues or other projects).

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