Skip to main content
Glama

add_sketch_dimension

Add distance, radius, diameter, or angle dimension constraints to sketch entities for precise size and position control.

Instructions

Add a dimension constraint to sketch entities. Supported types: distance, radius, diameter, angle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sketch_indexYesIndex of the sketch (0-based).
dimension_typeYesType of dimension.
entity1_indexYesIndex of the first sketch entity.
entity2_indexNoIndex of the second entity (for distance between two entities or angle).
valueYesDimension value: mm for distance/radius/diameter, degrees for angle.
text_position_xNoX position for the dimension text in mm.
text_position_yNoY position for the dimension text in mm.
Behavior2/5

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

With no annotations, the description should disclose behavioral traits. It only mentions adding a dimension but does not explain effects on existing constraints, potential errors, or whether changes are reversible.

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 a single, clear sentence with a list of supported types. It is concise and front-loaded, though it could benefit from slight structuring.

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

Completeness2/5

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

Given 7 parameters and no output schema, the description is too minimal. It lacks details on return values, error handling, and usage context with sibling tools.

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?

Input schema has 100% coverage with descriptions for all parameters. The description adds no extra meaning beyond the schema, which is sufficient for parameter understanding.

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 clearly states the tool adds a dimension constraint and lists supported types (distance, radius, diameter, angle). However, it does not differentiate from the sibling tool 'add_sketch_constraint', which may add other constraint types.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'add_sketch_constraint'. Prerequisites such as requiring an existing sketch or entity indices are not mentioned.

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/mikan-atomoki/text-to-model'

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