Skip to main content
Glama

get_joint_state

Retrieve joint positions, velocities, efforts, and command targets from an articulation. Select specific joints by name or index to get measured state and targets with explicit units.

Instructions

Read measured joint state and active command targets.

Returns position, velocity, measured effort, position/velocity/effort targets, joint name/index mapping, joint type, and explicit units. Use either joint_names or joint_indices for a subset; the selectors are mutually exclusive. Revolute units are radians, radians_per_second, and newton_meters. Prismatic units are meters, meters_per_second, and newtons.

Args: prim_path: USD path of the articulation root. joint_names: Optional exact, case-sensitive joint names in requested order. joint_indices: Optional DOF indices in requested order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prim_pathYes
command_idNo
joint_namesNo
joint_indicesNo
idempotency_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden of disclosing behavior. It clearly marks the operation as a read, details the returned fields, explains selector mutuality, and provides explicit units for revolute and prismatic joints. It omits edge-case behavior such as errors from invalid selectors, but the core behavior is well disclosed.

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 description is well organized and front-loaded with the core purpose, followed by return contents, selector constraints, units, and an Args block. Every sentence carries meaningful information without redundancy.

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?

Given that an output schema exists, the description need not re-explain return structure. It covers the main inputs, subset selection, and units. Minor gaps remain around undocumented generic parameters and error behavior, but the tool is substantially complete for correct invocation.

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 description coverage is 0%, so the description must supply parameter meaning. It does so for prim_path, joint_names, and joint_indices, adding specifics like case-sensitivity, order, DOF indices, and unit conventions. It leaves command_id and idempotency_key undocumented, but these are generic execution parameters whose purpose is largely inferable from their names.

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 names a specific verb and resource: 'Read measured joint state and active command targets.' The return list further clarifies what is included, making it easy to distinguish from siblings like get_joint_positions or get_joint_config.

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?

The description gives clear guidance on selecting a subset via joint_names or joint_indices and notes that the selectors are mutually exclusive. However, it does not explicitly state when to prefer this tool over related siblings such as get_joint_positions or get_joint_config.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tim0320/IsaacSim-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server