Skip to main content
Glama

ProtoJoint

Mass, volume and centre of mass

mass_properties
Read-onlyIdempotent

Volume (mm^3), mass (with the component's material), centre of mass and bounding box of a body, or of all visible bodies.

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": "mass_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoBody name or "feature:k" key from get_document (a key never changes; a name may when bodies move to parts). Leave out to use the most recently made body.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description adds substantive behavior: units are mm^3, mass is derived from the component's assigned material (so results depend on material setup), and a bounding box is included. It does not disclose precision, cost, or result format, but the annotations already cover the safety profile.

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?

A single dense sentence lists the returned quantities first and the scope second, with no filler. It is a noun-phrase fragment rather than a complete sentence, which is compact but slightly brusque.

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?

For a one-optional-parameter read tool with no output schema, listing the returned quantities is largely sufficient, and the schema carries the body-selection default. The unresolved 'all visible bodies' mode versus the schema's last-created-body default is a real gap an agent would hit when trying to measure everything.

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 100%, so the single optional body parameter is already fully documented, including the name-vs-feature:k distinction and the default. The description adds unit information but also introduces ambiguity: it says results can cover 'all visible bodies', while the schema states that omitting body uses the most recently made body, leaving the all-visible mode unexplained.

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 the specific quantities returned (volume, mass, centre of mass, bounding box) and their scope (a body, or all visible bodies), so an agent knows exactly what this tool computes. It does not explicitly contrast itself with siblings such as calc or check_interference, which keeps it short of 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 agent can infer this is the tool for physical property measurements, but there is no explicit 'use this when' statement, no prerequisites, and no named alternative for overlapping measurement tasks. The scope phrasing ('a body, or of all visible bodies') hints at selection modes without stating how to choose them.

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