chirrop-mcp
v0.3.0MCP 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').
| Parameter | Type | Description |
|---|---|---|
logs * | array | Array 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.
| Parameter | Type | Description |
|---|---|---|
agent | string | Only return events produced by this exact agent identity, e.g. 'openclaw.main'. |
limit | integer | Maximum number of events to return. Defaults to 50; pass a larger value for more. |
name_contains | string | Only return events whose name contains this substring (case-insensitive). |
offset | integer | Number 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).
| Parameter | Type | Description |
|---|---|---|
agent | string | Agent identity to scope the event name lookup, e.g. 'openclaw.main'. |
event | string | Event name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents. |
event_id | string | The 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).
| Parameter | Type | Description |
|---|---|---|
event * | string | Event name using domain.subject.measure format, e.g. 'task.duration_ms'. |
agent | string | Producer identity to scope this event to, e.g. 'openclaw.main'. |
description | string | Description of what this event tracks. |
public | boolean | Whether the event dashboard page is publicly accessible. |
timezone | string | IANA timezone for day-level rollup alignment, e.g. 'America/Los_Angeles'. Defaults to UTC. |
title | string | Human-readable title. |
unit | string | Unit 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).
| Parameter | Type | Description |
|---|---|---|
agent | string | Current agent identifying the event, or (when event_id is given) the new agent to set. |
description | string | Updated description. |
event | string | Current event name identifying the event, or (when event_id is given) the new name to set. |
event_id | string | The event UUID to update. Provide this OR the current event name (+ agent). |
public | boolean | Updated public visibility. |
timezone | string | Updated IANA timezone. |
title | string | Updated human-readable title. |
unit | string | Updated 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.
| Parameter | Type | Description |
|---|---|---|
agent | string | Agent identity to scope the event name lookup, e.g. 'openclaw.main'. |
event | string | Event name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents. |
event_id | string | The event UUID. Provide this OR the event name. |
limit | integer | Maximum number of rollup buckets to return. Defaults to 100. |
offset | integer | Number of buckets to skip for pagination. |
period | string | Rollup bucket period. Use minute/hour/day (not 1h/1d — those are for analytics). |
summary_only | boolean | Return only the _summary block and anomalous buckets, omitting the full point list. Defaults to false. |
threshold_sigma | number | Standard 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.
| Parameter | Type | Description |
|---|---|---|
agent | string | Agent identity to scope the event name lookup, e.g. 'openclaw.main'. |
event | string | Event name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents. |
event_id | string | The event UUID. Provide this OR the event name. |
stale_after_minutes | integer | Minutes 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?'
| Parameter | Type | Description |
|---|---|---|
agent * | string | The agent identity to filter by, e.g. 'openclaw.main' or 'openclaw.scheduler'. |
stale_after_minutes | integer | Minutes 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).
| Parameter | Type | Description |
|---|---|---|
period * | string | Current window size: 1 hour, 1 day, 7 days, or 1 month. |
previous * | string | Comparison 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. |
agent | string | Agent identity to scope the event name lookup, e.g. 'openclaw.main'. |
event | string | Event name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents. |
event_id | string | The 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).
| Parameter | Type | Description |
|---|---|---|
agent | string | Agent identity to scope the event name lookup, e.g. 'openclaw.main'. |
event | string | Event name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents. |
event_id | string | The event UUID. Provide this OR the event name. |
limit | integer | Number of buckets to analyze. More = more reliable baseline. Defaults to 100. |
period | string | Rollup bucket granularity. Defaults to 'hour'. |
threshold_sigma | number | Standard 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.
| Parameter | Type | Description |
|---|---|---|
event_ids * | array | Events 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. |
limit | integer | Number of recent buckets per stream. Defaults to 100. |
period | string | Rollup 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).
| Parameter | Type | Description |
|---|---|---|
agent | string | Agent identity to scope the event name lookup, e.g. 'openclaw.main'. |
event | string | Event name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents. |
event_id | string | The event UUID. Provide this OR the event name. |
get_policy Get Policy
Get a single monitoring policy by its UUID.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
aggregate * | string | Aggregate function: 'sum' for counts/usage, 'average'/'p95_est'/'p99_est' for latencies, 'min'/'max' for gauges/prices. |
channel * | string | Policy 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 * | string | Comparison operator: gt (>), lt (<), eq (==), gte (>=), lte (<=). |
enabled * | boolean | Whether this policy is active. |
period * | string | Evaluation period. The aggregate is computed over each period bucket. |
severity * | string | Alert severity. Affects presentation in destinations. |
threshold * | number | Numeric threshold. Alert triggers when aggregate(values) <condition> threshold. |
title * | string | Human-readable policy title, e.g. 'High error rate'. |
agent | string | Agent identity to scope the event name lookup, e.g. 'openclaw.main'. |
description | string | Longer description of what this policy catches. |
event | string | Event name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents. |
event_id | string | The 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.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The policy UUID to update. |
aggregate | string | Updated aggregate function. |
channel | string | Updated routing namespace. |
condition | string | Updated comparison operator. |
description | string | Updated description. |
enabled | boolean | Updated enabled state. Set false to retire the policy (there is no delete). |
event_id | string | Updated event UUID. |
period | string | Updated evaluation period. |
severity | string | Updated severity. |
threshold | number | Updated threshold. |
title | string | Updated 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.
| Parameter | Type | Description |
|---|---|---|
agent | string | Agent identity to scope the event name lookup, e.g. 'openclaw.main'. |
event | string | Event name as an alternative to event_id, e.g. 'tool.errors.count'. Combine with agent if the same name exists under multiple agents. |
event_id | string | The event UUID. Provide this OR the event name. |
limit | integer | Maximum number of alerts to return. Defaults to 50; pass a larger value for more. |
offset | integer | Number of matching alerts to skip for pagination. Defaults to 0. |
status | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | The 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).
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | The alert UUID. |
destination_id | string | Only return delivery attempts to this destination. |
kind | string | Filter by delivery kind. Defaults to showing real alert deliveries. |
limit | integer | Max delivery attempts to return. |
offset | integer | Pagination 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.
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
channel | string | Only return destinations of this channel type. |
enabled | boolean | Only 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.
| Parameter | Type | Description |
|---|---|---|
destination_id * | string | The 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…
| Parameter | Type | Description |
|---|---|---|
channel * | string | Delivery channel type. |
enabled * | boolean | Whether this destination is active. |
policy_ids * | array | Policy 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. |
credentials | object | Channel-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… |
url | string | Webhook/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.
| Parameter | Type | Description |
|---|---|---|
destination_id * | string | The destination UUID to update. |
channel | string | Updated channel type. |
credentials | object | Updated credentials. String values accept 'env:CHIRROP_SECRET_<NAME>' references. |
enabled | boolean | Updated enabled state. Set false to retire the destination (there is no delete). |
policy_ids | array | Updated policy UUIDs (used when scope is 'policies'). |
scope | string | Updated scope: 'all' or 'policies'. |
url | string | Updated 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.
| Parameter | Type | Description |
|---|---|---|
destination_id * | string | The destination UUID to test. |