Skip to main content
Glama

Plan a robot joint

plan_joint
Read-onlyIdempotent

Plan a complete robot joint from targets: peak torque, output speed, bus voltage, mass budget and quantity. Returns complete joint actuators that meet the targets, and joints built from parts (frameless motor + reducer + driver + encoder) with the torque and speed math shown, listed price and mass totals, which parts still need a quote, lead times where known and where each part is made. Checks the catalog cannot make are reported as not checked.

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": {
      "peak_torque_nm": "<peak_torque_nm>",
      "voltage_v": "<voltage_v>"
    },
    "name": "plan_joint"
  }
}

Input Schema

NameRequiredDescriptionDefault
qtyNo
limitNo
speed_rpmNoOutput speed the joint needs, rpm
voltage_vYesBus voltage, V
max_mass_gNoMass budget for the joint, g
peak_torque_nmYesPeak output torque the joint needs, N·m

Output Schema

NameRequiredDescriptionDefault
nextNo
errorNoSet when the tool could not answer; the other fields are then absent.
methodNo
targetsNo
off_the_shelfNo
built_from_partsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / max_mass_g / minimum
      Added value: +0
    • addedInput schema / properties / peak_torque_nm / minimum
      Added value: +0
    • addedInput schema / properties / qty / maximum
      Added value: +1000000
    • addedInput schema / properties / speed_rpm / minimum
      Added value: +0
    • addedInput schema / properties / voltage_v / minimum
      Added value: +0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "built_from_parts": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "error": {
      +      "description": "Set when the tool could not answer; the other fields are then absent.",
      +      "type": "string"
      +    },
      +    "method": {
      +      "type": "string"
      +    },
      +    "next": {
      +      "type": "string"
      +    },
      +    "off_the_shelf": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "targets": {
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false and closed-world, so the safety profile is covered. The description goes beyond that with genuinely useful disclosure: results include the torque/speed math shown, listed price and mass totals, which parts still need a quote, lead times and country of origin, plus the important caveat that checks the catalog cannot perform are reported as "not checked" rather than silently passed.

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 input contract before the return contract, and no filler. The second sentence becomes a long run-on laundry list of output fields that is harder to scan than the first, though every clause does carry information.

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 multi-output planning tool this covers the essentials: what goes in, what comes back, and how unverifiable checks are surfaced. Two minor gaps remain — the undocumented `limit` behavior and no statement about what happens when no configuration meets the targets — and much of the return detail is already carried by the output schema, so the emphasis is slightly misplaced rather than missing.

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 coverage is 67%, so the schema already documents most inputs. The description reinforces meaning for five of six parameters (peak torque, speed, voltage, mass budget, quantity) as *targets the joint must meet*, but adds no format, unit or defaulting detail beyond the schema, and never mentions `limit` (the result cap, default 5, max 20).

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+resource ("Plan a complete robot joint from targets") and enumerates exactly which targets drive the plan: peak torque, output speed, bus voltage, mass budget and quantity. It also distinguishes this from catalog-lookup siblings by stating that the output is a synthesized joint (complete actuators or motor+reducer+driver+encoder builds), not a part lookup.

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 implied rather than stated: an agent can infer this is the tool for going from requirements to a joint design. There is no explicit when-not guidance, no mention of alternatives (e.g. search_parts or match_requirements when an agent already has a candidate part), and no prerequisites such as whether a target set that is infeasible still returns a usable response.

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