Skip to main content
Glama

The Cable Code

Minimum burial depth of a cable by country

burial_depth
Read-only

Minimum burial cover of a power cable by country, voltage and place (open ground, road, pavement; direct or in a raceway for US and AU), from that country's rule with its source and seen level, or null with the reason. Free, no LLM. Notes: thecablecode://guide/burial_depth.

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>",
      "u": "<u>"
    },
    "name": "burial_depth"
  }
}

Input Schema

NameRequiredDescriptionDefault
uYesU in kV (1 for 0.6/1 kV, 20 for 12/20 kV) or Uo/U such as "0.6/1".
placeNofield (open ground, default), road or pavement.
methodNodirect (default) or raceway (duct or conduit); the US and Australian rules tell them apart.
countryYesISO country code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / country / examples
      Added value: +[
      +  "DE",
      +  "US"
      +]
  2. Added

TDQS

A3.7/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 genuinely non-obvious behavior: results come from the country's rule together with its source and 'seen level', and failures return null with a reason rather than an error. It also notes the call is free and non-LLM, which is unusual cost/latency context. It stops short of explaining what 'seen level' means or what unit the returned depth is in.

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?

Front-loaded correctly, but the definition is a single run-on sentence with stacked parentheticals, and 'Free, no LLM' plus the cryptic 'Notes: thecablecode://guide/burial_depth' trail-off are unexplained fragments. Most content earns its place, but the structure is dense enough to slow parsing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a 4-parameter schema fully documented and no output schema, the description carries the burden of describing the return: it does mention rule, source, 'seen level' and a null-with-reason path. However, the return unit (mm, m?), the meaning of 'seen level', and the country list are left unaddressed, which are real gaps for a lookup whose only output is a number.

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 U (kV or Uo/U), place (field/road/pavement), method (direct/raceway) and country. The description's mention that direct-vs-raceway only applies to US and AU and that place defaults to open ground largely repeats what the schema already documents, adding little new meaning.

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?

States precisely the resource (minimum burial cover of a power cable) and its three determining dimensions: country, voltage and place/method. No sibling tool in the catalog covers burial depth, and the parenthetical clarifies what 'place' and 'method' mean, so an agent can identify this tool's job 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 Guidelines3/5

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

Usage is implied rather than stated: the description makes clear this is a per-country regulatory lookup and that it returns null with a reason on failure. There is no explicit when-to-use versus alternatives, no prerequisites, and no statement about what to do with the null case beyond noting it exists.

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