Skip to Content
RiusMCPTool reference

Tool reference

Every tool the Rius MCP server exposes, with arguments and example invocations. All tools return Markdown, which your client renders as tables and summaries. Everything is read-only with one exception, create_api_key, which is admin-gated.

Two conventions apply across the trace tools:

  • workspace is optional everywhere: pass a workspace name or ID, or omit it to use your default workspace. Discover workspaces with list_workspaces.
  • hours is a lookback window ending now (default 24). “This week” is hours: 168.

You rarely invoke tools by hand. Ask your client a question, and it picks the tools and arguments itself. The examples show what the client sends, which helps when a question is not picking the tool you expect.

agent_traces_summary

Summary KPIs for agent traces over a time window: trace count, LLM calls, error rate, total/average cost, token usage, and latency percentiles (p50/p95/p99).

ArgumentTypeDefaultDescription
workspacestring""optional workspace name or id (defaults to your default; use list_workspaces to discover them).
hoursinteger24lookback window in hours (default 24).
servicestring""optional service-name filter (traces that involve this service).

How did my agents do over the last 24 hours?

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

Summarize the checkout-agent service this week.

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

create_api_key

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.

ArgumentTypeDefaultDescription
workspacestring""optional workspace name or id (defaults to your default; use list_workspaces to discover them).
namestringglassflow-connect-agenta label for the key, shown in the workspace’s key list later.
scopesanynullkey capabilities: [“ingest”] (default) to send telemetry, add “read” ([“ingest”, “read”] or [“read”]) for a key that can also be used as the Authorization bearer for headless MCP connections and the query API.

Create an API key so this agent can send traces.

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

Give it a key that can query the API too.

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

get_agent_trace

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

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

ArgumentTypeDefaultDescription
trace_idstringrequiredthe trace id (from list_agent_traces).
workspacestring""optional workspace name or id (defaults to your default; use list_workspaces to discover them).
include_contentbooleanfalsewhen 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).

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 } }

get_me

Get your own identity and access context.

Returns your user (id, external id, email), your organization (id, name) and your role in it (“admin” or “member”), and the workspaces you can access. If you have not yet joined an organization (for example, a pending invite that has not been accepted), the organization and role are reported as “none”. On a connection authenticated with an API key rather than a login, only the workspaces are reported — a key has no user or organization of its own.

No arguments.

Who am I in Rius?

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

list_agent_traces

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 exist than limit, the reply says so; narrow the window or add a filter rather than raising the limit past what a chat can usefully display.

ArgumentTypeDefaultDescription
workspacestring""optional workspace name or id (defaults to your default; use list_workspaces to discover them).
hoursinteger24lookback window in hours (default 24).
servicestring""optional service-name filter (traces that involve this service).
statusstring""optional trace status filter, “Ok” or “Error”.
limitinteger20max rows (default 20).

Show me the failed runs from the last two days.

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

list_metrics_catalog

List every metric the platform knows how to compute, with its unit, nullability, which endpoint 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.

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

What latency metrics exist?

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

list_workspaces

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

Use it to find the right value for the workspace argument of the trace and metrics tools.

No arguments.

Which Rius workspaces do I have?

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

workspace_metrics_overview

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.

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.

ArgumentTypeDefaultDescription
workspacestring""optional workspace name or id (defaults to your default; use list_workspaces to discover them).
hoursnumber24lookback window in hours (default 24). Bucket grain is server-decided from the window length: ≤2h → minute, ≤48h → hour, else day.
minutesinteger0lookback in minutes instead of hours, for short “last 10 minutes” windows (ignored when 0).
breakdownsbooleantrueinclude the ranked per-model / per-agent / per-kind tables (default true).
seriesbooleanfalseinclude the per-bucket sparkline values (default false; they are verbose).

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 } }

Next steps

Last updated on