Skip to main content
Glama

Server Details

Query your AI agents' traces, errors, cost and alerts in Rius, the agent observability platform.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
glassflow/rius-mcp-server
GitHub Stars
0
ChatGPT
–
Claude
–

TDQS

A4.1/5.0

Scored across 35 tools

Disambiguation4/5

The descriptions aggressively demarcate overlapping-sounding tools (agent_traces_summary vs workspace_metrics_overview vs user_activity_summary; list_alerts vs list_silent_failures vs agent_error_groups; list_agent_traces vs list_spans), usually stating explicitly what each is NOT. The residual risk is the three KPI/summary tools and the two catalog tools, which an agent must read scope arguments to separate. Boundaries are clear once read, though not instantly from names alone.

Naming Consistency4/5

Consistent snake_case and a clear verb_noun pattern for mutating and listing tools (list_*, get_*, create_*, update_*, delete_*, describe_*, ack_alert, compare_agent_versions). A handful of read tools drop the verb and are noun phrases only (agent_versions, agent_error_groups, agent_lifecycle_events, workspace_metrics_overview, user_activity_summary), a minor but systematic deviation. Still highly predictable overall.

Tool Count3/5

35 tools is heavy — well past the 15-tool comfort zone — spread across trace search, alerting, users, agents, billing, and API keys. Almost every tool is genuinely distinct and earns its place, but the surface could be trimmed (three separate catalogs, get_me + list_workspaces, ack_alert + get_alert) without losing capability. Borderline for the domain rather than bloated for its own sake.

Completeness4/5

Coverage is broad and deep: trace/span/turn reads, context-loss explanation, agent lifecycle and versions with comparison, alert rules and channels with full CRUD, silent-failure detection with coverage diagnostics, users, spend, and metrics. The notable gaps are around API keys — create only, with no list or revoke/rotate — and there is no delete for traces (arguably by design). Agents can work around these, but key lifecycle is a real dead end.

Publisher details

Operator
GlassFlow GmbH
Vendor relationship
First-party
Privacy policy
Not provided
Restrictions
Pricing: https://www.glassflow.ai/rius/pricing

Available Tools

35 tools
ack_alertAcknowledge AlertA
Idempotent
Inspect

Acknowledge an alert: record that a human has seen it, so it stops notifying.

Acknowledging is NOT resolving. The alert stays open and keeps counting occurrences; only the detector resolves it, once the condition clears. Nothing in Rius can force an alert closed.

Only available on an interactive (OAuth) connection: the acknowledgement records which user saw the alert, and an API key is not a user.

alert_id: the alert's id, from list_alerts. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

I've seen that alert, stop pinging me about it.

{ "name": "ack_alert", "arguments": { "alert_id": "2f9c…" } }

Inputs: alert_id (required), workspace. Returns: result

agent_error_groupsGroup Agent ErrorsA
Read-only
Inspect

Group a window's errored spans by failure class — exception type and a normalised message — so a page of failures reads as its handful of causes. One row per group with its count, distinct traces, last occurrence, the instances it hit and sample trace ids for get_agent_trace.

This is the same read the Rius console's Agent page draws its Exceptions figure from. The unit is errored SPANS with this span's own identity: count is not agent_traces_summary's failed_traces (runs whose ROOT span errored) and the two are labelled, never reconciled or added. The grouping reads span events, so the window is capped like any other unindexed query; a window the server refuses comes back saying so.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). hours: lookback window in hours (default 24), used for whichever of start/end is not given. start: optional absolute RFC3339 lower bound (e.g. "2026-08-01T00:00:00Z"); overrides the hours-derived value when given. end: optional absolute RFC3339 upper bound; overrides the hours-derived value when given. agent: optional exact agent name — this SPAN's agent identity, the same value agent= filters on for list_spans. Read a name off list_agents or off root_agent on list_agent_traces rather than guessing one. instance: optional exact instance id, narrowing to one running copy of agent. limit: groups per page (default 20, server max 100). The reply says how many errored spans the whole window holds, so a full page is visible as one.

Example:

What is failing for the planner agent today?

{ "name": "agent_error_groups", "arguments": { "agent": "planner" } }

Group this week's failures across every agent.

{ "name": "agent_error_groups", "arguments": { "hours": 168, "limit": 50 } }

Is one copy of planner producing the errors?

{
    "name": "agent_error_groups",
    "arguments": { "agent": "planner", "instance": "inst-planner-01" }
}

Inputs: end, agent, hours, limit, +3 more. Returns: result

agent_lifecycle_eventsList Agent Lifecycle EventsA
Read-only
Inspect

The lifecycle log of a workspace's agent instances — when each copy started, finished, was lost or recovered — newest first, timed when it happened rather than when a page was loaded.

This is the same read the Rius console's Agent page draws its timeline from. The kinds are the server's: started (first heartbeat), finished (clean-shutdown ping), lost (silent past the gone threshold, timed at the sweep tick that noticed and carrying last_seen_at for the last ping before the silence) and recovered (a ping after lost). stale is a read-time status on list_agents, never an event. open_trace_count and open_traces say what was in flight at a lost or recovered moment.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). hours: lookback window in hours (default 24), used for whichever of start/end is not given. start: optional absolute RFC3339 lower bound (e.g. "2026-08-01T00:00:00Z"); overrides the hours-derived value when given. end: optional absolute RFC3339 upper bound; overrides the hours-derived value when given. agent: optional exact agent name; omit for every agent in the workspace. instance: optional exact instance id; composes with agent. limit: max rows (default 50, server max 200). cursor: opaque page token from a previous call's next-page hint, to fetch the page after it.

Example:

When did the planner agent's copies die today?

{ "name": "agent_lifecycle_events", "arguments": { "agent": "planner" } }

Everything that happened to inst-planner-01 this week.

{
    "name": "agent_lifecycle_events",
    "arguments": { "hours": 168, "instance": "inst-planner-01" }
}

Inputs: end, agent, hours, limit, +4 more. Returns: result

agent_traces_summarySummarize Agent TracesA
Read-only
Inspect

Summary KPIs for agent traces over a time window, for the whole workspace or for ONE agent: trace count, LLM calls, error rate, failed vs errored traces, sessions, total/average cost, token usage, and latency and TTFT percentiles. With group_by="bucket" it also answers the same figures per time bucket, the read behind the console's Drift figure, so "is this agent getting slower or more expensive over the week" is one call.

Scope it with agent to get that agent's own numbers. This is the same read, with the same arguments, that the Rius console's agent page makes, so a number you report here and a number a human reads there are the same number — not two measurements that happen to agree.

Read the Failed traces and Errored traces lines as the two different questions they are, and do not add them together or report one as "errors": a run whose ROOT span errored FAILED, while a run that errored somewhere and then recovered did not. The error rate is errored traces over traces.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). hours: lookback window in hours (default 24), used for whichever of start/end is not given. start: optional absolute RFC3339 lower bound (e.g. "2026-08-01T00:00:00Z"); overrides the hours-derived value when given. end: optional absolute RFC3339 upper bound; overrides the hours-derived value when given. service: optional service-name filter (traces that involve this service). agent: optional exact agent-name filter, matched against the trace's root span — the same value the root_agent column reports on list_agent_traces, so read a name off a listing rather than guessing one. Agent identity is its own field, not the service name: a run that declares no agent falls back to its service name, so equal root_agent and service are that fallback, not two facts. instance: optional exact agent-instance filter, narrowing to one running copy of agent. filters: optional list of {"field": ..., "op": ..., "values": [...]} clauses, ANDed together and composable with the named parameters above — the same grammar and the same field registry as list_agent_traces, so a slice you listed and the summary of that slice cannot disagree. Call describe_search_catalog before guessing a key; a rejected clause comes back naming itself. group_by: optional; "bucket" adds one row per time bucket under the whole-window figures, with the same definitions and composable with every scope argument above. A trace counts once, whole, in the bucket its first span opened in, so the rows sum to the whole-window figures. Rows are sparse: a bucket no trace opened in has NO row, so never read an absent bucket as zero traces, zero cost or a 0% error rate. bucket: optional grain for group_by="bucket": "minute", "hour" or "day". Omit it and the server picks from the window (minute up to 2h, hour up to 48h, day beyond; day buckets open at UTC midnight, so the first may be partial). A grain that cuts the window into more than 1000 buckets is refused with the count in the message.

Example:

How did my agents do over the last 24 hours?

{ "name": "agent_traces_summary", "arguments": { "hours": 24 } }

How is the planner agent doing this week?

{
    "name": "agent_traces_summary",
    "arguments": { "hours": 168, "agent": "planner" }
}

Is one copy of planner worse than the others?

{
    "name": "agent_traces_summary",
    "arguments": { "agent": "planner", "instance": "inst-planner-01" }
}

Summarize the checkout-agent service this week.

{
    "name": "agent_traces_summary",
    "arguments": { "hours": 168, "service": "checkout-agent" }
}

What do planner's gpt-4o runs cost?

{
    "name": "agent_traces_summary",
    "arguments": {
        "agent": "planner",
        "filters": [{ "field": "model", "op": "eq", "values": ["gpt-4o"] }]
    }
}

Is planner getting slower or more expensive over the week?

{
    "name": "agent_traces_summary",
    "arguments": { "hours": 168, "agent": "planner", "group_by": "bucket" }
}

Summarize traces between two specific dates.

{
    "name": "agent_traces_summary",
    "arguments": { "start": "2026-08-01T00:00:00Z", "end": "2026-08-08T00:00:00Z" }
}

Inputs: end, agent, hours, start, +6 more. Returns: result

agent_versionsList Agent VersionsA
Read-only
Inspect

The versions ONE agent ran in a time window, on two dimensions that are kept apart and must not be read as synonyms: agent is the agent definition — prompt, tools, policy — as rius.main_agent.version stamps it, and service is the build that ran it, as service.version stamps it. A prompt edit ships without a deploy and a deploy without touching the agent, so the two move independently. Each row carries its traces, failed traces, failed rate and when it was first and last seen within the window.

This is the same read the Rius console's Agent page draws its Versions figure from, and every row is ROOT-scoped like the registry fields, so a row's numbers equal agent_traces_summary with filters=[{"field": "agent_version" | "service_version", "op": "eq", "values": [version]}]. Use it to learn which two values to hand compare_agent_versions, or to see when a version appeared. Rows are newest-seen first within a dimension and capped at 50 per dimension; the totals count past the cap.

agent: the exact agent name (required: versions are per agent). Read a name off list_agents or off root_agent on list_agent_traces rather than guessing one. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). hours: lookback window in hours (default 24), used for whichever of start/end is not given. start: optional absolute RFC3339 lower bound (e.g. "2026-08-01T00:00:00Z"); overrides the hours-derived value when given. end: optional absolute RFC3339 upper bound; overrides the hours-derived value when given. instance: optional exact instance id, narrowing to one running copy of agent.

Example:

Which versions of planner ran this week?

{ "name": "agent_versions", "arguments": { "agent": "planner", "hours": 168 } }

When did planner's new prompt version first show up?

{ "name": "agent_versions", "arguments": { "agent": "planner", "hours": 720 } }

Inputs: agent (required), end, hours, start, +2 more. Returns: result

compare_agent_versionsCompare Agent VersionsA
Read-only
Inspect

Two versions of ONE agent side by side over the same window — traces, failed rate, cost per trace, latency p50, TTFT p50 and tokens per trace — with the change between them, so "did v8 make it worse" is one call.

It is agent_traces_summary twice, each scoped through the registry filter for one version, and the same six rows and delta rules as the Rius console's compare tiles, so an agent and a human read one change. The change is in percentage points for the failed rate ("+1.0 pp", never "+50%") and a percent of the base otherwise; a dash means a side is unknown or the base is zero, never "no change". Below 20 traces on either side the reply says the differences can be noise; it never claims significance either way.

Refuses, rather than answering, where this deployment's filter registry does not advertise the version field: an older core would ignore the filter and return the whole agent's numbers on both sides, which would read as a confident "no change".

agent: the exact agent name (required). Read it off list_agents or off root_agent on list_agent_traces. dimension: which version identity to compare — agent (the agent definition, rius.main_agent.version) or service (the build, service.version; build is accepted as a synonym). The two are not interchangeable: read the values off agent_versions, which labels each. base: the older version's exact value, as agent_versions lists it. head: the newer version's exact value; the change is head against base. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). hours: lookback window in hours (default 24), used for whichever of start/end is not given. start: optional absolute RFC3339 lower bound (e.g. "2026-08-01T00:00:00Z"); overrides the hours-derived value when given. end: optional absolute RFC3339 upper bound; overrides the hours-derived value when given. instance: optional exact instance id, narrowing both sides to one running copy of agent.

Example:

Did planner's version 8 make things worse than 7 this week?

{
    "name": "compare_agent_versions",
    "arguments": {
        "agent": "planner", "dimension": "agent", "base": "7", "head": "8",
        "hours": 168
    }
}

Compare the last two builds of planner.

{
    "name": "compare_agent_versions",
    "arguments": {
        "agent": "planner", "dimension": "service", "base": "2.3.1", "head": "2.4.0"
    }
}

Inputs: base (required), head (required), agent (required), dimension (required), +5 more. Returns: result

create_alert_channelCreate Alert ChannelAInspect

Create a place for alerts to be delivered: a webhook, an email list, or Slack.

This provisions a real outbound effect. Once a rule points at this channel, alert content leaves the platform to wherever you named — for a webhook, an HTTP POST to that URL. The payload carries the alert title (which is a span's error message, so it can contain model output), its labels, counts, and a sample of trace ids.

Needs the channels:manage capability.

name: a label for the channel, 1 to 120 characters. channel_type: webhook, email, or slack. url: for a webhook — the https URL to POST to. recipients: for email — 1 to 20 addresses. slack_channel_id: for Slack — a channel id from the connected Slack workspace. Slack must be connected in the console first. enabled: whether it starts receiving deliveries. Defaults to true. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

Send my alerts to this webhook.

{ "name": "create_alert_channel", "arguments": {
    "name": "ops webhook", "channel_type": "webhook",
    "url": "https://hooks.example.com/rius"
} }

Inputs: name (required), channel_type (required), url, enabled, +3 more. Returns: result

create_alert_ruleCreate Alert RuleAInspect

Create a custom alert rule. Call describe_alert_catalog first.

The rule fires when every threshold in rules holds at once, over the same rolling window, for the traffic left after every filter in filters. There is no OR: for alternatives, create a second rule.

Predefined rules cannot be created — they already exist per workspace. Use update_alert_rule to configure one.

name: what to call the rule, 1 to 120 characters. rules: the thresholds, each {"metric":…, "aggregation":…, "operator":…, "value":…}. At least one, at most 10, and each (metric, aggregation) pair only once. Operators: lt, lte, gt, gte, eq. window_minutes: the rolling window every threshold is measured over, 5 to 1440. filters: optional narrowing, each {"field":…, "operator":…, "values":[…]}. ANDed. Omit to watch the whole workspace. eq and ne take exactly one value; in and not_in take one or more. Which operators a field admits is per field — describe_alert_catalog lists them. Values bind verbatim, so pass them exactly as the data spells them: span_kind is the raw OpenInference LLM, not llm, and a lowercased value creates a rule that saves and then never fires. channel_ids: where firings are delivered, from list_alert_channels. Supplying this needs the channels:manage capability, because choosing a destination is a destination decision. Omitting it leaves the rule with no destination: firings show in the console but nobody is notified, so add a webhook or email channel to get notified. enabled: whether detection starts immediately. Defaults to true. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

Alert me when the checkout agent starts erroring.

{ "name": "create_alert_rule", "arguments": {
    "name": "checkout errors",
    "filters": [{"field": "service", "operator": "eq", "values": ["checkout"]}],
    "rules": [{"metric": "errors", "aggregation": "count", "operator": "gte", "value": 5}]
} }

Example:

Tell me if p95 cost per trace goes over two dollars.

{ "name": "create_alert_rule", "arguments": {
    "name": "cost spike",
    "window_minutes": 60,
    "rules": [{"metric": "cost", "aggregation": "p95", "operator": "gt", "value": 2.0}]
} }

Inputs: name (required), rules (required), enabled, filters, +3 more. Returns: result

create_api_keyCreate API KeyAInspect

Create a new API key in one of your workspaces. Requires admin access in that workspace. The plaintext key is shown exactly once in the response. It is never retrievable again after this call, so save it immediately.

Not available when this MCP connection is itself authenticated with an API key (headless mode): a leaked agent key must not be able to mint more keys. Mint keys from an interactive (OAuth) session or the console instead.

workspace: optional workspace id, workspace name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). name: a label for the key, shown in the workspace's key list later. scopes: key capabilities. "ingest" (the default) sends telemetry; "read" also lets the key be the Authorization bearer for headless MCP connections; "alerts:manage" creates and configures alert rules; "channels:manage" configures notification destinations. Combine them, e.g. ["ingest", "read"]. expires_in: how long the key lives: "30d" (default), "90d", "1y" or "never". The key outlives this session, so keep it short. A key with alerts:manage or channels:manage cannot be "never" here; an admin issues permanent management keys in the console.

Example:

Create an API key so this agent can send traces.

{ "name": "create_api_key", "arguments": { "name": "my-agent" } }

Give it a key that can also read traces over MCP.

{ "name": "create_api_key", "arguments": { "scopes": ["ingest", "read"] } }

Give a CI job a key that manages alert rules for the next 90 days.

{ "name": "create_api_key",
  "arguments": { "name": "ci-alerts", "scopes": ["alerts:manage"], "expires_in": "90d" } }

Inputs: name, scopes, workspace, expires_in. Returns: result

delete_alert_channelDelete Alert ChannelA
Destructive
Inspect

Delete a notification channel. Irreversible.

Takes two calls, like delete_alert_rule: once to preview, once with the phrase.

Any rule still pointing at this channel loses that destination silently. If it has no other channel, its firings show in the console but nobody is notified. Consider update_alert_channel with enabled false instead, which is reversible.

Needs the channels:manage capability.

channel_id: the channel's id, from list_alert_channels. confirm: the phrase from the first call's output. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

Remove the old ops webhook.

{ "name": "delete_alert_channel", "arguments": { "channel_id": "8a1…" } }

Inputs: channel_id (required), confirm, workspace. Returns: result

delete_alert_ruleDelete Alert RuleA
Destructive
Inspect

Delete a custom alert rule AND its entire firing history. Irreversible.

Takes two calls. Call it without confirm to see what would be destroyed and get the phrase to pass back; call it again with that phrase to go ahead.

Prefer update_alert_rule with enabled false: that stops detection and keeps the history, and can be undone. Predefined rules cannot be deleted at all.

ref: the custom rule's uuid, from list_alert_rules. confirm: the phrase from the first call's output. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

Delete the cost spike alert.

{ "name": "delete_alert_rule", "arguments": { "ref": "9c2…" } }

Inputs: ref (required), confirm, workspace. Returns: result

describe_alert_catalogDescribe Alert CatalogA
Read-only
Inspect

Describe what you can alert on: the fields, metrics and limits for a custom rule.

Read this before calling create_alert_rule. It returns the filter fields, the metrics with the aggregations each one actually supports, the comparison operators, and the allowed window — plus the constraints the catalog itself does not advertise.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default). field: optionally a filter field id (for example "service"), to list the values actually seen in this workspace over the last 24h.

Example:

What can I alert on?

{ "name": "describe_alert_catalog", "arguments": {} }

Example:

Which services could I filter an alert to?

{ "name": "describe_alert_catalog", "arguments": { "field": "service" } }

Inputs: field, workspace. Returns: result

describe_search_catalogDescribe Search CatalogA
Read-only
Inspect

Describe what you can filter traces and spans on, before you guess a key.

Returns the filter grammar — every field, its type, the operators it admits, and what a filter on it means for a TRACE — merged with the keys this workspace has actually produced. Read it before composing filters for list_agent_traces or list_spans; a guessed key is a rejected call.

Cost model, in the order worth trying: promoted columns (source: column) are cheap over any window; attr.<key> and resource.<key> reach the customer's own attributes, cost roughly 10x more, and are accepted only over windows of 31 days or less — so narrow with a column first, then add one.

workspace: optional workspace id, name, or org-name/workspace-name (defaults to your default). field: optionally a key, to list the values seen in this workspace. Accepts either spelling — "tool.name" or "attr.tool.name". prefix: optionally narrow the key list, e.g. "tool." to find a customer's own tool attributes. hours: lookback for the key and value lists (default 24).

Example:

What can I filter traces on?

{ "name": "describe_search_catalog", "arguments": {} }

What tool attributes does this workspace set?

{ "name": "describe_search_catalog", "arguments": { "prefix": "tool." } }

Which models could I filter to?

{ "name": "describe_search_catalog", "arguments": { "field": "model" } }

Inputs: field, hours, prefix, workspace. Returns: result

get_agent_traceGet Agent TraceA
Read-only
Inspect

Get one agent trace's span waterfall (spans in time order, indented by depth).

The header names the root span's agent and each row carries its own, so a multi-agent run shows which agent owned which span; pass either name back to list_agent_traces or list_spans as agent to see that agent's other work. The header also names who sent the trace — the sending ingest key's own email, which a console-made key usually carries too (it falls back to its creator's own email). Blank only when the key could not be resolved or the trace predates attribution.

The header also names the root span's session; pass it to list_spans(session_id=...) for the rest of that conversation. A session equal to the trace id means the run carried no session of its own. A trace whose spans carry more than one session gets a per-span session column.

When the silent-failure detectors reported findings on this trace, a "Silent failures" section lists each one: failure mode, subject, severity, state (retracted ones included), reason, evidence span ids and metrics. These are per-trace findings, not the swallowed_error alert rule kind (formerly silent_failure) that the alert tools manage.

When the trace compacted its context, a "Compactions" section lists each one, whether a compaction span or a rius.compaction event on an LLM call: when, span, trigger (auto, manual or unknown), kind, executor, tokens before and after, window and messages. The waterfall marks the compaction and the calls that ran on a compacted context. When LLM calls carry context, the waterfall gains cache r/w and ctx (prompt size / window and how full) columns, and a "Context usage" section lists each call's prompt size, cache tokens and largest shares. Any call whose prompt shrank by 30% or more against the previous call of the same agent is listed as a context drop, with the compaction between the two calls if there is one and the exact get_context_loss call that explains it: that answers "why did the context drop at this call?". The header also carries the trace's context line.

A context_rot finding (CF-03) names its subject: context_window (the window filled up), cutoff (the reply was cut off), a tool name (that tool's results dominate the context), lost (history disappeared without a recorded compaction), compacted (a compaction was recorded), thrashing (the agent kept compacting and refilling) or compacted_unmarked (info: an automatic compaction was inferred from the token drop, with no marker recorded).

trace_id: the trace id (from list_agent_traces). workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). include_content: when true, also return each span's captured content: LLM input/output messages, agent/tool input/output values, status messages and events. Off by default because full message content can be very large; pass true when you need to see what an LLM, agent, or tool span actually said, received, or returned (e.g. to inspect prompts, completions, or tool I/O).

Captured content is subject to the workspace's privacy controls: spans exported with capture_content=False or a mask have nothing extra to show.

Example:

Break down trace 4bf92f3577b34da6a3ce929d0e0e4736 for me.

{
    "name": "get_agent_trace",
    "arguments": { "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736" }
}

What did the LLM actually say in that failed span?

{
    "name": "get_agent_trace",
    "arguments": {
        "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
        "include_content": true
    }
}

Inputs: trace_id (required), workspace, include_content. Returns: result

get_alertGet AlertA
Read-only
Inspect

Read one fired alert in full, with its root-cause finding when one exists.

Use this after list_alerts to understand a single alert: its labels, the sample trace ids behind it, and — if root-cause analysis ran for it — the investigation's written finding.

alert_id: the alert's id, from list_alerts. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

Why did that alert fire?

{ "name": "get_alert", "arguments": { "alert_id": "2f9c…" } }

Inputs: alert_id (required), workspace. Returns: result

get_context_lossGet Context LossA
Read-only
Inspect

Explain what an agent's context lost between two LLM calls of one session.

Use it when get_agent_trace shows a context drop (or a context_rot / CF-03 finding): the output lists the tokens before and after, whether the system prompt survived, which parts of the context shrank, the summary that replaced the dropped history (when one can be read) and the messages involved. The second span has to belong to trace_id; the first may sit in an earlier trace of the same session.

trace_id: the trace holding the later call (from get_agent_trace). from_span_id: the earlier LLM call's span id, as the Context drops list or the Context usage table of get_agent_trace names it. to_span_id: the later LLM call's span id, in trace_id. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them).

Example:

Why did the context drop at that call?

{
    "name": "get_context_loss",
    "arguments": {
        "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
        "from_span_id": "00f067aa0ba902b7",
        "to_span_id": "b7ad6b7169203331"
    }
}

Inputs: trace_id (required), to_span_id (required), from_span_id (required), workspace. Returns: result

get_meGet My IdentityA
Read-only
Inspect

Get your own identity and access context.

Returns your user (id, external id, email), every organization you belong to with your role in each ("admin" or "member"), and the workspaces you can access — an interactive (OAuth) connection spans every one of those orgs, so workspaces are grouped by org when you belong to more than one. If you have not yet joined an organization (for example, a pending invite that has not been accepted), the organizations are reported as "none". On a connection authenticated with an API key rather than a login, only the one workspace the key is bound to is reported — a key has no user or organization of its own.

Example:

Who am I in Rius?

{ "name": "get_me", "arguments": {} }

Inputs: no named parameters. Returns: result

get_silent_failure_coverageGet Silent Failure CoverageA
Read-only
Inspect

Show which silent-failure detectors have the telemetry they need in a workspace.

Answers "why does list_silent_failures show nothing for context_rot: is data missing for compaction_markers or llm_context_window?". Each detector is ready, partial or unavailable, with the telemetry items it lacks (missing) and how many spans of the window carry each item it reads (counts). An empty findings list from a detector that is not ready does NOT mean the workspace is clean: an unavailable detector cannot see the failure and a partial one runs with less than it could use. The figures are computed over the last 24 hours and served from a 10-minute cache.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

Why is context_rot never reported for my workspace?

{ "name": "get_silent_failure_coverage", "arguments": {} }

Inputs: workspace. Returns: result

get_spend_noticesGet Spend NoticesA
Read-only
Inspect

Get where your organization's spending stands against its plan.

Spans over the plan's included allowance are billed as overage, and a paying organization is told as it climbs: at 100%, 200%, 300%, 500%, 1000% and every doubling after. This returns the current billing period's latest spend notice for each organization you are an admin of: the threshold crossed, and as of when it was crossed the usage against the allowance, the overage and the projected cost at period end, with what the notice suggested then (send less, upgrade, or settle an open invoice) and the console link. A notice's figures and suggestions are a snapshot from that moment, not current spending or the current billing state; no notice does not mean usage is under the allowance (trials and internal organizations get none, and a new threshold takes a few minutes to be recorded). Earlier notices of the period are listed by threshold. Use it before raising span volume, or to decide whether to sample or drop spans.

Inputs: org. Returns: result

get_trace_turnsGet Trace TurnsA
Read-only
Inspect

List the turns of one agent trace: where one prompt's work ends and the next starts.

A turn is one user (or system) prompt and everything the agent did to answer it. Each row gives the turn's span id, start and end (open while the agent is still working on it), who prompted it, its LLM and tool calls, its three most used tools, its errors, tokens and cost. A ≥ before the tokens means some LLM calls reported none, so the total is a floor. Find the turn's span id in get_agent_trace's waterfall to read that part of the trace. A trace without turn spans is reported as one turn covering every span.

trace_id: the trace id (from list_agent_traces). workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them).

Example:

Which turn of trace 4bf92f3577b34da6a3ce929d0e0e4736 failed?

{
    "name": "get_trace_turns",
    "arguments": { "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736" }
}

Inputs: trace_id (required), workspace. Returns: result

list_agentsList AgentsA
Read-only
Inspect

List a workspace's agent instances with their live status — which agents exist, how many copies of each are running, and which copies are stale, gone or stopped. One row per instance, straight from the heartbeat store.

This is the same read the Rius console's Agents page makes, with the server's own status words: running, ready, stale, gone, stopped. The status is computed on the server from the last heartbeat; do not re-derive it from last_seen_at. open_trace_count is the true number of open traces and the running/ready signal; first_seen_at and stopped_at appear when the core serves them, and a blank first_seen_at means the start is unknown, not that it started now.

Every row here is a live instance; a trace-only agent (one that sends traces but no heartbeat) does not appear. If an agent you expect is missing, the reply says why that happens.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). agent: optional exact agent name, to list only that agent's instances. The server has no filter for it, so this narrows the reply here and names the agents that do have instances when nothing matches.

Example:

Which of my agents are running right now?

{ "name": "list_agents", "arguments": {} }

Are any copies of planner lost?

{ "name": "list_agents", "arguments": { "agent": "planner" } }

Inputs: agent, workspace. Returns: result

list_agent_tool_usageList Agent Tool UsageA
Read-only
Inspect

For one agent over the last hours (default 168, at most 720), every tool its LLM calls offered (listed among the tool definitions), with how many sessions were offered it (sessions_offered), how many of those called it at least once (sessions_called), and usage_pct = sessions_called / sessions_offered * 100 to one decimal. never_used marks a tool that was offered and never called. Ordered with used tools first by usage_pct highest first (ties: more sessions offered, then tool name), and never-used tools last. tool is the matched name: lower-cased, with an MCP prefix removed, so mcp__srv__search and search are one tool; display_name is the spelling most sessions used. Sessions whose LLM calls declared no tools are unknown, not tool-less: they count toward neither number, and sessions_with_tool_definitions says how many sessions the figures rest on. Each tool lists up to 5 skipped_session_ids, newest first: sessions that were offered it and did not call it. Two bounds apply. The window is at most 720 hours. Example sessions are looked up for only the first 30 tools in the response order that have any skipping session; later tools show skipped_session_ids [] although sessions_called is below sessions_offered. An agent with no such sessions answers 200 with tools [] (an agent name is not a registry entry).

Inputs: agentName (required), workspaceID (required), hours. Returns: hours, tools, $schema, agent_name, +1 more

list_agent_tracesList Agent TracesA
Read-only
Inspect

List recent agent traces (one row per trace) newest-first, as a Markdown table.

The trace_id column feeds get_agent_trace. When more traces match than limit, the reply carries a next-page cursor: pass it back as cursor to fetch the next page, rather than raising limit past what a chat can usefully display.

The session column is the ROOT span's session id; pass it to list_spans(session_id=...) to see every span of that conversation across the traces it touched. A span with no session of its own is stamped with its trace id, so a session equal to the row's trace_id means "no session", not a one-trace conversation. Blank where this deployment does not report it yet.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). hours: lookback window in hours (default 24), used for whichever of start/end is not given. start: optional absolute RFC3339 lower bound; overrides the hours-derived value when given. end: optional absolute RFC3339 upper bound; overrides the hours-derived value when given. service: optional service-name filter (traces that involve this service). status: optional trace status filter, "Ok", "Error", or "Incomplete". Note a trace reads Error when ANY of its spans errored, so a run that retried a failing step and then succeeded is in here too — read root_status to tell those apart. root_status: optional filter on the ROOT span's own verdict, "Ok", "Error", or "Incomplete". Composes with status rather than replacing it: status="Error" with root_status="Ok" is the recovered slice (children errored, the run itself finished clean), and root_status="Error" alone is the genuine failures. A trace whose root_status column is blank matches neither — the server made no claim about its root. agent: optional exact agent-name filter, matched against the trace's root span — the same value the root_agent column reports, so read a name off a listing rather than guessing one, and pass it back to get every other run of that agent. Agent identity is its own field, not the service name: a run that declares no agent falls back to its service name, so equal root_agent and service columns are that fallback, not two facts. instance: optional exact agent-instance filter, narrowing to one running copy of agent. user_id: optional end-user scope — the exact id, as the user_id column reports it. The END USER is the person your agents served (the user.id your SDK stamps), not a console login. Matched against ANY span of the trace, so a run counts if the user scope was open anywhere inside it. The column, though, is the ROOT span's user, so the two need not agree: a trace whose scope opened after its root matches the filter and still shows a BLANK cell. That gap is the any-span rule working as specified, not a filter that missed — read the trace's spans to see where the scope opened. anonymous: list the traffic carrying NO end user on any span, instead of one user's. A real subject rather than an error case: it is where un-instrumented traffic goes, and its error rate is worth knowing. The console's ?user=anonymous. Pass either user_id or anonymous, never both — they are disjoint by construction. filters: optional list of {"field": ..., "op": ..., "values": [...]} clauses, ANDed together and composable with the named parameters above. Cheapest first: status, agent, service, model, span_kind, operation, session_id are promoted columns and cost the same over any window. attr.<key> and resource.<key> reach a customer's own attributes and are ~10x dearer, so narrow with a column first; they are accepted only over windows of 31 days or less. Ops: eq, ne, in, not_in, gt, gte, lt, lte, exists, not_exists. Substring on an attribute value is refused — use error_text or search instead. Call describe_search_catalog before guessing a key; a rejected clause comes back naming itself. search: optional case-insensitive contains match on span name, span id, trace id, or session id. A session id alone — e.g. a coding-agent session's — finds every trace of that session in one call; on a core that predates session-id search it matches nothing, so fall back to filters=[{"field": "session_id", "op": "eq", "values": [...]}]. error_text: optional free text over the failure itself — the status message and any recorded exception. This is how you find a failure by what it said ("rate limit", "connection reset") rather than by where it was. limit: max rows (default 20). cursor: opaque page token from a previous call's next-page cursor, to fetch the page after it. silent_failure: true keeps only traces flagged by the silent-failure detectors (at least one live finding), false keeps only the unflagged ones. Omit for both. Unrelated to the swallowed_error alert rule kind (formerly silent_failure) that the alert tools manage. failure_mode: optional catalog id (e.g. CF-01) keeping only traces with a live finding of that failure mode.

The Silent failure column reads yes (CF-01, CF-15) for a flagged trace and is blank otherwise; get_agent_trace shows the findings behind it.

The sent_by column names the developer whose ingest key sent the trace (their stable email — a console-made key falls back to its creator's own email, so it usually carries one too). Blank only when the key could not be resolved (unknown, another workspace's, or a failed lookup), or the trace predates attribution.

Example:

Why did checkout-agent start failing at 14:00?

{
    "name": "list_agent_traces",
    "arguments": {
        "agent": "checkout-agent", "status": "Error", "root_status": "Error",
        "start": "2026-09-16T14:00:00Z", "end": "2026-09-16T15:00:00Z",
        "error_text": "rate limit"
    }
}

Failed runs that used gpt-4o and called the send_email tool.

{
    "name": "list_agent_traces",
    "arguments": {
        "status": "Error",
        "filters": [
            {"field": "model", "op": "eq", "values": ["gpt-4o"]},
            {"field": "attr.tool.name", "op": "eq", "values": ["send_email"]}
        ]
    }
}

Example:

Show me the failed runs from the last two days.

{ "name": "list_agent_traces", "arguments": { "hours": 48, "status": "Error" } }

Which runs actually failed, ignoring the ones that retried and recovered?

{ "name": "list_agent_traces", "arguments": { "hours": 48, "root_status": "Error" } }

Show me the runs that hit errors but finished cleanly anyway.

{
    "name": "list_agent_traces",
    "arguments": { "hours": 48, "status": "Error", "root_status": "Ok" }
}

Which runs failed silently with CF-01 this week?

{
    "name": "list_agent_traces",
    "arguments": { "hours": 168, "silent_failure": true, "failure_mode": "CF-01" }
}

checkout-agent's traces between two dates.

{
    "name": "list_agent_traces",
    "arguments": {
        "agent": "checkout-agent",
        "start": "2026-08-01T00:00:00Z",
        "end": "2026-08-08T00:00:00Z"
    }
}

Inputs: end, agent, hours, limit, +14 more. Returns: result

list_alert_channelsList Alert ChannelsA
Read-only
Inspect

List where this workspace's alerts can be delivered.

Use it to find a channel id for create_alert_rule or update_alert_rule. Needs the channels:manage capability rather than plain read, because the target column shows the actual destination — a webhook URL, an email recipient list, a Slack channel.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

Where do my alerts go?

{ "name": "list_alert_channels", "arguments": {} }

Inputs: workspace. Returns: result

list_alert_rulesList Alert RulesA
Read-only
Inspect

List every alert rule in the workspace — predefined and custom together.

Predefined rules are the built-in detectors, one per kind, which you can configure and toggle but not create or delete. Custom rules are ones someone built from the metric catalog; there can be many.

The ref column is what update_alert_rule and delete_alert_rule take: a kind name for a predefined rule, a uuid for a custom one.

A predefined rule only appears once alert-manager has reached this workspace, so an empty list can simply mean detection has not started yet.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

What alerts are configured?

{ "name": "list_alert_rules", "arguments": {} }

Inputs: workspace. Returns: result

list_alertsList AlertsA
Read-only
Inspect

List alerts that have fired, newest first.

This is the "what is broken" tool. An alert is opened by a detector and stays open, accumulating occurrences, until the detector resolves it — so an open alert with a recent last_seen is still happening.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default). status: open or resolved; omit for both. kind: narrow to one detector — consistent_error_pattern, swallowed_error, tool_loop, context_rot, or custom. Every custom rule shares the kind "custom", so use rule_id to isolate one custom rule. rule_id: narrow to the firings of one specific rule (from list_alert_rules). service: exact service name. step: exact step (span) name. search: case-insensitive match on the alert title. acknowledged: true or false; omit for both. hours: how far back to look, on last_seen. Defaults to 24. The server itself is unbounded if no window is given, which would scan all history. limit: rows to return, at most 200.

Example:

What alerts are open right now?

{ "name": "list_alerts", "arguments": { "status": "open" } }

Example:

Show me the errors alert for the checkout service this week.

{ "name": "list_alerts", "arguments": { "service": "checkout", "hours": 168 } }

Inputs: kind, step, hours, limit, +6 more. Returns: result

list_metrics_catalogList Metrics CatalogA
Read-only
Inspect

List every metric the platform knows how to compute, with its unit, nullability, which read serves it, and its companions (the extra response keys it contributes: coverage keys for scalars, row/point value keys for breakdowns and series). Use it to discover exact field names instead of guessing them.

workspace: optional workspace name or id (the catalog is identical for every caller; this only fills the request path). group: optional group filter, e.g. "cost", "volume", "tokens", "latency", "ttft", "reliability". kind: optional kind filter: "scalar", "series", or "breakdown".

Example:

What latency metrics exist?

{ "name": "list_metrics_catalog", "arguments": { "group": "latency" } }

Inputs: kind, group, workspace. Returns: result

list_silent_failuresList Silent FailuresA
Read-only
Inspect

List the silent-failure findings the detectors reported across a workspace.

A finding says one run failed in a way its status does not show: a failure mode (e.g. CF-01), the subject it concerns, a severity and a reason. These are per-trace findings, NOT the swallowed_error alert rule kind (formerly silent_failure) that the alert tools (list_alerts, list_alert_rules) manage. Newest first, followed by a per-day count and a cursor when more match. The trace_id column feeds get_agent_trace. For a CF-01 (tool_loop) finding the subject is the tool name and the spans column lists the repeated calls in order; an info one is likely polling (polling_as_info in update_alert_rule) and alerts nobody. For a CF-03 (context_rot) finding the spans column gives the earlier LLM call, the call that came back smaller and, when marked, the compaction span; pass the first two to get_context_loss as from_span_id and to_span_id to see what the context lost. When a detector reports nothing, get_silent_failure_coverage says whether it has the telemetry to.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default). failure_mode: optional catalog id, e.g. CF-01. agent: optional exact agent name, as the agent column reports it. state: provisional, confirmed or retracted. Omit for provisional and confirmed; a retracted finding is no longer a failure and is listed only when asked for. since_hours: how far back to look, on when the failure was detected (default 168, at most 744). limit: rows to return, at most 200 (default 50). cursor: the cursor from the previous page; send the same filters with it.

Example:

What failed silently this week?

{ "name": "list_silent_failures", "arguments": {} }

Confirmed CF-01 findings for checkout-agent in the last day.

{
    "name": "list_silent_failures",
    "arguments": {
        "failure_mode": "CF-01", "agent": "checkout-agent",
        "state": "confirmed", "since_hours": 24
    }
}

Inputs: agent, limit, state, cursor, +3 more. Returns: result

list_spansList SpansA
Read-only
Inspect

List spans across every trace in the workspace (not grouped by trace), as a Markdown table — the cross-trace complement to get_agent_trace's single-trace waterfall. Use it to find spans by kind/session/agent regardless of which trace they landed in, e.g. "every failed tool call this week" or "this session's spans across however many traces it touched".

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). hours: lookback window in hours (default 24), used for whichever of start/end is not given. start: optional absolute RFC3339 lower bound; overrides the hours-derived value when given. end: optional absolute RFC3339 upper bound; overrides the hours-derived value when given. kind: optional derived semantic span kind: "llm", "tool", "chain", "retriever", "reranker", "agent", "embedding", or "other". A rerank call is "reranker", not "llm", though it names a model. Distinct from each row's own kind column, which is the raw OTLP span kind (SERVER/CLIENT/INTERNAL/...). status: optional span status filter, "Ok", "Error", or "Incomplete". session_id: optional exact match on the span's session id, across every trace in that session. Read one off the session column (reported here, on list_agent_traces and by get_agent_trace) rather than guessing. A span with no session of its own reports its trace id there, so passing a trace id selects that one trace's session-less spans. agent: optional exact agent-name filter — the span's own agent, not a trace-level rollup. Reported back in the agent column, so a listing names the agents it can filter by; a span whose run declared no agent carries its service name there instead. instance: optional exact agent-instance filter, narrowing to one running copy of agent. user_id: optional end-user scope — the exact id, as the user_id column reports it. Here the column is the SPAN's own end user rather than a trace-level rollup, so every row of a scoped listing shows the id it matched on. (On list_agent_traces the same column name is the ROOT span's, which is why a trace row there can match and still read blank. When that happens, this tool is how you find the spans that did carry the user.) anonymous: list the spans carrying no end user instead of one user's. Pass either user_id or anonymous, never both. search: optional case-insensitive contains match on span name, span id, trace id, or session id. error_text: optional free text over the failure itself — the status message and any recorded exception. Finds a failing span by what it said. filters: optional list of {"field": ..., "op": ..., "values": [...]} clauses, ANDed and composable with the named parameters. Promoted columns (status, agent, service, model, span_kind, operation, session_id) are cheap over any window; attr.<key> and resource.<key> reach a customer's own attributes, cost ~10x more, and are accepted only over 31 days or less — narrow with a column first. Ops: eq, ne, in, not_in, gt, gte, lt, lte, exists, not_exists. Call describe_search_catalog before guessing a key. sort_field: optional sort column: "start_time" (default), "duration_ms", "tokens", or "cost". sort_dir: optional sort direction, "asc" or "desc" (default "desc"). limit: max rows (default 50). cursor: opaque page token from a previous call's next-page cursor, to fetch the page after it.

When an LLM call carries context, the table gains a ctx column after out: the prompt size against the window and how full it was (155k/200k 78%), a dash for a span without it. Scan it to find the call where the context dropped, then pass that call to get_context_loss or get_agent_trace.

Example:

Show me every errored tool call in the last day.

{ "name": "list_spans", "arguments": { "kind": "tool", "status": "Error" } }

All spans in session user-42-chat-7.

{ "name": "list_spans", "arguments": { "session_id": "user-42-chat-7" } }

Inputs: end, kind, agent, hours, +14 more. Returns: result

list_usersList End UsersA
Read-only
Inspect

The window's END USERS as a ranked register: who your agents served.

The end user is the person on the other side of the agent — the user.id your SDK stamps — not a console login and not an org member. The words are worth keeping straight: an ORG is the Rius customer, a WORKSPACE is one of their own clients, and an end user is that client's user.

Read a user_id off this register and pass it to user_activity_summary for that person's KPIs, or to list_agent_traces(user_id=...) for their runs. This is the same read the console's Users page makes.

TOP-N by design, not by accident: a B2C workspace can hold millions of end users, so the server ranks and caps. When it reports more, q reaches PAST the cap by exact id — it is an equality probe, never a substring search, so a fragment finds nothing rather than scanning millions of ids.

Three figures that are easy to misread, so each travels with its caveat: anonymous traffic is always reported and is a real subject rather than an error case; coverage is counted in TRACES because one trace can belong to two end users under the any-span rule; and a null cost means nothing in the window was priced, which is not the same as free.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). hours: lookback window in hours (default 24), used for whichever of start/end is not given. The register is an unindexed group-by, so the window is capped at 31 days and a wider one is refused. start: optional absolute RFC3339 lower bound (e.g. "2026-08-01T00:00:00Z"); overrides the hours-derived value when given. end: optional absolute RFC3339 upper bound; overrides the hours-derived value when given. sort: "traces" (default), "failed_traces", or "cost" — all descending. A value outside that set is refused rather than quietly defaulted, since a wrong ranking under a right-looking header cannot be caught later. limit: users per page (default 20, server max 100). q: an EXACT end-user id. Returns that user's row even when they fall outside the top-N, or an empty register when the window holds nothing for them.

Example:

Who are my busiest end users this week?

{ "name": "list_users", "arguments": { "hours": 168 } }

Which end users are seeing the most failures?

{ "name": "list_users", "arguments": { "hours": 168, "sort": "failed_traces" } }

Is u_8f2 in the last 30 days at all?

{ "name": "list_users", "arguments": { "hours": 720, "q": "u_8f2" } }

Inputs: q, end, sort, hours, +3 more. Returns: result

list_workspacesList WorkspacesA
Read-only
Inspect

List the workspaces you have access to (id and name).

On an interactive (OAuth) login this spans every organization you belong to, grouped under each org's name; an API-key connection sees the single workspace its key is bound to.

Use it to find the right value for the workspace argument of the trace, metrics and alert tools. That argument takes a workspace id, a workspace name, or — when the same name occurs in two of your orgs — the org-qualified org-name/workspace-name form.

Example:

Which Rius workspaces do I have?

{ "name": "list_workspaces", "arguments": {} }

Inputs: no named parameters. Returns: result

update_alert_channelUpdate Alert ChannelA
DestructiveIdempotent
Inspect

Change a notification channel: rename it, re-point it, or enable/disable it.

Only what you pass changes; a channel's secrets are left alone if you do not resubmit them. A channel's type cannot be changed — create a new one instead.

A channel that has failed to deliver several times in a row is disabled automatically; pass enabled true to bring it back once you have fixed it.

Needs the channels:manage capability.

channel_id: the channel's id, from list_alert_channels. name: a new label. url: for a webhook — a new https URL to POST to. recipients: for email — the full replacement list of addresses. enabled: turn delivery on or off. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

Disable the ops webhook for now.

{ "name": "update_alert_channel", "arguments": { "channel_id": "8a1…", "enabled": false } }

Inputs: channel_id (required), url, name, enabled, +2 more. Returns: result

update_alert_ruleUpdate Alert RuleA
DestructiveIdempotent
Inspect

Reconfigure or toggle one alert rule, predefined or custom.

ref decides which: a kind name (consistent_error_pattern, swallowed_error, tool_loop, context_rot) addresses the predefined rule of that kind; a uuid addresses a custom rule. Get either from list_alert_rules.

Only what you pass changes. Turning a rule off stops detection, not just notification — gaps in history are permanent and nothing backfills them.

The two rule shapes take DIFFERENT settings, and mixing them is refused with a message naming the right one:

  • a predefined rule has named integer knobs -> pass config

  • a custom rule has metric thresholds -> pass rules (+ window_minutes)

ref: the rule's kind or uuid. enabled: turn detection on or off. rca_enabled: turn root-cause analysis on or off for this rule. name: rename a custom rule (predefined rules take their name from their kind). config: for a PREDEFINED rule only — its named knobs, e.g. {"min_errored_spans": 10}. consistent_error_pattern takes window_minutes, min_errored_spans, min_distinct_traces; swallowed_error takes window_minutes, min_errored_spans. tool_loop takes window_minutes, min_identical_calls (3-100000, identical calls in one run that make a loop), exclude_retries (0 off, 1 on, the default: a call that errored ends the loop and does not count, so a retry is not a loop) and polling_as_info (0 off, 1 on, the default: a loop whose calls come at a near-regular interval is written as an info finding, likely polling, and alerts nobody; set 0 to alert on polling too) and session_scope (0 off, the default, 1 on: the runs of one session are read as one sequence, so the same call repeated across consecutive runs of a session is a loop too; a run boundary does not end the sequence, a pause of over five minutes does; the finding lands on the run that completed the loop). context_rot takes window_minutes plus: max_context_usage_pct (1-100, how full the window may get), critical_context_usage_pct (1-100, the critical level; the server requires it to be at least max_context_usage_pct), max_tool_share_pct (1-100, the share of the context one tool's results may take), sustain_calls (1-20, how many LLM calls a condition must hold for), min_drop_pct (10-95, the smallest fall in prompt size, in percent, that counts as a drop), detect_history_loss, detect_cutoff and detect_thrashing (0 off, 1 on; true and false are accepted), thrash_compactions (2-10, consecutive automatic compactions that count as thrashing; a manual compaction breaks the chain) and thrash_calls (1-50, the most LLM calls between two compactions for the second to count as following the first). Call describe_alert_catalog for the bounds. rules: for a CUSTOM rule only — replace its thresholds. Replaces the whole list, so pass window_minutes with it. window_minutes: the window. For a custom rule it is part of the replaced config, so pass rules too; for a predefined rule put it in config. filters: for a CUSTOM rule only — replace its filters. Replaces the whole list. Same shape and the same verbatim-value rule as create_alert_rule. channel_ids: change where the rule delivers. Needs channels:manage. An empty list does NOT silence the rule — it re-points it at the region's default webhook. To stop notifications, set enabled to false. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default).

Example:

Turn off the tool loop alert.

{ "name": "update_alert_rule", "arguments": { "ref": "tool_loop", "enabled": false } }

Example:

Alert me on polling loops too, and only after 5 identical calls.

{ "name": "update_alert_rule", "arguments": {
    "ref": "tool_loop",
    "config": { "polling_as_info": 0, "min_identical_calls": 5 }
} }

Example:

Make the error pattern alert less noisy — 10 errors, not 3.

{ "name": "update_alert_rule", "arguments": {
    "ref": "consistent_error_pattern",
    "config": { "min_errored_spans": 10 }
} }

Example:

Flag an agent that compacts three times in a row, within 5 calls of each other.

{ "name": "update_alert_rule", "arguments": {
    "ref": "context_rot",
    "config": { "detect_thrashing": 1, "thrash_compactions": 3, "thrash_calls": 5 }
} }

Inputs: ref (required), name, rules, config, +6 more. Returns: result

user_activity_summarySummarize User ActivityA
Read-only
Inspect

Summary KPIs for ONE end user's activity over a time window: trace count, LLM calls, error rate, failed vs errored traces, sessions, total/average cost, token usage, and latency and TTFT percentiles.

An "end user" here is the person your agents serve — the user.id your SDK stamps via rius.user(...) / withUser(...) — not a Rius account. Use it when someone arrives with a complaint and an identifier: "what did user u_8f2 experience this week" is one call, and the answer is a rollup rather than a trace list you have to fold yourself.

Same read, same window and the same figures the Rius console's user page shows for that id, so a number you report and a number a human reads there are the same number. Field names match agent_traces_summary wherever they mean the same thing.

Read the Failed traces and Errored traces lines as the two different questions they are, and do not add them together or report one as "errors": a run whose ROOT span errored FAILED, while a run that errored somewhere and then recovered did not.

user_id: the end user's exact id, as list_agent_traces reports it in the user_id column — read one off a listing rather than guessing. Matched against any span of the trace, so a trace counts for this user if the user scope was open anywhere inside it, not only at the root. anonymous: summarise the traffic that carries NO end user instead. This is a real subject, not an error case: it answers "what is happening to the runs nobody attributed", and a high error rate there is worth knowing. It is the console's ?user=anonymous. Pass either user_id or anonymous, not both. workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). hours: lookback window in hours (default 24), used for whichever of start/end is not given. start: optional absolute RFC3339 lower bound (e.g. "2026-08-01T00:00:00Z"); overrides the hours-derived value when given. end: optional absolute RFC3339 upper bound; overrides the hours-derived value when given. filters: optional further {"field": ..., "op": ..., "values": [...]} clauses, ANDed with the user scope — the same grammar and registry as list_agent_traces. Call describe_search_catalog before guessing a key.

Example:

What did user u_8f2 experience in the last 24 hours?

{ "name": "user_activity_summary", "arguments": { "user_id": "u_8f2" } }

How has that user's week been?

{
    "name": "user_activity_summary",
    "arguments": { "user_id": "u_8f2", "hours": 168 }
}

How much of our traffic has no user attached, and is it failing?

{ "name": "user_activity_summary", "arguments": { "anonymous": true } }

What did that user's gpt-4o runs cost?

{
    "name": "user_activity_summary",
    "arguments": {
        "user_id": "u_8f2",
        "filters": [{ "field": "model", "op": "eq", "values": ["gpt-4o"] }]
    }
}

Inputs: end, hours, start, filters, +3 more. Returns: result

workspace_metrics_overviewWorkspace Metrics OverviewA
Read-only
Inspect

Aggregated health of a whole workspace over a time window: the numbers behind the dashboard's overview: volume (traces/spans/LLM calls), cost, tokens, latency percentiles, TTFT, error rates, each with its previous-window baseline and delta, plus ranked breakdowns (per model, top agents, calls by kind, top exceptions, slowest spans).

Use this to answer "how is my workspace doing" before drilling into individual traces with list_agent_traces / get_agent_trace.

workspace: optional workspace id, name, or org-name/workspace-name when the same name occurs in two of your orgs (defaults to your default; use list_workspaces to discover them). hours: lookback window in hours (default 24). Bucket grain is server-decided from the window length: ≤2h → minute, ≤48h → hour, else day. minute and hour buckets are window-relative (bucket k starts at from + k×step); day buckets are UTC calendar days, so the first and last cover only the part of their day inside the window and a low value there is that clip, not a drop. The rendered series states which of its edges are clipped. minutes: lookback in minutes instead of hours, for short "last 10 minutes" windows (ignored when 0). breakdowns: include the ranked per-model / per-agent / per-kind tables (default true). series: include the per-bucket sparkline values (default false; they are verbose).

Values are milliseconds for latency/TTFT; — means not measured (null), which is never the same as a measured 0. Metrics listed as degraded failed to compute and are absent rather than zero.

Example:

How is my workspace doing today?

{ "name": "workspace_metrics_overview", "arguments": {} }

Anything wrong in the last 10 minutes?

{ "name": "workspace_metrics_overview", "arguments": { "minutes": 10 } }

Inputs: hours, series, minutes, workspace, +1 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.