Skip to main content
Glama
robotraconteur-mcp

robotraconteur-mcp

by johnwason

robotraconteur_read_wire

Read-only

Read the latest value from a Robot Raconteur wire to get continuously updated robot state or sensor data, and detect when a device has stopped updating.

Instructions

Read the latest value of a wire. Wires carry continuously updated data such as robot state and sensor readings. read_at is when it was read, not when the device last updated it. not_updating appears when a standard state's seqno has not changed for 5 s: the device stopped sending.

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": "<name>"
    },
    "name": "robotraconteur_read_wire"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the wire, as listed by robotraconteur_describe
objectNoPath to a sub object, such as arm or arm.tool[0]. Leave unset for the root object
serviceYesName of the service, as listed by robotraconteur_discover

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds real value beyond that by explaining that read_at is the read timestamp rather than the device update time and by documenting the not_updating signal. It still says nothing about staleness of the returned value other than that flag, or about polling/blocking behavior.

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?

Four short sentences, front-loaded with the action, then the resource definition, then two precise caveats. Every sentence carries information an agent would otherwise have to guess.

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?

With no output schema, the description usefully explains two of the returned fields (read_at and not_updating), which is exactly the kind of gap it should fill. It is close to complete for a simple read tool, with only minor omissions around return structure and whether reads are blocking.

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

Parameters3/5

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

Schema coverage is 100%, with each of the three parameters documented in the schema (including the sub-object path example). The description adds no parameter-level meaning, so baseline 3 applies; the read_at discussion describes a return field, not an input.

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

Purpose4/5

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

States a specific verb+resource ('read the latest value of a wire') and defines what a wire is ('continuously updated data such as robot state and sensor readings'), which cleanly separates it from robotraconteur_write_wire. It doesn't explicitly contrast with robotraconteur_read_events, so it stops short of full sibling differentiation.

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

Usage Guidelines3/5

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

Usage is implied by the nature of the resource: use this to sample current state rather than a historical stream. There is no explicit when-to-use / when-not-to-use statement or named alternative for event-style data, so guidance is only inferred.

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