Skip to main content
Glama

Loop & Chain

Look up yarn weight

lookup_yarn_weight
Read-onlyIdempotent

Craft Yarn Council yarn weight category (0 to 7) with other names, single crochet gauge, hook range and wraps per inch. 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": {
      "yarn": "<yarn>"
    },
    "name": "lookup_yarn_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
yarnYesWeight number or name such as worsted, dk, bulky.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYesThe Loop & Chain page to cite and link.
wpiNo
nameYes
aliasesNo
hook_mmNo
hook_usNo
attributionYes
sc_gauge_4inNo
yards_per_oz_typicalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds one genuinely new obligation — cite and link the returned url — plus a preview of the record contents, but says nothing about behavior on unknown weight names or how exhaustive the name list is.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler. The content of the response is front-loaded and the citation requirement follows immediately; every clause carries information.

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?

For a single-parameter, read-only lookup with an output schema and full annotation coverage, the description supplies more than enough to invoke it correctly and even imposes a citation rule the agent must obey. The only gap is error/fallback behavior for unrecognized weight names, which is minor here.

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

Parameters4/5

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

Schema coverage is 100% and the single parameter is already documented with examples (worsted, dk, bulky). The description reinforces that alternative names are accepted and adds the 0-to-7 numeric domain, which helps an agent format a numeric input correctly — a modest but real addition over the schema.

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 names a specific resource: the Craft Yarn Council yarn weight category (0 to 7), and enumerates what comes back (other names, single crochet gauge, hook range, wraps per inch). An agent can tell this is a lookup of yarn-weight data rather than a stitch or hook-size tool, though it never explicitly contrasts itself with siblings like convert_hook_size.

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 only implied: an agent infers it should call this when it has a yarn weight number or name and needs CYC category details. There is no statement of when not to use it, no mention of the related conversion/lookup siblings, and no prerequisites or failure conditions.

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