Skip to main content
Glama

ProtoJoint

Read exact geometry

query_geometry
Read-onlyIdempotent

A body's exact faces (plane: point, normal; cylinder: axis, radius; cone, sphere, torus), edges (line: ends, length; circle: centre, normal, radius, arc) and holes (axis, radius, depth, thinnest wall, share of the rim in material: under 1 runs off the part). filter: type, a plane's outward normal, radius, nearest a point first. frame: the world (default) or a part's own coordinates. Face and edge numbers hold for this answer only.

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

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.
whatNo
frameNo"world" or a part
filterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, so the description is free to add value elsewhere — and it does, most importantly 'Face and edge numbers hold for this answer only,' which warns that indices are ephemeral and must not be cached across calls. It also discloses a non-obvious result semantic (hole 'share of the rim in material: under 1 runs off the part') that changes how results should be interpreted.

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?

Extremely dense but waste-free: returned attributes are front-loaded, followed by filter, then frame, then the index caveat. The heavy parenthetical enumeration is harder to parse than prose would be, but nothing is redundant or filler.

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 read-only query tool with no output schema, the definition covers the essential ground: what geometry types exist, what attributes each carries, how filtering and coordinate frames work, and the lifetime of face/edge identifiers. Minor gaps remain around the 'what' selector and default behavior when no body is given, which are only partly recoverable from the schema.

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 only 50%, so the description has to carry weight, and it does for the nested filter (type, outward normal of a plane, radius, nearest-point ordering) and for frame (world or a part's own coordinates). It does not explain the 'what' array or the 'body' selector, but the schema already documents those two directly.

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 resource precisely: a body's exact faces, edges and holes, and enumerates the geometric attributes returned for each type (plane: point, normal; line: ends, length, etc.). What's missing is an explicit verb ('returns'/'reads') and any explicit differentiation from siblings like get_document or get_feature, though the geometry-domain vocabulary effectively signals it.

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 context is implied rather than stated: 'frame: the world (default)' establishes defaults, and 'nearest a point first' plus the filter list imply how to narrow large results. There is no explicit when-to-use/when-not statement and no reference to which sibling to pick for related queries, leaving the agent to infer that this is the tool for inspecting topology before downstream operations.

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