Home / Servers / Sentry API / update_organization_detector

Update a Monitor by ID

An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.

Update a Monitor by ID Update an existing monitor [PUT /api/0/organizations/{organization_id_or_slug}/detectors/{detector_id}/]

Name on the gateway: sentry_api__update_organization_detector · may change things.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
detector_id requiredintegerThe ID of the monitor you'd like to query.
namestringName of the monitor.
typestringThe type of monitor - metric_issue.
workflowIdsarrayThe IDs of the alerts to connect this monitor to. Use the 'Fetch Alerts'…
dataSourcesarrayThe data sources for the metric monitor to use based on what you want to…
configobjectThe issue detection type configuration. - detectionType - static: Threshold…
conditionGroupobjectIssue detection configuration for when to create an issue and at what priority…
ownerstringThe ID user or team who owns the monitor or alert prefaced by the string…
descriptionstringA description of the monitor. Will be used in the resulting issue.
enabledbooleanSet to False if you want to disable the monitor.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "sentry_api__update_organization_detector",
  "arguments": {
    "organization_id_or_slug": "…",
    "detector_id": 0
  }
}

Or connect the Sentry API server directly, which lists 272 tools including this one:

Run in your terminal
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update a monitor by id tool with organization_id_or_slug set to ….

More from Sentry API