Skip to main content
Glama
pzfreo

build123d-mcp

view_axes

Compute world-to-page axis mapping for a viewport projection before rendering to catch axis swaps and sign flips.

Instructions

Return the world→page axis mapping for a project_to_viewport call, computed analytically (no projection performed). Use this BEFORE rendering a projected view to confirm which world axis ends up on which page axis and with what sign — catches bottom-view/side-view axis swaps before they show up in the render.

Returns JSON like {"world_X": ["page_X", -1.0], "world_Y": ["page_Y", 1.0],
"world_Z": ["depth", 0.0]} — for a bottom-view origin (0,0,-100), world-X
flips to negative page-X.

Args:
    viewport_origin: camera position, same arg as project_to_viewport.
    viewport_up: up vector. Defaults to (0,1,0).
    look_at: target point. Defaults to origin.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewport_originYes
viewport_upNo
look_atNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description bears full responsibility for behavioral disclosure. It states the tool is computed analytically (no projection performed), provides an example output format, and explains its role in catching axis swaps. This is sufficient for understanding the tool's behavior as a non-destructive, analytical read operation.

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?

The description is well-structured with a clear purpose statement, usage instruction, example output, and parameter explanations. It is front-loaded with the most important information. One minor point: it could be slightly more concise by omitting the full JSON example, but overall it's efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (3 parameters, no nested objects) and the existence of an output schema, the description covers all necessary aspects: what the tool does, when to use it, parameter meanings, and return format. An agent has enough information to invoke it correctly without ambiguity.

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?

Despite the input schema having 0% description coverage, the description compensates by explaining each parameter: 'viewport_origin: camera position, same arg as project_to_viewport', 'viewport_up: up vector. Defaults to (0,1,0)', 'look_at: target point. Defaults to origin.' This adds meaningful context beyond the bare schema and clarifies the expected array-of-numbers format.

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 explicitly states the tool's purpose: 'Return the world→page axis mapping for a project_to_viewport call, computed analytically'. It identifies the specific verb (return), resource (axis mapping), and context (for project_to_viewport call), clearly distinguishing it from sibling tools like render_drawing or align_check.

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 gives clear usage guidance: 'Use this BEFORE rendering a projected view to confirm which world axis ends up on which page axis and with what sign — catches bottom-view/side-view axis swaps before they show up in the render.' This specifies when to use the tool, though it does not mention alternative tools or when not to use it explicitly.

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/pzfreo/build123d-mcp'

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