Skip to main content
Glama

ProtoJoint

Name, colour or hide a body

set_body

Gives a body a name (tools then take it), an appearance colour (#rrggbb; null for the default), or hides or shows it. In a design of several bodies name each after what it is (Base, Lid, Board) and colour parts that are not printed (a board, a battery) as they look.

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": {
      "body": "<body>"
    },
    "name": "set_body"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesBody name or "feature:k" key from get_document.
nameNo
colorNo#rrggbb, or null for the default colour.
visibleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/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 context annotations do not carry: the assigned name becomes the handle other tools consume, which materially affects how an agent should choose names. It does not describe what happens to a body that already has a name or what the call returns, which keeps it off a 5.

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?

Two sentences, front-loaded with the three operations before the advisory guidance. Nothing is redundant, though the parenthetical examples '(a board, a battery) as they look' are slightly decorative. Structure is clean and scannable.

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?

For a four-parameter mutation tool with no output schema, the description covers what each operation does and when to use it, and the annotations cover safety. It leaves unstated whether renaming breaks existing references held by other features, which is the one behavioral detail an agent would want before renaming a body in a live design.

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 50% — name and visible have no schema descriptions at all. The description compensates by explaining that name is what downstream tools use as the identifier and that visible hides or shows the body, plus it restates the #rrggbb/null colour convention. The body parameter's 'feature:k' key format is left entirely to the schema, so it does not fully close the gap.

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 names a specific resource (a body) and the three concrete mutations it performs: setting a name, setting an appearance colour, and toggling visibility. That is enough for an agent to distinguish it from siblings such as set_part, set_parameter or set_joints. It stops short of explicitly contrasting itself with any named sibling, so it sits just below the top mark.

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?

The second sentence gives real when-to-use guidance: in multi-body designs, name each body after its role (Base, Lid, Board) and colour non-printed parts. It also hints at downstream usage with 'tools then take it'. There are no exclusions or named alternatives, so it is clear context rather than a full decision rule.

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