chirrop-mcp

v0.3.0
@chirropjs/chirrop-mcp Checked 3 days ago Published 1 month ago

MCP server for the ChirrOp monitoring platform

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

send_logs Send Logs

Send one or more log entries to ChirrOp. Each entry requires an event name and numeric value. Unknown events are auto-created as event definitions. Logs are batched and flushed before returning. Max 250 logs per request. Use domain.subject.measure naming (e.g. 'tool.errors.count', 'task.duration_ms').

ParameterTypeDescription
logs *arrayArray of log entries to send.

list_events List Events

List event definitions in the ChirrOp account. Returns event_id, name, agent, unit, timezone, and description for each. Supports filtering by agent and paginating results to avoid dumping large accounts into context. Use list_agents first if you don't know the exact agent string.

ParameterTypeDescription
agentstringOnly return events produced by this exact agent identity, e.g. 'openclaw.main'.
limitintegerMaximum number of events to return. Defaults to 50; pass a larger value for more.
name_containsstringOnly return events whose name contains this substring (case-insensitive).
offsetintegerNumber of matching events to skip for pagination. Defaults to 0.

list_agents List Agents

List distinct agent identities that have produced events, with their event counts. Use this to discover valid agent strings before calling get_agent_summary or filtering list_events.

get_event Get Event

Get a single event definition by UUID, or by event name (with optional agent).

ParameterTypeDescription
agentstringAgent identity to scope the event name lookup, e.g. 'openclaw.main'.
eventstringEvent name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents.
event_idstringThe event UUID. Provide this OR the event name.

create_event Create Event

Create a new event definition explicitly. Events are also auto-created when you send logs with an unknown event name. Use this to pre-configure metadata like description, unit, timezone, or public visibility before sending any logs. Note: events cannot be deleted through this server (the ChirrOp API has no delete operation).

ParameterTypeDescription
event *stringEvent name using domain.subject.measure format, e.g. 'task.duration_ms'.
agentstringProducer identity to scope this event to, e.g. 'openclaw.main'.
descriptionstringDescription of what this event tracks.
publicbooleanWhether the event dashboard page is publicly accessible.
timezonestringIANA timezone for day-level rollup alignment, e.g. 'America/Los_Angeles'. Defaults to UTC.
titlestringHuman-readable title.
unitstringUnit of measurement, e.g. 'ms', 'count', 'bytes'.

update_event Update Event

Update an existing event definition's metadata. Only provided fields are changed. Identify the event by event_id, or by name + agent (the agent/event pair identifies the event to update; to change the name or agent themselves, pass event_id plus the new values).

ParameterTypeDescription
agentstringCurrent agent identifying the event, or (when event_id is given) the new agent to set.
descriptionstringUpdated description.
eventstringCurrent event name identifying the event, or (when event_id is given) the new name to set.
event_idstringThe event UUID to update. Provide this OR the current event name (+ agent).
publicbooleanUpdated public visibility.
timezonestringUpdated IANA timezone.
titlestringUpdated human-readable title.
unitstringUpdated unit of measurement.

get_event_rollups Get Event Rollups

Get time-bucketed rollup data for an event, enriched with per-bucket statistics and a global summary. Each bucket includes _mean, _stddev, _is_anomaly (based on threshold_sigma), and _trend_direction. The _summary block provides global_mean, global_stddev, anomaly_count, and overall trend_direction. Pass summary_only=true to get just the _summary plus anomalous buckets — much cheaper and usually enough. Use 'minute' for recent fine-grained data, 'hour' for daily trends, 'day' for longer history. For period-over-period comparisons, use get_event_analytics instead.

ParameterTypeDescription
agentstringAgent identity to scope the event name lookup, e.g. 'openclaw.main'.
eventstringEvent name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents.
event_idstringThe event UUID. Provide this OR the event name.
limitintegerMaximum number of rollup buckets to return. Defaults to 100.
offsetintegerNumber of buckets to skip for pagination.
periodstringRollup bucket period. Use minute/hour/day (not 1h/1d — those are for analytics).
summary_onlybooleanReturn only the _summary block and anomalous buckets, omitting the full point list. Defaults to false.
threshold_sigmanumberStandard deviations from the mean to flag a bucket as anomalous. Defaults to 2.0.

get_stream_health Get Stream Health

Check the health of a numeric event stream in one call. Returns status (healthy/stale/alert_active/degraded), recency of last data point, active triggered alerts, and proximity to policy thresholds. Use this before detect_anomalies or compare_events to get a quick overall picture.

ParameterTypeDescription
agentstringAgent identity to scope the event name lookup, e.g. 'openclaw.main'.
eventstringEvent name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents.
event_idstringThe event UUID. Provide this OR the event name.
stale_after_minutesintegerMinutes without data before marking the stream as stale. Defaults to 60.

get_agent_summary Get Agent Summary

Get a health overview of all event streams produced by a specific agent (e.g. an OpenClaw instance or skill). Returns each event's current status (healthy/warning/stale/alert_active/degraded, or error if its data couldn't be fetched), recency, active alert count, and whether it is approaching any policy threshold. Useful as a single call to answer 'how is my openclaw.main agent performing right now?'

ParameterTypeDescription
agent *stringThe agent identity to filter by, e.g. 'openclaw.main' or 'openclaw.scheduler'.
stale_after_minutesintegerMinutes without data before marking a stream as stale. Defaults to 60.

get_event_analytics Get Event Analytics

Get window comparison analytics for an event. Compares current period against a previous period, returning value/count totals, deltas, percentage changes, means, and standard deviations. An _interpretation block is included with plain-language signals (significant_increase, stable, etc.) and a summary sentence. Use analytics periods (1h, 1d, 7d, 1m) here — not rollup periods (minute, hour, day). Common comparisons: last hour vs previous hour (1h/previous_window), last hour vs same hour yesterday (1h/previous_1d).

ParameterTypeDescription
period *stringCurrent window size: 1 hour, 1 day, 7 days, or 1 month.
previous *stringComparison window. 'previous_window' compares against the same-sized window immediately prior. 'previous_1d' compares same window yesterday, 'previous_7d' last week, 'previous_1m' last month.
agentstringAgent identity to scope the event name lookup, e.g. 'openclaw.main'.
eventstringEvent name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents.
event_idstringThe event UUID. Provide this OR the event name.

detect_anomalies Detect Anomalies

Scan an event stream's rollup buckets and return the specific time buckets where values deviate more than threshold_sigma standard deviations from the global mean. Each anomaly includes the bucket time, mean value, deviation in sigmas, and direction (spike or drop). Use 'minute' for recent spikes, 'hour' for daily patterns, 'day' for long-term trends. has_sufficient_data is false when fewer than 10 buckets are available (stddev unreliable).

ParameterTypeDescription
agentstringAgent identity to scope the event name lookup, e.g. 'openclaw.main'.
eventstringEvent name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents.
event_idstringThe event UUID. Provide this OR the event name.
limitintegerNumber of buckets to analyze. More = more reliable baseline. Defaults to 100.
periodstringRollup bucket granularity. Defaults to 'hour'.
threshold_sigmanumberStandard deviations from the mean to flag as anomalous. Defaults to 2.0.

compare_events Compare Events

Fetch rollups for multiple events over the same period and return a side-by-side statistical comparison. Each stream entry includes mean, stddev, trend_direction, last_value, and anomaly_count (using 2σ threshold). Useful for correlating related numeric streams or identifying which stream is behaving differently.

ParameterTypeDescription
event_ids *arrayEvents to compare: each entry is an event UUID or an exact event name. Names that exist under multiple agents must be passed as UUIDs. Minimum 2, maximum 10.
limitintegerNumber of recent buckets per stream. Defaults to 100.
periodstringRollup bucket granularity, applied to all streams. Defaults to 'hour'.

list_policies List Policies

List monitoring policies (alert rules) in the ChirrOp account, optionally filtered to a single event (by event_id, or by event name + agent).

ParameterTypeDescription
agentstringAgent identity to scope the event name lookup, e.g. 'openclaw.main'.
eventstringEvent name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents.
event_idstringThe event UUID. Provide this OR the event name.

get_policy Get Policy

Get a single monitoring policy by its UUID.

ParameterTypeDescription
policy_id *stringThe policy UUID to retrieve.

create_policy Create Policy

Create a new monitoring policy (alert rule) for an event. The event definition must already exist; identify it by event_id or by event name (+ agent). Match the aggregate to the event stream shape: use 'sum' for *.count events, 'average'/'p95_est' for *.duration_ms, 'average'/'min'/'max' for *.price_usd or *.score. Use rollup periods (minute, hour, day) — not analytics periods. Alerts won't be delivered unless you also create a destination. Policies cannot be deleted; to retire one, set enabled=false via update_policy.

ParameterTypeDescription
aggregate *stringAggregate function: 'sum' for counts/usage, 'average'/'p95_est'/'p99_est' for latencies, 'min'/'max' for gauges/prices.
channel *stringPolicy routing namespace, e.g. 'ops'. To route a policy's alerts to a specific destination, list its policy_id on a destination with scope='policies'.
condition *stringComparison operator: gt (>), lt (<), eq (==), gte (>=), lte (<=).
enabled *booleanWhether this policy is active.
period *stringEvaluation period. The aggregate is computed over each period bucket.
severity *stringAlert severity. Affects presentation in destinations.
threshold *numberNumeric threshold. Alert triggers when aggregate(values) <condition> threshold.
title *stringHuman-readable policy title, e.g. 'High error rate'.
agentstringAgent identity to scope the event name lookup, e.g. 'openclaw.main'.
descriptionstringLonger description of what this policy catches.
eventstringEvent name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents.
event_idstringThe event UUID. Provide this OR the event name.

update_policy Update Policy

Update an existing monitoring policy. Only provided fields are changed. There is no delete_policy; set enabled=false to retire a policy.

ParameterTypeDescription
policy_id *stringThe policy UUID to update.
aggregatestringUpdated aggregate function.
channelstringUpdated routing namespace.
conditionstringUpdated comparison operator.
descriptionstringUpdated description.
enabledbooleanUpdated enabled state. Set false to retire the policy (there is no delete).
event_idstringUpdated event UUID.
periodstringUpdated evaluation period.
severitystringUpdated severity.
thresholdnumberUpdated threshold.
titlestringUpdated title.

list_alerts List Alerts

List alerts, optionally filtered by status and event (by event_id, or by event name + agent). Lifecycle: triggered → acknowledged → resolved → archived. Use status='triggered' to see active alerts needing attention. Results are paginated to avoid dumping large alert histories into context.

ParameterTypeDescription
agentstringAgent identity to scope the event name lookup, e.g. 'openclaw.main'.
eventstringEvent name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents.
event_idstringThe event UUID. Provide this OR the event name.
limitintegerMaximum number of alerts to return. Defaults to 50; pass a larger value for more.
offsetintegerNumber of matching alerts to skip for pagination. Defaults to 0.
statusstringFilter by alert lifecycle status. Omit to list all alerts.

get_alert Get Alert

Get full details of a single alert, including the policy rule that triggered it, the actual aggregated values (value, count, min, max), and lifecycle timestamps.

ParameterTypeDescription
alert_id *stringThe alert UUID.

get_alert_deliveries Get Alert Deliveries

Get delivery attempts for an alert. Shows whether notifications reached destinations (Slack, email, etc.). Use kind='alert' for real alert deliveries, kind='test' after calling test_destination, kind='all' only for debugging. Pass destination_id to check a specific destination's delivery health (e.g. after test_destination).

ParameterTypeDescription
alert_id *stringThe alert UUID.
destination_idstringOnly return delivery attempts to this destination.
kindstringFilter by delivery kind. Defaults to showing real alert deliveries.
limitintegerMax delivery attempts to return.
offsetintegerPagination offset.

acknowledge_alert Acknowledge Alert

Acknowledge a triggered alert, moving it to 'acknowledged' status. This indicates someone is investigating. Check rollups and analytics before acknowledging.

ParameterTypeDescription
alert_id *stringThe alert UUID to acknowledge.

resolve_alert Resolve Alert

Resolve an alert, moving it to 'resolved' status. Use when the underlying issue has subsided or been fixed.

ParameterTypeDescription
alert_id *stringThe alert UUID to resolve.

archive_alert Archive Alert

Archive an alert, removing it from active views. Use for false positives, expected behavior, or alerts you no longer need to track.

ParameterTypeDescription
alert_id *stringThe alert UUID to archive.

list_destinations List Destinations

List configured notification destinations (email, webhook, Slack, Telegram, Discord) and their delivery status, optionally filtered by channel or enabled state.

ParameterTypeDescription
channelstringOnly return destinations of this channel type.
enabledbooleanOnly return destinations with this enabled state.

get_destination Get Destination

Get a single destination configuration by its UUID, including last delivery status and any errors.

ParameterTypeDescription
destination_id *stringThe destination UUID.

create_destination Create Destination

Create a new notification destination. Destinations receive alert notifications when policies trigger. Always call test_destination after creation to verify delivery works. Channel types: 'slack' (requires url), 'discord' (requires url), 'webhook' (requires url), 'telegram' (requires credentials.bot_token and credentials.chat_id), 'email' (requires credentials.address). Prefer 'env:CHIRROP_SECRET_<NAME>' references for url and credential values so secrets stay out of the conversation; returned URLs and credentials are redacted. Destinations cannot be deleted; to retire one, set enabled=false v…

ParameterTypeDescription
channel *stringDelivery channel type.
enabled *booleanWhether this destination is active.
policy_ids *arrayPolicy UUIDs to route to this destination when scope is 'policies'. Pass an empty array when scope is 'all'.
scope *string'all' routes every alert; 'policies' routes only alerts from the policies listed in policy_ids.
credentialsobjectChannel-specific credentials. Telegram: { bot_token: '...', chat_id: '...' }. Email: { address: '...' }. String values may be given as 'env:CHIRROP_SECRET_<NAME>' to read the real value from the MCP s…
urlstringWebhook/Slack/Discord URL. Required for webhook, slack, and discord channels. String values may be given as 'env:CHIRROP_SECRET_<NAME>' to read the real value from the MCP server's environment, keepin…

update_destination Update Destination

Update an existing notification destination. Only provided fields are changed. There is no delete_destination; set enabled=false to retire one. String values may be given as 'env:CHIRROP_SECRET_<NAME>' to read the real value from the MCP server's environment, keeping secrets out of the conversation. Only variables prefixed CHIRROP_SECRET_ can be referenced.

ParameterTypeDescription
destination_id *stringThe destination UUID to update.
channelstringUpdated channel type.
credentialsobjectUpdated credentials. String values accept 'env:CHIRROP_SECRET_<NAME>' references.
enabledbooleanUpdated enabled state. Set false to retire the destination (there is no delete).
policy_idsarrayUpdated policy UUIDs (used when scope is 'policies').
scopestringUpdated scope: 'all' or 'policies'.
urlstringUpdated webhook/Slack/Discord URL. Accepts 'env:CHIRROP_SECRET_<NAME>' references.

test_destination Test Destination

Send a test notification to verify a destination works. Returns a synthetic alert_id. After testing, call get_alert_deliveries with that alert_id and kind='test' to check delivery status.

ParameterTypeDescription
destination_id *stringThe destination UUID to test.