Skip to main content
Glama

The Cable Code

Lowest fire class or listing a country asks for

fire_class
Read-onlyIdempotent

The lowest fire class or listing a country asks for in a kind of building or space (escape route, general area, high-rise, tunnel, hospital, data centre, plenum, riser, railway) for DE, ES, FR, GB, IT, TR and US: the rule lines with their sources and seen levels, makers' declarations marked as such, the US NEC listing ladders (CMP, CMR, CL3P ...), or not_found with the reason. Use it to choose the fire class to ask for; to read the class a designation prints use decode_cable_code (cpr_printed). Free, deterministic, no LLM.

Input Schema

NameRequiredDescriptionDefault
langNoAny of the site's 15 languages; default en.
placeYesThe kind of building or space: escape (escape route), general, highrise, tunnel, hospital, datacentre, plenum, riser or railway.
countryYesISO country code of the installation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / country / description
      Added value: +"ISO country code of the installation."
    • addedInput schema / properties / place / description
      Added value: +"The kind of building or space: escape (escape route), general, highrise, tunnel, hospital, datacentre, plenum, riser or railway."
  2. Changed1 schema field changed
    • changedInput schema / properties / place / enum
      Previous value: -[
      -  "escape",
      -  "general",
      -  "highrise",
      -  "tunnel",
      -  "hospital",
      -  "datacentre",
      -  "plenum",
      -  "riser"
      -]New value: +[
      +  "escape",
      +  "general",
      +  "highrise",
      +  "tunnel",
      +  "hospital",
      +  "datacentre",
      +  "plenum",
      +  "riser",
      +  "railway"
      +]
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world), but the description adds substantial value by disclosing what comes back: rule lines with sources and seen levels, makers' declarations flagged as such, NEC listing ladders, or a not_found with a stated reason. That is valuable because there is no output schema. 'Free, deterministic, no LLM' also sets cost/latency expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler, but the first is overloaded: a nine-item parenthetical and a seven-country list duplicate the enum values already in the schema. The genuinely useful part (return shape, not_found behavior) is stacked behind that enumeration instead of being front-loaded.

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 two-required-enum lookup with no output schema, the description does the necessary work by explaining the returned payload and the not_found outcome, and by routing the decoding case to a sibling. It does not address behavior for a country/place combination outside the supported rules set beyond the generic not_found note.

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 all three parameters are enums with documented values, so the schema already carries the semantics. The description restates the same place list and country list but adds no format, default, or edge-case guidance beyond what the schema provides, 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 identifies a specific resource (the lowest fire class or listing a country requires) and the scoping dimensions (country set, nine building/space types), and explicitly differentiates itself from decode_cable_code. It falls short of 5 because the purpose is delivered as a long noun phrase rather than a crisp verb-first statement, so the core action is somewhat buried.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the use case directly ('Use it to choose the fire class to ask for') and names the alternative plus the condition that selects it ('to read the class a designation prints use decode_cable_code (cpr_printed)'). No explicit when-not guidance is given beyond that split, which keeps it from a 5.

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