Skip to main content
Glama

The Cable Code

Lowest fire class or listing a country asks for

fire_class
Read-only

The lowest fire class or listing a country asks for in a kind of building or space (DE, ES, FR, GB, IT, TR, US: escape route, high-rise, tunnel, hospital, plenum ...), the rule lines with sources and seen levels; the US NEC Article 722 listing ladders. To read a printed class use decode_cable_code. Free, no LLM. Notes: thecablecode://guide/fire_class.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "country": "<country>",
      "place": "<place>"
    },
    "name": "fire_class"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoAnswer language; 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 / examples
      Added value: +[
      +  "GB",
      +  "US"
      +]
    • changedInput schema / properties / lang / description
      Previous value: -"Any of the site's 15 languages; default en."New value: +"Answer language; default en."
  2. 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."
  3. 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"
      +]
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark this as a read-only, closed-world lookup, so the description's main job is added context. It discloses that results include rule lines with sources and seen levels, and that the tool is free and does not use an LLM, which is useful behavioral information beyond the annotations.

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 definition is front-loaded with the core lookup purpose and follows with the routing rule and notes. It is dense but not wasteful; the only mild friction is the somewhat awkward phrase about rule lines and listing ladders.

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 simple read-only lookup with a fully described input schema and no output schema, the description supplies enough: what is returned (rule lines, sources, seen levels) and the guide reference. The gaps are minor, such as not enumerating every possible place type, which the schema already covers.

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 coverage is 100% and all three parameters have enums and descriptions, so the schema already carries the parameter semantics. The description lists the supported countries and place examples, but that largely repeats the enums rather than adding format or selection guidance beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource outcome: the lowest fire class or listing a country requires for a given building or space. It distinguishes itself from decode_cable_code by explicitly routing printed-class reads there, so an agent can tell the two apart without opening the schema.

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?

The description gives a clear conditional: use decode_cable_code to read a printed class, implying this tool is for requirements lookup. It does not state exclusions against other siblings such as check_cable, but the primary alternative for a closely related task is named.

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