Skip to main content
Glama

Pixel Pattern craft pattern tools

Pattern size, bead and stitch counts

pattern_size
Read-onlyIdempotent

Number of beads, stitches, squares or blocks for a grid size and craft, the finished size in cm and inches, pegboards needed (fuse beads) and stacks (Minecraft).

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": {
      "craft": "<craft>",
      "width": "<width>"
    },
    "name": "pattern_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
craftYesbeads (Perler/Hama/Artkal fuse beads), stitch (cross stitch, DMC), c2c (C2C crochet), crochet (tapestry crochet), minecraft (blocks) or pixel (pixel art)
widthYesCells across (8–200), e.g. 29 for one Perler pegboard
heightNoCells down. Leave out to use the photo proportions (photo_aspect_ratio) or a square grid
photo_aspect_ratioNoPhoto width ÷ height (e.g. 1.5 for a 3:2 landscape); the height follows it like in the tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. With no output schema, the description usefully discloses the returned metrics (counts, finished dimensions in cm and inches, pegboards, stacks), which is the main behavioral context an agent needs before calling; it stops short of stating rounding or precedence rules when both height and photo_aspect_ratio are supplied.

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 with no filler, front-loading the primary outputs (counts) before secondary ones (finished size, pegboards, stacks). The lack of a leading verb makes it slightly less immediately scannable than it could be.

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?

For a read-only computational tool with four fully documented parameters, rich annotations, and no output schema, the description covers the essential ground: what inputs define the calculation and what values come back. Nothing critical to invoking it correctly is missing.

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%, with enum values and ranges documented inline, so the baseline is 3. The description only restates the notions of 'grid size' and 'craft' already fully specified in the schema and adds no syntax, unit or precedence detail of its own.

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 enumerates precisely what the tool returns — bead/stitch/square/block counts for a given grid size and craft, finished size in cm and inches, pegboards (fuse beads) and stacks (Minecraft) — which clearly separates it from siblings like pattern_prices or photo_to_pattern_steps. It lacks a leading verb (e.g. 'Calculate') and reads as a noun fragment, so the action is inferred rather than stated.

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 explicit when-to-use or when-not-to-use guidance and no reference to the sibling tools. The agent must infer that this is the sizing/materials estimator to call for a known grid and craft, and cannot tell from the text whether it should be called before or after pattern_prices or photo_to_pattern_steps.

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