Skip to main content
Glama

The Cable Code

Electrical values of an MV or HV design

mv_electrical
Read-only

MV or HV design: capacitance, charging current, reactance, a.c. resistance (IEC 60287-1-1), dielectric loss and impulse levels (IEC 60502-2), each with its source. $0.50 USDC per calculation (x402), no free allowance. Notes: thecablecode://guide/mv_electrical.

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

Input Schema

NameRequiredDescriptionDefault
langNoAnswer language; default en.
specNoOr a design_cable spec.
inputNoinput: {freq: 50 | 60, trefoilMm?, flatMm?} (axis spacing, mm; absent: touching)
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, so safety is covered; the description adds materially new context, namely a concrete price ($0.50 USDC per calculation via x402) with no free allowance, plus the governing standards for each value. It does not discuss failure modes or how per-item billing interacts with the items array, leaving a small gap.

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?

Front-loaded subject label followed by the output list, then a short pricing clause and a documentation pointer. Roughly two sentences of dense content with no filler, though the standards citations inline with each value make the first sentence heavy.

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 usefully enumerates what is returned, and with annotations covering the read-only profile the pricing clause fills the main behavioral unknown. The remaining gap is that it never signals the sentence/spec/design/items input alternatives or their batch-billing implications, which matters for a 6-parameter tool with nested objects.

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 documents lang, input (freq/trefoilMm/flatMm), items, spec, design and sentence. The description adds no parameter meaning of its own and never mentions that four alternative input modes exist, so it neither compensates nor detracts; 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 precise resource (electrical values of an MV/HV cable design) and enumerates the exact outputs: capacitance, charging current, reactance, a.c. resistance, dielectric loss, impulse levels, each with its source. That distinguishes it well from ampacity/rating siblings like iec60287_rating and from design_cable, though the verb is implicit rather than stated.

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 call this versus design_cable (which supplies the spec) or iec60287_rating. The only pointer is a documentation URI (thecablecode://guide/mv_electrical), which defers guidance rather than giving it, and no exclusions or prerequisites are stated.

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