Skip to main content
Glama

Free Tool Directory

granny-square-blanket-calculator

Granny Square Blanket Calculator — Blocks, finished size and yarn for a granny square blanket — block count, total yarn and skeins needed.

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": {
      "tw": "<tw>",
      "tl": "<tl>"
    },
    "name": "granny-square-blanket-calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
tlYesTarget length, in.
twYesTarget width, in.
perNoYarn per square, yards.
joinNoJoining gap between squares, in.
blockNoSquare size, in.
skeinNoYards per skein.
borderNoBorder width, in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / block
      Added value: +{
      +  "default": 6,
      +  "description": "Square size, in.",
      +  "type": "number"
      +}
    • addedInput schema / properties / border
      Added value: +{
      +  "default": 3,
      +  "description": "Border width, in.",
      +  "type": "number"
      +}
    • addedInput schema / properties / join
      Added value: +{
      +  "default": 0.5,
      +  "description": "Joining gap between squares, in.",
      +  "type": "number"
      +}
    • addedInput schema / properties / per
      Added value: +{
      +  "default": 50,
      +  "description": "Yarn per square, yards.",
      +  "type": "number"
      +}
    • addedInput schema / properties / skein
      Added value: +{
      +  "default": 200,
      +  "description": "Yards per skein.",
      +  "type": "number"
      +}
    • addedInput schema / properties / tl
      Added value: +{
      +  "default": 72,
      +  "description": "Target length, in.",
      +  "type": "number"
      +}
    • addedInput schema / properties / tw
      Added value: +{
      +  "default": 60,
      +  "description": "Target width, in.",
      +  "type": "number"
      +}
    • addedInput schema / required
      Added value: +[
      +  "tw",
      +  "tl"
      +]
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the outputs (block count, yarn total, skeins), implying a pure read-only computation, but it never states that there are no side effects, how defaults are applied, or what units/rounding to expect in results.

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

Conciseness3/5

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

Two short clauses, but the second clause largely repeats the first ('Blocks, finished size and yarn' vs 'block count, total yarn and skeins needed'). It is front-loaded and small, yet the redundancy wastes part of an already brief description.

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?

With seven parameters, no annotations, and no output schema, the description should ideally stand in for the missing return contract. Naming the three outputs helps, but it does not describe the result structure or units, leaving a modest gap for a tool of this complexity.

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 every one of the seven inputs documented (target width/length, block size, yarn per square, joining gap, skein size, border width). The description adds no parameter-level meaning beyond that, so baseline 3 applies.

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 domain (granny square blanket) and enumerates the computed quantities: block count, finished size, total yarn, and skeins needed. It is clear what the tool returns, though the naming is noun-style ('Calculator') rather than verb+resource, and no sibling differentiation is offered.

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 guidance on when to use this versus alternatives, no prerequisites, and no exclusions. The only implied usage is 'compute blanket materials for a granny square blanket,' which the agent must infer from the name and description.

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