Skip to content

fix(mcp): Point get_sentry_resource at search_errors for errors list URLs - #2279

Draft
sentry-junior[bot] wants to merge 2 commits into
mainfrom
fix/mcp-resource-errors-explore-url
Draft

sentry-junior[bot] wants to merge 2 commits into
mainfrom
fix/mcp-resource-errors-explore-url

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

get_sentry_resource had no guidance for Explore > Errors (Discover) list pages, such as the weekly report email's /explore/errors/homepage/?dataset=errors&... link. Those fell through to "Could not determine resource type from URL", so agents rebuilt the page's project and time scope by hand with other tools (MCP user feedback MCP-SERVER-GQE).

This adds an UNSUPPORTED_URL_GUIDANCE entry for explore/errors, explore/errors-v2, explore/discover and legacy discover list pages (index, homepage, results, queries) that points at search_errors. These match the routes in getsentry/sentry static/app/router/routes.tsx. Unsupported-URL guidance now also lists the page's project, environment, statsPeriod/start/end and query params, so the caller can carry the scope over to the search tool.

Event-detail URLs (explore/errors/<project>:<eventId>/) are out of scope.

Fixes #2278

via automation evt_905b9c478746fd9deeb853f85ad7441b · Run ID dispatch_a156216a8080465c06ac0c79b49960ca.

--

View Session [Sentry]

…URLs

Explore > Errors (Discover) list URLs such as /explore/errors/homepage/
fell through to the generic 'Could not determine resource type' error,
so agents had to rebuild the page's project and time scope by hand.
Recognize these pages, point at search_errors, and list the page's
project, environment, time and query filters in the guidance.
@vercel

vercel Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Nov 15, 2026 8:12am UTC

Request Review

This branch was successfully deployed

1 active and 1 inactive deployments
Actions — d9e82ce9 Deployed Nov 15, 2026 by sentry-junior[bot] via eval #1918
Preview — d9e82ce9 Deployed Nov 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get_sentry_resource gives no guidance for Explore > Errors list URLs

0 participants