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
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
detector_id required | integer | The ID of the monitor you'd like to query. |
name | string | Name of the monitor. |
type | string | The type of monitor - metric_issue. |
workflowIds | array | The IDs of the alerts to connect this monitor to. Use the 'Fetch Alerts'… |
dataSources | array | The data sources for the metric monitor to use based on what you want to… |
config | object | The issue detection type configuration. - detectionType - static: Threshold… |
conditionGroup | object | Issue detection configuration for when to create an issue and at what priority… |
owner | string | The ID user or team who owns the monitor or alert prefaced by the string… |
description | string | A description of the monitor. Will be used in the resulting issue. |
enabled | boolean | Set 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:
{
"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:
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 ….