Skip to main content
Glama

Easy Grid Maker — Drawing Grid & Aspect Ratio Calculator

Find optimal distortion-free square grids for standard paper sizes

calculate_aspect_ratio_grid
Read-onlyIdempotent

Evaluate standard paper or canvas sizes (A4, A3, A5, Letter, Legal, Tabloid, 8x10in, 9x12in, 11x14in, 16x20in, or custom) and return ranked distortion-free square-grid configurations with physical square sizes, margins, and aspect-ratio fit metrics.

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

Input Schema

NameRequiredDescriptionDefault
unitNoPhysical unit ('cm', 'mm', or 'in') for output and custom/margin inputs. Defaults to 'cm' for ISO/custom sizes and 'in' for US presets.
marginNoOptional uniform margin on each of the four sides in unit. Defaults to 1 cm (10 mm) for metric units or 0.5 in for inches.
paperSizeNoStandard paper or canvas preset ('A4', 'A3', 'A5', 'Letter', 'Legal', 'Tabloid', '8x10in', '9x12in', '11x14in', '16x20in') or 'custom'. Defaults to 'A4'.A4
maxColumnsNoOptional maximum column count to evaluate (2 to 50, >= minColumns). Defaults to 16.
minColumnsNoOptional minimum column count to evaluate (2 to 50). Defaults to 4.
customWidthNoCustom paper/canvas width in unit. Required when paperSize is 'custom'.
orientationNoSheet orientation: 'portrait', 'landscape', or 'auto' (matches image orientation when imageWidthPx/imageHeightPx are provided, otherwise portrait).auto
customHeightNoCustom paper/canvas height in unit. Required when paperSize is 'custom'.
imageWidthPxNoOptional reference image width in pixels to match aspect ratio and compute fitted drawing area on the sheet.
imageHeightPxNoOptional reference image height in pixels (provide together with imageWidthPx).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety and determinism are covered. The description adds useful outcome context by naming the returned artifacts (physical square sizes, margins, fit metrics), but it does not explain ranking criteria, tie-breaking, or how the 'distortion-free' constraint is enforced. With annotations carrying the safety profile, this is adequate but not rich.

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?

It is a single front-loaded sentence that states the input domain and the returned artifacts without filler. It is dense but not wasteful; a short clause on ranking or sibling differentiation would improve it.

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

Completeness3/5

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

The tool has 10 optional parameters and no output schema, so the description must carry some explanation of return values and ranking behavior. It names the returned fields but does not describe ranking order, metric definitions, or behavior when image pixel dimensions are omitted. It is minimally complete but leaves real gaps for an agent interpreting results.

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, including defaults, bounds, and custom-size dependencies. The description lists supported paper presets, which adds some value, but it does not add meaning beyond the schema for margin behavior, orientation 'auto', or min/max column interaction. Baseline 3 is appropriate.

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 uses a specific verb ('Evaluate') and resource ('standard paper or canvas sizes') and states the output shape ('ranked distortion-free square-grid configurations with physical square sizes, margins, and aspect-ratio fit metrics'). It does not distinguish this tool from the sibling calculate_drawing_grid, which prevents a 5.

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?

There is no guidance on when to use this tool versus calculate_drawing_grid or any other alternative, and no stated prerequisites or exclusions. The agent must infer selection context entirely from the name and sibling name.

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