Skip to main content
Glama

The Cable Code

Cold-weather laying check

cold_weather_check
Read-only

A place's long-term mean daily minimum in a month (NASA POWER, stored) against the design's minimum laying temperature: comfortable, marginal, prewarm or unknown. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/cold_weather_check.

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": "cold_weather_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoAnswer language; default en.
specNoOr a design_cable spec.
inputNoinput: {place: a GeoNames id (number) or "lat, lon", month: 1 to 12}
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. Changed5 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 / 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.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, but the description adds material context beyond them: the underlying data source (NASA POWER, stored), the exact price ($0.50 USDC per calculation via x402) and the notable constraint that there is no free allowance. It also points to an external notes/guide URI. What it does not state is whether a multi-item request is billed per item, though the schema covers that.

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?

Three compact sentences: the computation first, the result categories second, cost and reference last. Nothing is padded, though the sentence is dense enough that the four outcome terms and the pricing clause compete for attention.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description does the necessary work of enumerating the four possible results (comfortable, marginal, prewarm, unknown) and disclosing cost, which is essential for an agent deciding to call it. It stops short of explaining what prewarm or marginal imply for the caller's next action.

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% and the six parameters are already well documented in the schema, including the place/month shape for input, the alternative spec/design/sentence forms, the items list billed per item, and the language enum. The description adds only the framing of place/month as the core case, so the 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 computation: a place's long-term mean daily minimum for a given month compared against a design's minimum laying temperature, yielding one of four named outcomes. That is far more than a restatement of the name. It does not differentiate itself from siblings such as design_cable or check_cable, which supply the design/input it consumes.

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 when-to-use or when-not-to-use guidance, and no sibling alternative is named. The agent must infer the scenario (verifying laying feasibility in cold months) purely from the stated purpose, with no routing signal for choosing this over design_cable or check_cable.

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