Skip to main content
Glama

set_joint_targets

Set joint drive position targets for a robot by prim path, using joint names or ordered values, without requiring articulation initialization.

Instructions

Set joint drive position targets. Works without articulation initialisation.

Input Schema

NameRequiredDescriptionDefault
targetsNo{joint_name: value} or [v0, v1, ...] in joint order: degrees for revolute joints, metres for prismatic ones
prim_pathYesThe robot's root prim, e.g. "/World/G1"

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds one valuable behavioral fact—it works without articulation initialisation—but does not explain side effects, partial target behavior, or what happens with null/omitted targets.

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?

Two short, front-loaded sentences with no waste. The main purpose comes first, and the special capability follows immediately.

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 the simple two-parameter schema, full parameter descriptions, annotations, and an output schema, the description covers the essential non-obvious behavior. Minor gaps remain around null/partial targets and target unit expectations, but the schema handles most of that.

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 description coverage is 100%, and the schema fully explains targets format and units as well as prim_path. The description adds no parameter-level meaning beyond the schema, so the baseline 3 is appropriate.

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 uses a specific verb and resource: 'Set joint drive position targets.' This clearly distinguishes a write operation from sibling readers like get_joint_states, though it does not explicitly name alternatives or differentiate from set_prim_transform/sim_control.

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 phrase 'Works without articulation initialisation' implies a useful usage condition—this tool can be called before articulation setup. However, it does not state when to use this tool versus alternatives like sim_control or get_joint_states, leaving usage largely inferred.

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