Skip to main content
Glama
Lynn-hh

io.github.Lynn-hh/armguard-mcp

get_robot_state

Read-onlyIdempotent

Retrieve current joint positions, TCP pose, external wrench, gripper state, and safety status for read-only robot monitoring and safe motion decisions.

Instructions

Current joint positions [rad], TCP pose [m, quaternion xyzw] in the robot base frame, estimated external wrench [N, N*m], gripper state and safety status. Read-only.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
robotYes
safetyYes
wrenchNo
backendYes
ee_poseYes
gripperNo
joint_stateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the trailing 'Read-only.' is largely redundant. The useful additions are frame/unit details and the implied nature of the read (a live snapshot rather than a cached or historical value), though freshness, latency, and behavior when the controller is unreachable are not disclosed.

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?

A single compact sentence-pair that front-loads the most important quantity and packs units and frames inline without padding. The closing 'Read-only.' repeats the annotations and is the one expendable phrase.

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 an output schema present, the description need only orient the agent, and the enumeration of joints, pose, wrench, gripper and safety does that well, including units and reference frame. A note on sampling time or staleness would close the remaining gap for a state-read tool.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate. Baseline 4 applies; no parameter explanation is possible or needed.

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?

The description enumerates exactly what state is returned (joint positions with units, TCP pose with frame and quaternion order, wrench, gripper, safety) so the resource is unambiguous. It does not differentiate itself from overlapping siblings like get_motion_status or get_safety_status, which is the only thing keeping it below a 5.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus get_motion_status, get_safety_status, or get_safety_envelope, all of which plausibly surface overlapping information. The agent must infer usage purely from the field list.

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