Skip to main content
Glama
gpaul-mcp

Ravelry MCP Server

by gpaul-mcp

Find yarns for a pattern

find_yarns_for_pattern
Read-onlyIdempotent

List yarn substitutes for a pattern by seeing which yarns other Ravelry users actually used, ranked by project count, with pattern weight, yardage, gauge, and designer suggestions.

Instructions

Yarn substitution: lists the yarns other Ravelry users actually used to make a pattern, ranked by how many projects used each one, next to the yarn weight, yardage and gauge the pattern calls for and the yarns its designer suggested.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many yarns to return.
pattern_idYesRavelry pattern id (from search_patterns).
same_weight_onlyNoOnly return yarns of the pattern's own yarn weight, the safest substitutes.
include_discontinuedNoAlso return yarns that are no longer made.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
yarnsYesYarns other people used for this pattern, most used first.
patternYes
total_yarns_usedYesHow many different yarns people have used in total.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.8.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds behavioral context beyond that: results are ranked by number of projects, and the response places user-substituted yarns next to the pattern's required weight/yardage/gauge and the designer's suggestions. It does not discuss result volume or truncation, which is minor given the output schema exists.

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 dense sentence, front-loaded with the 'Yarn substitution:' label, and every clause carries information. It is slightly overloaded in the middle with three parallel pieces of data, but there is no padding or repetition.

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 lookup with a full output schema and full annotation coverage, the description supplies everything an agent needs: what is returned, how it is ranked, and the comparison context. Return-value formatting is handled by the output schema, so nothing material 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%, so all four parameters (pattern_id, limit, same_weight_only, include_discontinued) are already documented in the schema. The description says nothing about any of them, including the important same_weight_only filter, so it adds no semantic value above the structured baseline of 3.

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 gives a specific verb and resource: it lists yarns other Ravelry users actually used to make a given pattern. The 'yarn substitution' framing and the detail about ranking by project count make the resource concrete. It never names its siblings (search_yarns, match_yarns, get_yarn_details), so an agent must infer the boundary itself, which keeps it below 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Yarn substitution' implies the substitution use case, and the mention of the pattern's own weight and gauge suggests a comparison scenario. However, there is no explicit when-to-use versus match_yarns (which sounds like the nearest alternative for gauge-based matching) and no exclusions or prerequisites stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.