Skip to main content
Glama

Find rope threads

find_rope_threads

Read-only. Finds catalog thread constructions whose estimated rope diameter is within ±10% of a target diameter. Use this tool when the user asks which threads to use for a rope of a given thickness. It checks 1, 2, 3, 4 and 5 threads per strand for every selected thread. Omit threadIds to search the whole active catalog, or pass thread ids to narrow the search. Results are sorted by absolute deviation from the target, then dTex, then threads per strand, with a deterministic tie-break. The ±10% window is a search tolerance, not an accuracy claim of the model. The response includes every match with its diameter and deviation percent, the tolerance, the model and catalog versions, and any warnings such as EXTRAPOLATION. An empty results array means no construction fits the ±10% tolerance; it is a successful answer, not an error. Use calculate_rope_diameter to get the diameter for one specific thread.

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": {
      "targetDiameterMm": "<targetDiameterMm>"
    },
    "name": "find_rope_threads"
  }
}

Input Schema

NameRequiredDescriptionDefault
threadIdsNoOptional list of catalog thread ids to check, for example ['tera-40', 'tera-30']. Omit to check the whole active catalog. An empty array is rejected rather than treated as the whole catalog.
targetDiameterMmYesTarget rope diameter in millimetres, greater than zero. Matches within ±10% of this value are returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / loadGrams
      Removed value: -{
      -  "description": "Tension load in grams: one of 30, 50, 100, 150, 200, 250, 300. Required when loadMode is 'manual', not allowed otherwise. Only 30, 200 and 300 g were measured; other values are interpolated.",
      -  "enum": [
      -    30,
      -    50,
      -    100,
      -    150,
      -    200,
      -    250,
      -    300
      -  ],
      -  "type": "number"
      -}
    • removedInput schema / properties / loadMode
      Removed value: -{
      -  "description": "Tension load mode (API v2). 'auto' applies the recommended starting load for each construction; 'manual' applies loadGrams. Omit to use the legacy calculation without load (API v1).",
      -  "enum": [
      -    "auto",
      -    "manual"
      -  ],
      -  "type": "string"
      -}
    • changedInput schema / properties / threadIds / description
      Previous value: -"Optional list of catalog thread ids to check, for example ['tera-40', 'tera-30']. Omit to check the whole active catalog."New value: +"Optional list of catalog thread ids to check, for example ['tera-40', 'tera-30']. Omit to check the whole active catalog. An empty array is rejected rather than treated as the whole catalog."
  2. Changed3 schema fields changed
    • addedInput schema / properties / loadGrams
      Added value: +{
      +  "description": "Tension load in grams: one of 30, 50, 100, 150, 200, 250, 300. Required when loadMode is 'manual', not allowed otherwise. Only 30, 200 and 300 g were measured; other values are interpolated.",
      +  "enum": [
      +    30,
      +    50,
      +    100,
      +    150,
      +    200,
      +    250,
      +    300
      +  ],
      +  "type": "number"
      +}
    • addedInput schema / properties / loadMode
      Added value: +{
      +  "description": "Tension load mode (API v2). 'auto' applies the recommended starting load for each construction; 'manual' applies loadGrams. Omit to use the legacy calculation without load (API v1).",
      +  "enum": [
      +    "auto",
      +    "manual"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / targetDiameterMm / description
      Previous value: -"Target rope diameter in millimetres, greater than zero. Matches within ±15% of this value are returned."New value: +"Target rope diameter in millimetres, greater than zero. Matches within ±10% of this value are returned."
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: it declares read-only behavior, explains that the ±10% window is a search tolerance rather than an accuracy claim, lists the search space (1–5 threads per strand), specifies deterministic sort order, and pre-frames warnings such as EXTRAPOLATION and version metadata in the response.

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 front-loaded with the core definition and then layered: use case, parameter behavior, sort order, tolerance caveat, response shape, empty-result semantics, and alternative tool. Each sentence carries a distinct fact, though the tolerance caveat and empty-results sentence could be tightened slightly for length.

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?

There is no output schema, yet the description enumerates the return payload (matches with diameter and deviation percent, tolerance, model and catalog versions, warnings) and explains that an empty results array is a successful answer rather than an error. Nothing an agent needs to call this correctly or interpret the response 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 coverage is 100% and the schema already documents that omitting threadIds searches the whole catalog and that matches fall within ±10% of targetDiameterMm, so the description largely restates that. The only added meaning is the invariant that 1–5 threads per strand are checked for each selected thread, which is useful but modest.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Finds catalog thread constructions') and immediately names the discriminating criterion (estimated rope diameter within ±10% of a target). It is clearly distinguishable from siblings like calculate_rope_diameter and list_rope_threads without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It states the triggering user question ('which threads to use for a rope of a given thickness') and explicitly routes the single-thread case to calculate_rope_diameter. It also gives operational guidance for the optional parameter: omit threadIds to search the whole catalog, pass ids to narrow.

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.