Skip to main content
Glama

Import an MJCF, URDF or USD file into object, material and scene cards

import

Convert MJCF, URDF, or USD files into object, material, and scene cards written to a target library folder.

Instructions

Import an MJCF, URDF or USD file into object, material and scene cards. Example arguments: {"file": "robot.urdf", "out": "my_library"}

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": {
      "file": "<file>",
      "out": "<out>"
    },
    "name": "import"
  }
}

Input Schema

NameRequiredDescriptionDefault
outYeslibrary folder to write the cards to
fileYesMJCF (.xml), URDF (.urdf) or USD file
nameNoscene name (default: the file name)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare write (readOnlyHint=false), non-idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds one genuinely new behavioral fact: a single file expands into multiple cards across object, material and scene. It does not disclose overwrite/merge semantics for the target library folder, which is the key risk for a non-idempotent write.

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?

One front-loaded sentence plus a short example, with no wasted prose. The example is slightly redundant given full schema coverage but is cheap and aids first-call correctness.

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

Completeness3/5

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

The tool is structurally simple (3 params, all documented, no nesting) and has no output schema, so return values need not be explained. Still, for a non-idempotent file-ingesting write tool, the description leaves open what the importer does to pre-existing cards in the target library, which an agent would need in order to call it safely.

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%, so file, out and name are all documented in the schema itself. The example values ("robot.urdf", "my_library") add only illustrative format, not new meaning; 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?

States a specific verb (import) plus the accepted formats (MJCF, URDF, USD) and the concrete output artifacts (object, material and scene cards), so an agent can distinguish it from siblings like export, build or compose. It stops short of explicitly naming where the boundary lies with those siblings, keeping it just 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 Guidelines3/5

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

Usage is only implied: the example arguments show the expected call shape (a file plus an out library folder), which is a helpful concrete cue. There is no statement of prerequisites, when to prefer export/build/compose instead, or what happens when the target library already exists.

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