Skip to main content
Glama
graphgrow

root-ext-cad

by graphgrow

calc_mass_rollup

Read-only

Compute total mass and 3D center of gravity from a component list, then optionally verify the CG lies within a specified envelope.

Instructions

Total mass and 3D center of gravity from a component list — each item {name, mass_g, x_mm, y_mm, z_mm} measured from one datum. Pass envelope {x_min_mm, x_max_mm, y_min_mm, y_max_mm, z_min_mm, z_max_mm} (any subset of axes) to get a CG-within-envelope verdict.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envelopeNo
componentsYes
Behavior4/5

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

Annotations already declare readOnlyHint=true. The description adds behavioral context by detailing the envelope verdict, which goes beyond annotations. No contradictions or missing side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences efficiently convey purpose and optional usage. No redundancy, front-loaded with main action.

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?

Given no output schema, the description covers input details and behavior well. It lacks return format or error conditions, but is sufficient for a read-only calculation tool.

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?

With 0% schema coverage, the description compensates well by specifying component fields (name, mass_g, x_mm, y_mm, z_mm) and envelope fields. It adds meaning beyond the unannotated schema, but could be more precise about envelope structure.

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 clearly states the tool computes total mass and 3D center of gravity from a component list, with an optional envelope for a CG-within-envelope verdict. It uses specific terms and distinguishes from siblings like calc_fits and calc_fastener.

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 description explains input format and envelope usage, but does not explicitly state when to use this tool vs alternatives. It implies context by focusing on mass properties, but lacks explicit when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/graphgrow/root-ext-cad'

If you have feedback or need assistance with the MCP directory API, please join our Discord server