Skip to main content
Glama
robotraconteur-mcp

robotraconteur-mcp

by johnwason

robotraconteur_start_sequence

Runs timed step sequences on the server so actions execute at exact times without model round trips, and returns each sequence_id at once for status tracking.

Instructions

Start one or more timed sequences of steps, and return at once with each one's sequence_id. The steps run in the server without a round trip through the model, so their timing is exact. Before writing your first sequence, read robotraconteur_help topics actions, timing, and stopping, and others as needed, such as waiting, conditions, on_stop, skipping, events, and examples, in one call. Essentials: steps of a sequence run one at a time, in order. Sequences in one call start together on one clock, and every step is checked before any starts, so nothing starts if any step is wrong. A step with at_s or at starts on time or fails. wait_until waits for a condition on a wire, property, or event. stop_when watches in the background and stops its sequence when its condition is met; to stop every sequence of a call on one condition, use the call's stop_when. An active stop_when, including the call's, holds only the events it matches, so the stop wins and other events still reach wait_until. on_stop steps clean up after any early end and cannot wait. The first step of any sequence to match an event takes it. Step arguments are fixed when the sequence starts: a step cannot use an earlier step's result, so branch on it with only_if, or read it and start a new sequence. Follow sequences with robotraconteur_sequence_status. A sequence keeps running if the conversation is interrupted. A cancel arrives a turn late, so put planned stops in max_duration_s or stop_when. Anything that must interrupt a running sequence, such as an operator request, a fault, or a sensor limit, needs a stop_when in that sequence or the call's stop_when, with on_stop to make the device safe; checked only between sequences, it waits until the running step ends.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sequences": "<sequences>"
    },
    "name": "robotraconteur_start_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
untilNoWith wait_s, return as soon as the step with this label has a result, rather than when the sequences end. until_met says whether it did
detailNoWith wait_s, which results to give for each sequence, as robotraconteur_sequence_status does. The default is compact
wait_sNoWait up to this many seconds, counted from the start, for all the sequences to finish, and answer for each as robotraconteur_sequence_status does
sequencesYesThe sequences to start, usually one. Several start at the same instant on one clock, such as to move several robots together. Each runs on its own once started, with its own sequence_id, unless stop_together is set
stop_whenNoA stop_when for the whole call: if its condition is met, every sequence still running is stopped at once and runs its own on_stop. It holds only the events it matches, so the stop wins and other events still reach the wait_until steps. Use it, not one stop_when in each sequence, to stop a whole show on one message or fault. robotraconteur_help topic: stopping
stop_togetherNoIf true, when any of these sequences ends without completing, every other one still running is stopped at once, and runs its own on_stop. robotraconteur_help topic: stopping

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so richly: asynchronous return with sequence_id, execution server-side without a model round trip, all steps validated before any starts, sequences survive conversation interruption, cancel latency, on_stop cannot wait, and event-holding semantics for stop_when. It also discloses the first-step-wins event matching rule and that step arguments are frozen at start.

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

Conciseness3/5

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

The purpose is front-loaded and an 'Essentials:' marker helps, but the remainder is one dense wall of text mixing sequencing semantics, interruption policy, and safety guidance. Several points are restated in the nested schema (stop_when holding matched events, on_stop cleanup), so not every sentence earns a unique place in the description itself.

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?

For a tool with deep nested objects, 6 parameters, and no output schema, the description covers everything an agent needs: prerequisites, ordering and validation guarantees, what is returned, how to observe progress, and how to guarantee safe termination. Nothing critical for correct invocation is 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 3 is the baseline, and the description exceeds it by explaining the intent behind max_duration_s versus stop_when, call-level stop_when versus per-sequence stop_when, and stop_together's cascade-stop behavior. It adds less for until, detail, and wait_s, which rest on the schema but are still referenced through the sequence_status analogy.

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 first sentence gives a specific verb, resource, and outcome: 'Start one or more timed sequences of steps, and return at once with each one's sequence_id.' It immediately separates this from sibling tools by naming robotraconteur_sequence_status as the follow-up and robotraconteur_cancel_sequence implicitly through the cancel discussion.

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

Usage Guidelines5/5

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

It states a prerequisite ('read robotraconteur_help topics actions, timing, and stopping... in one call'), names the follow-up tool, and gives explicit routing rules: use the call's stop_when rather than per-sequence stop_when to stop a whole show, put planned stops in max_duration_s or stop_when because a cancel arrives a turn late, and use loop-level stop_when plus on_stop for operator requests, faults, or sensor limits. When-to-use and when-not-to-use are both covered.

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