Skip to main content
Glama

Loop & Chain

Estimate crochet yarn yardage

estimate_yardage
Read-onlyIdempotent

Estimate yards and skeins for a rectangular crochet area by stitch, yarn weight and size. Same math as the yardage tool on loopandchain.com. 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": "estimate_yardage"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoin
widthYes
heightYes
stitchYesStitch slug or name.
add_extraNo
skein_yardsNo
yarn_weightNo
share_percentNo

Output Schema

NameRequiredDescriptionDefault
buyYes
urlYesThe Loop & Chain page to cite and link.
noteYes
yardsYes
skeinsNo
attributionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds one genuinely behavioral instruction — 'Cite and link the returned url' — which is an attribution/usage requirement not captured in structured fields. It says nothing more about computation behavior or the effect of the defaults.

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?

Three short sentences, front-loaded with the core action and scope. The middle sentence about loopandchain.com is mildly promotional but does convey provenance; nothing is padded or buried.

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?

Annotations and the output schema carry part of the burden, so the description needn't detail return values. However, with 8 parameters at 13% schema coverage and undefined semantics for add_extra, skein_yards and share_percent, an agent cannot confidently supply non-required inputs from this definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 13% of 8 params, so the description must compensate and largely does not. It gestures at stitch, yarn weight and size (width/height), but leaves unit, add_extra (default true), skein_yards (default 220) and share_percent (default 100) entirely unexplained — and add_extra and share_percent are non-obvious knobs whose effect an agent cannot infer.

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?

States a clear verb ('Estimate') and resource ('yards and skeins') scoped to 'a rectangular crochet area by stitch, yarn weight and size', which is distinguishable from siblings like lookup_yarn_weight or convert_hook_size. It lacks any explicit sibling routing, but the subject matter is specific enough that no confusion is likely.

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?

'Rectangular crochet area' implies a shape limitation but never says when to use this versus lookup_yarn_weight, get_stitch, or search_stitches. There is no guidance on prerequisites (e.g., whether the stitch must first be resolved via get_stitch) or on what to do for non-rectangular projects.

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