Rollbar MCP by usefulapi

v1.2.1
io.usefulapi/rollbar Checked 3 days ago Published 1 day ago

Read error items, occurrences and deploys; update item status and assignee in Rollbar.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

rollbar_list_projects List projects

List the projects in the account. Needs an account access token. Rollbar API: GET /api/1/projects.

rollbar_get_project Get a project

Get one project: name, status and settings. Uses the configured project ID unless project_id is given. Rollbar API: GET /api/1/project/{project_id}.

ParameterTypeDescription
project_idstringNumeric Rollbar ID.

rollbar_list_environments List environments

List the environments of the project (for example production or staging), 20 per page. Rollbar API: GET /api/1/environments.

ParameterTypeDescription
pageintegerPage number, starting at 1.

rollbar_list_items List items

List error items (grouped occurrences) with their status, level, environment and counts. 100 per page. Use it to find what is failing. Rollbar API: GET /api/1/items.

ParameterTypeDescription
assigned_userstringUsername, or assigned / unassigned.
environmentstringOnly items in this environment, for example production.
is_snoozedbooleantrue = only snoozed items; false = leave them out.
levelstringOnly items with this level.
pageintegerPage number, starting at 1.
querystringSearch text, as in the Rollbar Items search box.
statusstringOnly items with this status.

rollbar_get_item Get an item

Get one item by its ID: title, status, level, counts and assignee. The ID is the id field of list results, not the project counter in the URL. Rollbar API: GET /api/1/item/{itemid}.

ParameterTypeDescription
item_id *stringNumeric Rollbar ID.

rollbar_find_item Find an item by counter or UUID

Find one item from the project counter (the number in a Rollbar item URL) or an occurrence UUID. Give one of them. Rollbar API: GET /api/1/item/?counter= or ?uuid=.

ParameterTypeDescription
counterstringProject item counter.
uuidstringOccurrence UUID.

rollbar_list_item_occurrences List occurrences of an item

List the occurrences (single error events) of one item, newest first, 20 per page. Use them to read stack traces and request data. Rollbar API: GET /api/1/item/{item_id}/instances.

ParameterTypeDescription
item_id *stringNumeric Rollbar ID.
pageintegerPage number, starting at 1.

rollbar_list_item_events List history of an item

List the history of one item: comments, status, level and assignee changes. Pass type to filter, for example item_status_history. Rollbar API: GET /api/1/item/{item_id}/events.

ParameterTypeDescription
item_id *stringNumeric Rollbar ID.
pageintegerPage number, starting at 1.
typestringOne event type, for example item_comment or item_status_history.

rollbar_list_deploys List deploys

List deploys reported to the project, most recent first, 20 per page. Use it to link errors to releases. Rollbar API: GET /api/1/deploys.

ParameterTypeDescription
pageintegerPage number, starting at 1.

rollbar_get_deploy Get a deploy

Get one deploy: environment, revision, user and time. Rollbar API: GET /api/1/deploy/{deploy_id}.

ParameterTypeDescription
deploy_id *stringNumeric Rollbar ID.

rollbar_top_active_items Top active items

List the most active items over the last hours, with their occurrence counts. A good first call to find the biggest problems. Rollbar API: GET /api/1/reports/top_active_items.

ParameterTypeDescription
environmentsstringComma-separated environments; empty means all.
hoursintegerLook-back window in hours (default 24).

rollbar_occurrence_counts Occurrence counts over time

Count occurrences per time bucket (minute, hour or day, GMT), filtered by level, environment or item. Rollbar API: GET /api/1/reports/occurrence_counts.

ParameterTypeDescription
bucket_sizestringBucket in seconds: 60, 3600 or 86400 (default 86400).
environmentsstringComma-separated environments; empty means all.
item_idstringCount only this item.
max_levelstringHighest level to count.
min_levelstringLowest level to count (default error).

rollbar_list_teams List teams

List the teams of the account. Needs an account access token. Rollbar API: GET /api/1/teams.

rollbar_list_users List users

List the users of the account with their usernames and emails. Needs an account access token. Give email to look one user up. Rollbar API: GET /api/1/users.

ParameterTypeDescription
emailstringLook up one user by email.

rollbar_update_item Update an item

Change an item: status (active, resolved or muted), level, title, resolved_in_version (when resolving) or assignee. Changes what the team sees, so confirm first. Needs a token with the write scope. Rollbar API: PATCH /api/1/item/{itemid}.

ParameterTypeDescription
item_id *stringNumeric Rollbar ID.
assigned_user_idinteger
levelstring
resolved_in_versionstringRelease that fixes the item. Used with status resolved.
statusstring
titlestring