Skip to main content
Glama
robotraconteur-mcp

robotraconteur-mcp

by johnwason

robotraconteur_read_events

Reads events sent by a Robot Raconteur service, oldest first, optionally filtered by name or limit, and can clear returned events so later calls fetch newer ones.

Instructions

Return events a service has sent, such as a fault, a trigger, or a message arriving, oldest first, with now, the server's current time, from the same clock as the events' times. Events are collected once the service has been used by any tool, including robotraconteur_describe, so earlier ones are not seen. To wait for an event rather than checking repeatedly, use a wait_until step of robotraconteur_start_sequence. With clear false, this only looks: the events stay, and a wait_until still sees them and takes only those it matches.

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": {
      "service": "<service>"
    },
    "name": "robotraconteur_read_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOnly return events with this name, such as new_message
clearNoRemove the returned events from the buffer, so the next call returns the ones after them. The default is true
limitNoThe most events to return, oldest first. The default is 50
serviceYesName of the service, as listed by robotraconteur_discover

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/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 burden and does so: it discloses that events are buffered and cleared by default, that clearing affects what a later wait_until sees, that events are ordered oldest first, and that the returned 'now' shares the events' clock. This is exactly the destructive-default and side-effect context an agent needs before calling.

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

Conciseness5/5

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

The first clause establishes the core action and ordering before any caveats, and every following sentence carries new information: timing semantics, the buffering caveat, the waiting alternative, and the clear=false behavior. No sentence merely restates the name or the schema.

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

Completeness4/5

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

Without an output schema, the description takes on return-value disclosure and does describe the payload (events plus a server 'now' from the same clock). It leaves the internal shape of an individual event unspecified, which is a modest gap but not a blocking one given the schema fully documents the inputs.

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 the baseline is 3, but the description adds meaning beyond the schema by explaining the interaction of clear=false with subsequent calls and with wait_until matching. The 'oldest first' ordering is restated rather than added, and no extra detail is given on limit bounds, so it stops short of a 5.

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 description opens with a specific verb and resource: 'Return events a service has sent', then gives concrete examples (fault, trigger, message arriving) and ordering ('oldest first'). It also signals what it is not by pointing to robotraconteur_start_sequence for waiting, so the agent can separate it from a polling-free alternative without opening any schema.

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 names the alternative explicitly ('use a wait_until step of robotraconteur_start_sequence') and the condition that selects it (rather than checking repeatedly). It also states the non-destructive variant ('With clear false, this only looks') and the caveat that events sent before the service was first used are not seen, which is when-not guidance in practice.

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