Skip to main content
Glama

TidyUse Home & Garden Calculators

Curtain Calculator

calculate_curtain
Read-onlyIdempotent

Calculate curtain panel counts, pairs at desired fullness (1.5×–2.5×), and recommended ready-made drop length.

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": {
      "width": "<width>"
    },
    "name": "calculate_curtain"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNowindow
unitNous
widthYesWindow frame width or rod width (in in us, cm in metric).
fullnessNoFullness multiplier (1-4, typical 1.5 to 2.5). Default 2.
rodHeightNoOptional rod height above floor for drop length (in in us, cm in metric; 0 to skip).
panelWidthNoSingle flat panel width (in in us, default 50; cm in metric, default 135).
rodExtensionEachSideNoExtension past each side of window when kind="window" (in in us, default 4; cm in metric, default 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered without the description. The description adds limited behavioral context by indicating it produces derived outputs (counts, pairs, drop length) rather than just echoing inputs. It says nothing about how optional inputs like rodHeight=0 or missing panelWidth affect the result, which is left to the schema.

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?

A single sentence with no filler, front-loading the action and enumerating the three outputs. The three-output list is dense but each clause earns its place. Slightly more structure (e.g., separating outputs from inputs) would improve scanability.

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?

This is a low-risk pure calculator with strong annotations, and the description does name the returned values, which partially compensates for the absence of an output schema. However, with 7 parameters and no output schema, it does not explain the unit behavior, what happens when rodHeight is 0, or the format of the returned counts and drop length. Adequate but with clear gaps.

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 71%, so the schema already documents most parameters, including unit conventions, width meaning, and fullness range 1–4. The description only marginally reinforces this by citing the typical fullness band of 1.5×–2.5×, consistent with the schema default of 2. It adds no meaning for kind, unit, panelWidth, or rodExtensionEachSide beyond what the schema states.

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 uses a specific verb ('Calculate') with a specific resource ('curtain') and names the concrete outputs: panel counts, pairs, and recommended drop length. Within the calculate_* calculator family, the domain word alone distinguishes it from siblings. It stops short of explicitly naming or contrasting a sibling, which keeps it at 4 rather than 5.

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 statement of when to use this calculator versus alternatives, nor any when-not guidance or prerequisites. The only contextual hints ('at desired fullness (1.5×–2.5×)', 'ready-made drop length') describe what is computed, not when to choose it. An agent must infer usage entirely from the tool name and domain.

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