Skip to main content
Glama

FormSTL

Calculate exact Gridfinity bin or baseplate dimensions

calculate_gridfinity_dimensions
Read-only

Compute exact Gridfinity 42 mm XY outer dimensions, 7 mm Z height, usable pocket depth, clamped compartment cell sizes, 6x2 mm magnet count, and Bambu/Prusa/Ender build plate fit.

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": {
      "unitsX": "<unitsX>",
      "unitsY": "<unitsY>"
    },
    "name": "calculate_gridfinity_dimensions"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoGridfinity part type: "bin" or "baseplate" (defaults to "bin").bin
unitsXYesGridfinity X units (1–8, 42 mm pitch each).
unitsYYesGridfinity Y units (1–8, 42 mm pitch each).
wallMmNoBin wall thickness in mm (1.2–3.2, defaults to 1.6).
floorMmNoBin floor thickness above the 4.75 mm foot in mm (1.6–8.0, defaults to 2.4).
labelShelfNoInclude front label shelf reserving up to 10.5 mm depth inside the bin (defaults to false).
plateStyleNoBaseplate style when mode="baseplate": "skeleton" (4.6 mm) or "weighted" (6.4 mm).skeleton
magnetHolesNoInclude four 6.5 x 2.4 mm cylindrical magnet pockets per grid foot (defaults to true).
stackingLipNoInclude top stacking lip (+2.4 mm overall height, defaults to true).
heightUnitsZNoBin height in 7 mm Gridfinity Z units (2–12, defaults to 6 = 42 mm).
compartmentsXNoNumber of compartment columns along X (1–4, clamped to >= 8 mm per cell).
compartmentsYNoNumber of compartment rows along Y (1–4, clamped to >= 8 mm per cell).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The readOnlyHint/openWorldHint annotations already establish this as a safe, offline computation, and the description is consistent with that. It adds a little context by enumerating what gets derived ("clamped compartment cell sizes", plate-fit checks), but nothing about determinism, precision caveats, or that no geometry/file is produced.

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, front-loaded with the verb and the key dimensions, with no filler. It is long but every clause names a distinct computed output, so almost nothing could be cut without losing 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?

With 12 parameters, no output schema, and a rich schema, the description usefully enumerates the main return values (outer dimensions, Z height, pocket depth, cell sizes, magnet count, plate fit), which is the key missing piece since there is no output schema. Minor gaps remain around exact return shape and units of measure, but the essentials are covered.

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 parameters are fully documented in the schema and a baseline of 3 applies. The description echoes selected concepts (magnet count, compartment clamping) without adding syntax or interaction details beyond what the schema states; note the "6x2 mm magnet" phrasing differs slightly from the schema's 6.5x2.4 mm pockets, which could momentarily confuse.

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, "Compute", followed by a concrete list of Gridfinity-specific outputs (42 mm XY outer dimensions, 7 mm Z height, pocket depth, magnet count, build-plate fit). It is clearly a dimensional calculator for Gridfinity parts, distinguishable from generic siblings like calculate_box_dimensions or plan_cutout_tray.

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?

The tool's domain is obvious, but there is no explicit when-to-use/when-not guidance and no routing to or away from the sibling dimension tools. The agent must infer that this is the right tool for Gridfinity bins/baseplates rather than a generic box calculation.

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.