Skip to main content
Glama

The Cable Code

Minimum burial depth of a cable by country

burial_depth
Read-onlyIdempotent

The minimum burial cover for a power cable by country, voltage and location (open ground, road, pavement; direct or in a raceway for the US and Australia), from the rule the site holds for that country (national rules, HD 603 / HD 620 parts, NEC 2026 Tables 300.7(A) and 305.15(A), IS 1255), with its source and seen level; null with the reason where none was read. Free, deterministic, no LLM.

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. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare it a safe, idempotent, closed-world read; the description adds real value beyond that by naming the rule sources (HD 603/620, NEC Tables 300.7(A)/(A), IS 1255), stating the answer carries a source and 'seen' level, and disclosing the null-with-reason fallback. It does not state the unit of the returned depth, which is a notable omission for an engineering answer.

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 resource and its varying dimensions; every clause (sources, null behavior, determinism) carries information. It is a single very dense sentence with stacked parentheticals, which costs some readability but no filler.

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

Completeness5/5

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

Covers the four-parameter shape, the enum axes, the rule provenance, the failure mode, and the absence of LLM nondeterminism; with no output schema, describing the payload (depth with source and seen level) is exactly what is needed. Only the returned unit is left implicit.

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 three parameters have enums with their own descriptions, so the schema does the heavy lifting. The description restates the same axes (location, direct/raceway) without adding syntax, defaults, or constraints beyond what is already documented.

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 a precise resource (minimum burial cover of a power cable), the dimensions it varies along (country, voltage, location/method) and the data provenance. No sibling tool in the list touches burial depth, so the purpose is unambiguous on its own.

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 by the resource (ask for burial depth when you need it), and the 'free, deterministic, no LLM' note hints at when to prefer it over reasoning. But there is no explicit when-to-use/when-not, no prerequisite statements, and no alternatives 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