Skip to main content
Glama

The Cable Code

Check a power cable against a standard

check_cable
Read-onlyIdempotent

Check a power cable against a standard's nominal rules: a designation with size and voltage, a designer design, or the construction a maker's datasheet or tender offer states (layers with nominal and minimum thicknesses, screen and armour data). Rule sets: IEC 60502-1 / -2, IEC 60228, HD 603 3-G / 5-G, HD 620 10-J / M / D / C / K, BS 5467, BS 6724, BS 7846, BS 6622, IS 694, IS 1554-1 / -2, IS 7098-1 / -2, IS 8130, or "auto" for the standards the cable claims. Every rule with required, found, pass / fail / not checkable and its source (standard, edition, clause or table, page, how firmly seen). Deterministic, no LLM. A check against nominal rules, not a certificate or a type test.

Input Schema

NameRequiredDescriptionDefault
designNoInstead of a designation: a thecablecode design v1 (the design field of a design_cable answer).
standardNo"auto" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, hd-620-10-g, hd-620-10-l, hd-620-10-n, hd-620-10-o, hd-620-10-p, hd-620-9-e, hd-620-9-i, hd-620-11-n, hd-620-11-o, hd-620-12-i, hd-620-12-j, hd-620-12-k, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405, en-50525-2-31, en-50525-3-31, en-50525-2-11, en-50525-3-11, en-50525-2-21, en-50525-3-21, en-50525-2-51, en-50525-2-12, en-50525-2-41, en-50525-2-42, en-50525-2-72, en-50525-2-81, en-50525-2-82, en-50525-2-83, en-50525-3-41, en-50618-2014, iec-62930-cdv, din-vde-0271, gb-9330-2020, hd-627-4-n, hd-627-7-n. Printed names work too ("IEC 60502-2", "HD 620 10-J").
designationNoA power cable designation with its size and voltage, e.g. "NA2XS(F)2Y 1x240/25 12/20 kV", "AXCLJ-TT 3x95/25 12/20 kV", "NYY-J 4x16", "H07RN-F 3G2.5": a DIN VDE, Nordic or Dutch MV or Indian name, or any name the code pages build (harmonised, British, North American, Chinese and the other systems the equivalents finder reads).
constructionNoInstead of a designation: the construction as a datasheet states it: {name, voltage: "12/20", cores, conductor: {metal, section, shape, class, resistance, diameter}, core: [{kind, material, nominal, minimum}], common: [...], overallDiameter, flat, width and thickness (a flat cable), overallDiameterMin and overallDiameterMax (the ovality), standards: [...]}. Layers inside out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / standard / description
      Previous value: -"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, hd-620-10-g, hd-620-10-l, hd-620-10-n, hd-620-10-o, hd-620-10-p, hd-620-9-e, hd-620-9-i, hd-620-11-n, hd-620-11-o, hd-620-12-i, hd-620-12-j, hd-620-12-k, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405, en-50525-2-31, en-50525-3-31, en-50525-2-11, en-50525-3-11, en-50525-2-21, en-50525-3-21, en-50525-2-51, en-50525-2-12, en-50525-2-41, en-50525-2-42, en-50525-2-72, en-50525-2-82, en-50525-2-83, en-50525-3-41, en-50618-2014, iec-62930-cdv. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."New value: +"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, hd-620-10-g, hd-620-10-l, hd-620-10-n, hd-620-10-o, hd-620-10-p, hd-620-9-e, hd-620-9-i, hd-620-11-n, hd-620-11-o, hd-620-12-i, hd-620-12-j, hd-620-12-k, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405, en-50525-2-31, en-50525-3-31, en-50525-2-11, en-50525-3-11, en-50525-2-21, en-50525-3-21, en-50525-2-51, en-50525-2-12, en-50525-2-41, en-50525-2-42, en-50525-2-72, en-50525-2-81, en-50525-2-82, en-50525-2-83, en-50525-3-41, en-50618-2014, iec-62930-cdv, din-vde-0271, gb-9330-2020, hd-627-4-n, hd-627-7-n. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."
  2. Changed2 schema fields changed
    • changedInput schema / properties / construction / description
      Previous value: -"Instead of a designation: the construction as a datasheet states it: {name, voltage: \"12/20\", cores, conductor: {metal, section, shape, class, resistance, diameter}, core: [{kind, material, nominal, minimum}], common: [...], overallDiameter, standards: [...]}. Layers inside out."New value: +"Instead of a designation: the construction as a datasheet states it: {name, voltage: \"12/20\", cores, conductor: {metal, section, shape, class, resistance, diameter}, core: [{kind, material, nominal, minimum}], common: [...], overallDiameter, flat, width and thickness (a flat cable), overallDiameterMin and overallDiameterMax (the ovality), standards: [...]}. Layers inside out."
    • changedInput schema / properties / designation / description
      Previous value: -"A power cable designation with its size and voltage, e.g. \"NA2XS(F)2Y 1x240/25 12/20 kV\", \"AXCLJ-TT 3x95/25 12/20 kV\", \"NYY-J 4x16\"."New value: +"A power cable designation with its size and voltage, e.g. \"NA2XS(F)2Y 1x240/25 12/20 kV\", \"AXCLJ-TT 3x95/25 12/20 kV\", \"NYY-J 4x16\", \"H07RN-F 3G2.5\": a DIN VDE, Nordic or Dutch MV or Indian name, or any name the code pages build (harmonised, British, North American, Chinese and the other systems the equivalents finder reads)."
  3. Changed1 schema field changed
    • changedInput schema / properties / standard / description
      Previous value: -"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405, en-50525-2-31, en-50525-3-31, en-50525-2-11, en-50525-3-11, en-50525-2-21, en-50525-3-21, en-50525-2-51, en-50525-2-12, en-50525-2-41, en-50525-2-42, en-50525-2-72, en-50525-2-82, en-50525-2-83, en-50525-3-41, en-50618-2014, iec-62930-cdv. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."New value: +"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, hd-620-10-g, hd-620-10-l, hd-620-10-n, hd-620-10-o, hd-620-10-p, hd-620-9-e, hd-620-9-i, hd-620-11-n, hd-620-11-o, hd-620-12-i, hd-620-12-j, hd-620-12-k, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405, en-50525-2-31, en-50525-3-31, en-50525-2-11, en-50525-3-11, en-50525-2-21, en-50525-3-21, en-50525-2-51, en-50525-2-12, en-50525-2-41, en-50525-2-42, en-50525-2-72, en-50525-2-82, en-50525-2-83, en-50525-3-41, en-50618-2014, iec-62930-cdv. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."
  4. Changed1 schema field changed
    • changedInput schema / properties / standard / description
      Previous value: -"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405, en-50525-2-31, en-50525-3-31, en-50525-2-11, en-50525-3-11, en-50525-2-21, en-50525-3-21, en-50525-2-51, en-50618-2014, iec-62930-cdv. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."New value: +"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405, en-50525-2-31, en-50525-3-31, en-50525-2-11, en-50525-3-11, en-50525-2-21, en-50525-3-21, en-50525-2-51, en-50525-2-12, en-50525-2-41, en-50525-2-42, en-50525-2-72, en-50525-2-82, en-50525-2-83, en-50525-3-41, en-50618-2014, iec-62930-cdv. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."
  5. Changed1 schema field changed
    • changedInput schema / properties / standard / description
      Previous value: -"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."New value: +"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405, en-50525-2-31, en-50525-3-31, en-50525-2-11, en-50525-3-11, en-50525-2-21, en-50525-3-21, en-50525-2-51, en-50618-2014, iec-62930-cdv. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."
  6. Changed1 schema field changed
    • changedInput schema / properties / standard / description
      Previous value: -"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."New value: +"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011, din-vde-0250-204, din-vde-0250-214, din-vde-0250-215, din-vde-0250-405. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."
  7. Changed1 schema field changed
    • changedInput schema / properties / standard / description
      Previous value: -"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."New value: +"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013, iec-62067-2011, iec-60840-2011. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."
  8. Changed1 schema field changed
    • changedInput schema / properties / standard / description
      Previous value: -"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."New value: +"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, hd-620-10-e1, hd-620-10-e2, hd-620-10-i1, hd-620-10-i2, hd-620-10-i3, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."
  9. Changed1 schema field changed
    • changedInput schema / properties / standard / description
      Previous value: -"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, bs-5467, bs-6724, bs-7846, bs-6622. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."New value: +"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, bs-5467, bs-6724, bs-7846, bs-6622, is-694, is-1554-1, is-1554-2, is-7098-1, is-7098-2, is-8130-2013. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."
  10. Changed1 schema field changed
    • changedInput schema / properties / standard / description
      Previous value: -"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."New value: +"\"auto\" (default: the standards the input claims) or rule sets, comma separated, at most 4: iec-60502-1-2004, iec-60502-2-2014, iec-60228-2004, hd-603-3-g, hd-603-5-g, hd-620-10-j, hd-620-10-m, hd-620-10-d, hd-620-10-c, hd-620-10-k, bs-5467, bs-6724, bs-7846, bs-6622. Printed names work too (\"IEC 60502-2\", \"HD 620 10-J\")."
  11. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: the check is deterministic with no LLM, and the result is a per-rule verdict set (required, found, pass/fail/not checkable) with source provenance down to clause, page and 'how firmly seen'. It also discloses the key limitation that this is a nominal-rule check, not a certificate or type test — useful, but short of a full account of result shape.

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 with the verb and the three input modes, then rule sets, output shape and caveats — a sensible order. The long standards roll-call is condensed but overlaps the schema's exhaustive list, and the important 'not a certificate' caveat sits at the very end where it is easy to skim past.

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 must carry return-value information, and it does: every rule is returned with required, found, verdict and source provenance. For a 4-parameter tool with nested objects and dozens of rule sets, the remaining gap is operational — behavior when no standard matches, output size or limits on the rule list — rather than conceptual.

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 3 is the baseline; the description earns one above it by explaining the semantics of the modes rather than restating them — construction is characterized as what 'a maker's datasheet or tender offer states', including layer thicknesses and screen/armour data, which links the parameter to extract_datasheet/read_tender workflows. The standards list in prose largely duplicates the schema's enumerated values, limiting the added value.

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 gives a specific verb and resource ('Check a power cable against a standard's nominal rules') and enumerates the three checkable input forms. It implicitly distinguishes itself from design_cable by referring to 'the design field of a design_cable answer', and the closing caveat ('not a certificate or a type test') bounds the claim. It never names a sibling as the alternative for an adjacent task, so a 5 is not warranted.

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 implied through the three accepted input forms (designation, design, construction) and the 'auto' default for standards the cable claims, which tells the agent what to supply. There is no explicit when-to-use/when-not-to-use statement relative to extract_datasheet, read_tender, decode_cable_code or design_cable, and no guidance on what to do when a standard cannot be matched.

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