Skip to main content
Glama

ProtoJoint

Export the robot

export_robot

Checks the design as a robot and saves it as the export panel does - URDF, MJCF (MuJoCo), SDF (Gazebo) and a ROS 2 package with a mesh per link, in one zip downloaded in the user's browser: each part a link (its mass and inertia from its bodies and material), each joint a joint, the pinned part the root. Returns the links with their masses, the joints, the drives the robot offers and the checks: errors stop the export (fix them and call again - a slider without limits, a part joined to nothing), warnings say what the files make of the design. check_only reports without saving.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_robot"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe robot's name (and the package's).
driveNoHow it moves in Gazebo besides its joints.
formatsNoDefault: all four.
floatingNoA mobile robot: its root free, not fixed to the world.
check_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only say readOnlyHint=false, destructiveHint=false), the description discloses the concrete side effect (a zip downloaded in the user's browser), the validation model (errors block export, warnings are advisory), and the dry-run behavior of check_only. This is exactly the mutation/validation context annotations cannot carry.

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?

Front-loaded with the verb and artifact list, with each clause adding new information rather than repeating. It is dense and slightly run-on in the middle (link/joint mapping clause), but no sentence is expendable.

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?

There is no output schema, and the description compensates by describing the return payload (links with masses, joints, drives, checks) and the error/warning semantics. For a 5-parameter export tool with a validation gate, an agent has everything needed to call it and interpret the result.

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 80%, so the schema already explains name, drive, formats, and floating; the description adds meaning by stating what the formats produce and what check_only does ('reports without saving'). It leaves the floating/root-pinning semantics mostly to the schema, which keeps it just short of a 5.

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 description opens with a specific verb and resource ('Checks the design as a robot and saves it'), then enumerates the exact artifacts produced (URDF, MJCF, SDF, ROS 2 package with per-link meshes in one zip). This clearly separates it from siblings like export_file and export_laser, which export other artifact types.

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

Usage Guidelines4/5

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

It gives real operational guidance: errors stop the export, so the agent must fix and call again, and check_only reports without saving. It does not explicitly say when to prefer this over export_file, but the artifact enumeration implies the boundary well enough.

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