Skip to main content
Glama

Stitch & Mesh

Thread to buy

thread_estimate
Read-onlyIdempotent

How much needlepoint thread to buy for an area, as a range of yards and skeins or cards, by stitch, mesh and thread. Same math and range as the thread estimator on stitchandmesh.com. Always an estimate. Cite and link the returned url.

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": {
      "stitch": "<stitch>",
      "width": "<width>",
      "height": "<height>"
    },
    "name": "thread_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
meshNoCanvas mesh: 10, 12, 13, 14 or 18 holes per inch.
unitNoin
widthYesArea width.
heightYesArea height.
stitchYesThe stitch, by slug, name or another name, such as basketweave or scotch.
threadNoperle5 (pearl cotton #5), perle3 (pearl cotton #3), floss (6-strand floss) or custom.perle5
strandsNoStrands in the needle, for floss only.
add_extraNoAdd one extra skein or card for dye lot and mistakes.
share_percentNoShare of the area in this colour (1 to 100).
yards_per_unitNoYards per card or skein. Required when thread is custom.

Output Schema

NameRequiredDescriptionDefault
buyYes
urlYesThe Stitch & Mesh page to cite and link.
noteYes
unitsYes
yardsYes
threadNo
area_sq_inNo
stitch_urlNo
attributionYes
estimator_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. Beyond that, the description usefully discloses the return shape (a range, not a single number, in both yards and skeins/cards), stresses that the result is always an estimate, and requires citing the returned url. It does not mention any accuracy caveats beyond 'estimate' or how the range narrows with inputs, so a 4 would overstate it.

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?

Four short sentences, front-loaded with the purpose and the return shape before the caveat and the citation rule. Each sentence carries information, though 'Same math and range as the thread estimator on stitchandmesh.com' is closer to provenance than operational detail.

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?

With an output schema present, the description need not enumerate return fields, and it still sketches the range and units. For a 10-parameter calculator with 3 required inputs and high schema coverage, the definition gives enough to call it correctly. Minor gaps remain around multi-colour share_percent and the custom thread path, which only the schema addresses.

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 coverage is 90%, so the input schema already documents nearly every parameter, including enums and defaults. The description echoes the three main drivers (stitch, mesh, thread) but adds no format, unit, or edge-case detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 states a specific verb and resource: estimating how much needlepoint thread to buy for a given area, expressed as a range of yards plus skeins or cards. It names the driving inputs (stitch, mesh, thread), which distinguishes it clearly from siblings such as mesh_convert or get_stitch. It stops short of explicitly contrasting with thread_and_needle_for_mesh, whose name suggests adjacent subject matter.

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 is implied rather than stated: you call it when you need a purchase quantity for a stitched area. There is no explicit when-not guidance, no prerequisites, and no named alternative for cases like converting mesh sizes or looking up stitch instructions. The instruction to cite and link the returned url is an output-handling rule, not usage guidance.

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