Skip to main content
Glama

ProtoJoint

Edit a joint

edit_joint

Changes an existing joint, making no new one: its name, its limits or both, where it stands - nothing moves, its type and axis stay. limits are the new ends from the joint's zero, degrees for revolute and mm for slider; min or max given alone keeps the other end. A name may not start with a digit nor be another joint's: it goes into the robot's ROS names. effort and velocity are its limits in the robot export (N·m and rad/s, a slider's N and m/s), over the maker's figures of a library servo on its axis; 0 clears one. Change limits and names with this, not by deleting the joint and adding it again. Returns the old and new limits, the export's effort and velocity and where the joint stands. One undo step.

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": {
      "joint": "<joint>"
    },
    "name": "edit_joint"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoIts new name, e.g. right_hip_roll.
jointYesThe joint's name, as get_document lists it.
effortNoIts effort limit in the robot export, N·m (a slider's N); 0 clears it.
limitsNoThe new ends from the joint's zero (revolute and slider); one alone keeps the other.
velocityNoIts velocity limit in the robot export, rad/s (a slider's m/s); 0 clears it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / effort
      Added value: +{
      +  "description": "Its effort limit in the robot export, N·m (a slider's N); 0 clears it.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / velocity
      Added value: +{
      +  "description": "Its velocity limit in the robot export, rad/s (a slider's m/s); 0 clears it.",
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent and closed-world, and the description adds real value beyond them: the ROS name validation rule, "One undo step", what gets zeroed by passing 0, and that effort/velocity override a library servo's maker figures. That is solid extra context, though it never explains failure behavior when a name is rejected or what happens on a unit mismatch.

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?

The purpose is front-loaded and nearly every clause carries a distinct rule, but the single run-on paragraph with stacked em-dashes ("where it stands - nothing moves, its type and axis stay") makes it harder to scan than a short line-broken list would.

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

Completeness5/5

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

No output schema exists, and the description compensates by naming the return payload (old and new limits, export effort/velocity, joint position), plus it covers the validation rule, unit conventions, partial-update semantics and undo scope for a tool with a nested limits object.

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 the schema does not: limits are measured from the joint's zero, units follow joint type (degrees/mm for revolute and slider), and effort/velocity replace the servo library defaults with 0 clearing. Only the optional string form of min/max is left unexplained.

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?

"Changes an existing joint, making no new one: its name, its limits or both" gives a specific verb and resource plus the editable fields, and explicitly rules out creation and re-positioning, which cleanly separates it from add_joint/delete_joint without naming them.

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 states when to use it (changing limits and names) and when not to ("not by deleting the joint and adding it again"), pointing at the delete/add alternative that exists among the siblings. It also gives the merge rule ("min or max given alone keeps the other end") that governs how to call it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources