Skip to main content
Glama

The Cable Code

Cable pull: tensions and sidewall pressure

pull_cable
Read-only

Pull a cable through straights and bends (conduit or rollers): tension per segment from either end, sidewall pressure per bend, jam ratio and fill, against the allowable values with sources. $0.50 USDC per calculation (x402); the verdict alone (no full) is free within the designs' 2 calls per caller per UTC day. Notes: thecablecode://guide/pull_cable.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pull_cable"
  }
}

Input Schema

NameRequiredDescriptionDefault
pdfNoFull mode: add the calculation sheet as pdf_base64.
fullNotrue: the whole answer (paid).
langNoAnswer language; default en.
specNoOr a design_cable spec.
inputNoinput: {route: [{kind: "straight", length, slope} | {kind: "bend", radius, angle, plane}], n, duct: {kind: "conduit", material, idMm} | {kind: "rollers"}, head, ...}
itemsNoOr a list of {sentence | spec | design, input}, paid per item.
designNoOr a design_cable design.
sentenceNoThe cable, as design_cable takes it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / design / description
      Previous value: -"Instead of a sentence: the design field of a design_cable answer."New value: +"Or a design_cable design."
    • changedInput schema / properties / full / description
      Previous value: -"true: the whole answer, a paid call. Without it the free verdict, counted against the designs' daily free allowance."New value: +"true: the whole answer (paid)."
    • changedInput schema / properties / input / description
      Previous value: -"input: {route: [{kind: \"straight\", length (m), slope (deg)} | {kind: \"bend\", radius (m), angle (deg), plane: \"h\" | \"v\"}] (1 to 40), n (cables, 1 to 12), arrangement: auto | triplex | cradled, duct: {kind: \"conduit\", material: steel | pvc | fibre | asbestos, idMm} | {kind: \"conduit\", material, raceway: \"EMT\", metric: 53} | {kind: \"rollers\"}, head: eye | grip, feedN?, mu?, jacket?, limitN?, swbpNPerM?}"New value: +"input: {route: [{kind: \"straight\", length, slope} | {kind: \"bend\", radius, angle, plane}], n, duct: {kind: \"conduit\", material, idMm} | {kind: \"rollers\"}, head, ...}"
    • changedInput schema / properties / items / description
      Previous value: -"Instead of one: a project's list, 1 to 50 items, each {sentence | spec | design, input}; always in full, paid per item."New value: +"Or a list of {sentence | spec | design, input}, paid per item."
    • changedInput schema / properties / lang / description
      Previous value: -"Any of the site's 15 languages; default en."New value: +"Answer language; default en."
    • changedInput schema / properties / sentence / description
      Previous value: -"The cable in words or its designation, as design_cable takes it."New value: +"The cable, as design_cable takes it."
    • changedInput schema / properties / spec / description
      Previous value: -"Instead of a sentence: a spec as design_cable takes it."New value: +"Or a design_cable spec."
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses the monetization model ($0.50 USDC per calculation via x402), a free tier limited to the verdict within 2 calls per caller per UTC day, and the per-item charging implied for lists. This is behavior an agent cannot learn from the annotations. It doesn't describe failure modes or what happens when quota or payment is exhausted, which keeps it below 5.

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?

The purpose is front-loaded in the first clause, and the pricing and quota details follow in a single dense sentence. Every element carries information, though the billing sentence is packed with acronyms (USDC, x402, UTC) that slow parsing slightly.

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 an eight-parameter, nested-input calculation tool with no output schema, the description supplies what structured fields cannot: output content, cost/quota model, and a documentation URI. Mode selection and route syntax are already carried by the schema's own descriptions, so nothing essential for a correct call is missing.

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 description coverage is 100%, so the baseline is 3, but the description adds economic meaning to the `full` flag ("the verdict alone (no full) is free") and implies `items` are charged per element, which the schema only labels as "paid per item." The remaining mode-selection parameters (spec, design, sentence, input) get no added clarity in the description.

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 opens with a specific verb and resource ("Pull a cable through straights and bends") and enumerates the computed results: tension per segment, sidewall pressure per bend, jam ratio and fill, checked against allowable values with sources. It doesn't position itself against siblings such as check_cable or design_cable, so an agent must infer the difference, but the purpose itself is unambiguous.

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 by the phrase "conduit or rollers," which tells an agent the physical configurations accepted, and by the pricing note that the verdict is free while the full answer is paid. There is no explicit statement of when to choose this over check_cable or design_cable, nor any when-not guidance; the guide URI is the only pointer to further context.

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