Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 38 additions & 3 deletions products/error_tracking/mcp/tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -412,13 +412,36 @@ tools:
the user before reducing it.
error-tracking-severity-rules-create:
operation: error_tracking_severity_rules_create
enabled: false
enabled: true
scopes:
- error_tracking:write
annotations:
readOnly: false
destructive: false
idempotent: false
title: Create error tracking severity rule
description: >
Create an error tracking severity rule for the current project. Provide `filters` and the `severity` to
assign when a newly created issue first matches this rule. Supported severities are `low`, `medium`, `high`,
and `critical`. Use `order_key` to set the evaluation priority. Lower values run first, and only the first
matching rule applies. Rules do not change existing issues.
error-tracking-severity-rules-destroy:
operation: error_tracking_severity_rules_destroy
enabled: false
error-tracking-severity-rules-list:
operation: error_tracking_severity_rules_list
enabled: false
enabled: true
scopes:
- error_tracking:read
annotations:
readOnly: true
destructive: false
idempotent: true
title: List error tracking severity rules
description: >
List error tracking severity rules for the current project. Returns rules in evaluation order with their
filters, assigned severity, order key, and disabled state. Read the existing rules before creating or
updating one because only the first matching rule applies.
error-tracking-severity-rules-partial-update:
operation: error_tracking_severity_rules_partial_update
enabled: false
Expand All @@ -430,7 +453,19 @@ tools:
enabled: false
error-tracking-severity-rules-update:
operation: error_tracking_severity_rules_update
enabled: false
enabled: true
scopes:
- error_tracking:write
annotations:
readOnly: false
destructive: false
idempotent: true
title: Update error tracking severity rule
description: >
Update an error tracking severity rule by ID. Include `filters`, `severity`, or both. Omitted fields keep
their existing values. Supported severities are `low`, `medium`, `high`, and `critical`. Updating filters
recompiles the rule and clears any auto-disable state. Changes apply only to issues created after the
update.
error-tracking-spike-detection-config-list:
operation: error_tracking_spike_detection_config_list
enabled: false
Expand Down
42 changes: 42 additions & 0 deletions services/mcp/schema/generated-tool-definitions.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions services/mcp/schema/tool-definitions-all.json
Original file line number Diff line number Diff line change
Expand Up @@ -3646,6 +3646,48 @@
"readOnlyHint": false
}
},
"error-tracking-severity-rules-create": {
"description": "Create an error tracking severity rule for the current project. Provide `filters` and the `severity` to assign when a newly created issue first matches this rule. Supported severities are `low`, `medium`, `high`, and `critical`. Use `order_key` to set the evaluation priority. Lower values run first, and only the first matching rule applies. Rules do not change existing issues.",
"category": "Error tracking",
"feature": "error_tracking",
"summary": "Create error tracking severity rule",
"title": "Create error tracking severity rule",
"required_scopes": ["error_tracking:write"],
"annotations": {
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false
}
},
"error-tracking-severity-rules-list": {
"description": "List error tracking severity rules for the current project. Returns rules in evaluation order with their filters, assigned severity, order key, and disabled state. Read the existing rules before creating or updating one because only the first matching rule applies.",
"category": "Error tracking",
"feature": "error_tracking",
"summary": "List error tracking severity rules",
"title": "List error tracking severity rules",
"required_scopes": ["error_tracking:read"],
"annotations": {
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true,
"readOnlyHint": true
}
},
"error-tracking-severity-rules-update": {
"description": "Update an error tracking severity rule by ID. Include `filters`, `severity`, or both. Omitted fields keep their existing values. Supported severities are `low`, `medium`, `high`, and `critical`. Updating filters recompiles the rule and clears any auto-disable state. Changes apply only to issues created after the update.",
"category": "Error tracking",
"feature": "error_tracking",
"summary": "Update error tracking severity rule",
"title": "Update error tracking severity rule",
"required_scopes": ["error_tracking:write"],
"annotations": {
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true,
"readOnlyHint": false
}
},
"error-tracking-suppression-rules-create": {
"description": "Create an error tracking suppression rule for the current project. WARNING: matching errors are suppressed indefinitely — dropped at ingestion and will not appear as issues until the rule is disabled or deleted. Scope `filters` tightly to the exact exception type, message, URL, or properties you want gone. Do NOT create match-all rules (omitting `filters`) or broad rules — they silently swallow unrelated errors and cause data loss that is hard to detect after the fact. If unsure, set `sampling_rate` below `1.0` so only a fraction of matches are dropped (e.g. `0.5` drops half) rather than all of them. Confirm with the user before creating any rule that could match more than one distinct error.",
"category": "Error tracking",
Expand Down
Loading
Loading