Skip to main content
Glama
robotraconteur-mcp

robotraconteur-mcp

by johnwason

robotraconteur_sequence_status

Read-only

Report a sequence's state (running, completed, failed, stopped, timed out) and its step results, optionally waiting up to 30 seconds for it to finish.

Instructions

Report the state of a sequence and the results of its steps so far: running, completed, failed (a step failed, including a wait_until that reached its timeout_s), cancelled, stopped (a stop_when step's condition was met, given in stopped_by), or timed_out (the sequence ran past max_duration_s). Use wait_s to check partway through a running sequence. wait_s counts from when this call arrives, not from the start of the sequence, so to check at a set time in the sequence, compare elapsed_s. current_step is the step running, or the next one with waiting true while the sequence waits for its starts_at_s. A sequence that was cancelled, stopped, or timed out gives stopped, saying why and where it stopped, and one that did not complete gives not_run, how many step runs never started. started is when the sequence started, ended is when it ended, and now is the server's current time, all from the same clock, and each result gives its own started as an absolute time too. elapsed_s is how long the sequence has run, and stops when it ends, and each result has the step index, when it started in seconds from that time, how long it took, how late it started if it was late, and its result or error. Set wait_s to wait for the sequence to finish, up to 30 seconds, rather than calling repeatedly. Results are returned in order, and a long list is split over calls: pass next_index as from_index to get the rest, or only the new ones. Without sequence_id, lists the sequences, with now, the server's current time.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "robotraconteur_sequence_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoWithout sequence_id, the most sequences to list, newest first. The default is 10
untilNoWith wait_s, return as soon as the step with this label has a result, whether it ran, failed, or was skipped, rather than waiting for the sequence to end. until_met says whether it did
detailNocompact, the default, leaves out steps that succeeded on time without returning a value and have no label, and gives their number in omitted. full gives every step, such as to check the timing of each one
wait_sNoWait up to this many seconds for the sequence to finish before answering
from_indexNoReturn results from this index. The default is 0
sequence_idNoThe sequence, from robotraconteur_start_sequence

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnlyHint=true; the description adds substantial behavioral context beyond that — wait_s is measured from call arrival, capped at 30 seconds, elapsed_s stops at sequence end, all timestamps share one clock, and long result lists are paginated via next_index/from_index. There is no contradiction with the read-only annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and status vocabulary are front-loaded, and most sentences carry needed information since there is no output schema. It is a dense, paragraph-long text with some run-on constructions (e.g., the cancelled/stopped/timed_out clause), which slightly hurts scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and six parameters, the description takes on the full return-value burden and does so: statuses, stopped_by/not_run semantics, timing fields, per-step result fields, and pagination are all explained. Nothing essential for calling or interpreting this tool appears missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning for wait_s (counts from call arrival, compare elapsed_s for sequence-relative timing) and for from_index (a long list is split over calls; pass next_index as from_index for the rest or only the new ones). limit, detail, and until are left to the schema, which already documents them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening states a specific verb and resource — 'Report the state of a sequence and the results of its steps so far' — and then enumerates the exact states (running, completed, failed, cancelled, stopped, timed_out). It also distinguishes the two modes (with vs. without sequence_id), so an agent can tell what the tool returns without inspecting the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete usage advice: 'Use wait_s to check partway through a running sequence' and 'Set wait_s to wait for the sequence to finish, up to 30 seconds, rather than calling repeatedly,' plus the no-sequence_id listing mode. That covers when-to-use and an anti-pattern, but it never names sibling tools (e.g., cancel_sequence or start_sequence) as alternatives or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.