Skip to main content
Glama

The Cable Code

AWG or kcmil to mm² and back, by area and by resistance

awg_metric
Read-only

AWG / kcmil against IEC 60228 mm2, both ways, by area and by maximum resistance at 20 °C, each size with its resistance and source; with k, the ICEA insulation constant in MΩ·km. Send awg or mm2, metal Cu (default) or Al. Free, no LLM. Notes: thecablecode://guide/awg_metric.

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

Input Schema

NameRequiredDescriptionDefault
kNoAn ICEA insulation constant K, MΩ·1000 ft at 15.6 °C.
awgNoAn AWG or kcmil size: 12, 1/0, 4/0, 500.
mm2NoAn IEC 60228 class 2 size, mm².
langNoAnswer language; default en.
metalNoCu (default) or Al.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lang / description
      Previous value: -"Any of the site's 15 languages; default en."New value: +"Answer language; default en."
  2. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context: it reports that each size comes back 'with its resistance and source' (important, since there is no output schema) and that the tool is free/no-LLM. It still does not say what happens when both awg and mm2 are supplied, or when neither is, which is the one real ambiguity for a 0-required-parameter tool. A 3 fits: annotations plus the output-content hint cover most, but not all, of the behavioral picture.

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 core purpose is front-loaded in the first clause, with input guidance and the reference-guide pointer following. It is dense and slightly telegraphic ('with k, the ICEA insulation constant in MΩ·km' reads as a fragment), but almost no wording is wasted.

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?

For a five-parameter, zero-required lookup tool with no output schema, the description supplies the missing return-value context (resistance and source per size) and a documentation pointer. It falls short only on parameter interaction rules (awg vs mm2 precedence, k usage) and on the k unit inconsistency with the schema.

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%, so the schema already explains awg, mm2, k, lang and metal; baseline 3 applies. The description only restates what to send and the metal default. It also introduces a unit mismatch worth noting: the description calls k an ICEA constant 'in MΩ·km' while the schema defines it as 'MΩ·1000 ft at 15.6 °C', which does not resolve the ambiguity an agent would need.

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 the exact resources (AWG/kcmil vs IEC 60228 mm²), the standards (IEC 60228, ICEA) and the direction ('both ways, by area and by maximum resistance at 20 °C'), which no sibling tool covers. A conversion verb is only implied by 'against ... both ways' rather than stated outright, keeping it just short of a 5.

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?

'Send awg or mm2, metal Cu (default) or Al' gives input-shape guidance, and the intent (size conversion) is self-evident from the purpose statement. There is no explicit when-to-use vs. alternatives guidance and no exclusion rules, so usage is only implied.

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