Skip to main content
Glama

Indargreen · cálculo eléctrico REBT

linea_cargador_dimensionar

Línea de un cargador de coche eléctrico en vivienda unifamiliar (circuito C13), cable de cobre, REBT. Calcula con el código de una app de cálculo eléctrico real; no hace falta que calcules nada tú. Requisitos (los pone la obra, el software no los cambia): potencia_w, fases, longitud_m. Ajustables (el software puede proponer cambiarlos): seccion_mm2, metodo, aislamiento. Lo que no des y tenga valor por defecto se supone y sale en "supuestos"; lo imprescindible que falte sale en "faltan" y no se calcula. Cada regla sale con valor, límite, unidad y artículo del REBT. Un arreglo null lleva "motivo": no hay cambio de un dato ajustable que la cumpla; decide la persona. NO SABE (cannot): cobre; aluminio no; sin factores de corrección por temperatura ni agrupamiento (UNE 20460-5-523); vivienda unifamiliar: no garajes con varias plazas (esquemas de la ITC-BT-52 en zonas comunes). Operación: dimensionar. Devuelve la MENOR sección normalizada (seccion_mm2) y el PIA (pia_a) que cumplen todas las reglas, y en "seccion_menor" por qué no vale la sección inmediatamente menor (regla, valor, límite, artículo). Si ninguna vale, seccion_mm2 es null y "fallan_con_todas" dice qué regla y de qué requisito depende. No le pases seccion_mm2. PRECIO (beta): 0,02 € + IVA por llamada que sale bien; las 20 primeras de cada mes, incluidas. Una llamada con datos que faltan o no valen no se cobra.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "linea_cargador_dimensionar"
  }
}

Input Schema

NameRequiredDescriptionDefault
fasesNosuministro del cargador. Requisito. Si falta se supone "mono" y se dice en supuestos.
metodoNométodo de instalación UNE-HD 60364-5-52: a (conductores aislados en tubo empotrado en pared aislante), a2 (multiconductor en tubo empotrado en pared aislante), b (conductores aislados en tubo en superficie), b2 (multiconductor en tubo en superficie), c (sobre pared), e (multiconductor al aire libre), f/g (unipolares al aire). Ajustable. Si falta se supone "b2".
longitud_mNolongitud de la línea desde el cuadro, en m. Requisito.
potencia_wNopotencia del cargador en W. Requisito: el software no la cambia.
aislamientoNoaislamiento del cable. Ajustable. Si falta se supone "xlpe".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With zero annotations the description carries the full burden and does so: it discloses billing (0,02 € + IVA per successful call, first 20 free each month, failures not charged), what happens with omitted or invalid data ("supuestos" / "faltan"), the rule-level output shape (valor, límite, unidad, artículo), and the null-with-"motivo" failure contract. This is behavior an agent could not obtain from any structured field.

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?

Dense but front-loaded: the identification, the calculation guarantee, the requisitos/ajustables split, the cannot-do limits, and the return contract arrive in a sensible order. It is written as a long run-on block with some repetition (defaults restated from the schema), but nearly every clause conveys load-bearing information about a fairly intricate calculation tool.

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?

For a domain-specific engineering calculator with no output schema and no annotations, the description covers inputs, defaults, fallback/error semantics, the exact returned quantities (seccion_mm2, pia_a, seccion_menor, fallan_con_todas), and applicability limits. An agent has enough to decide whether to call it and how to interpret a result.

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 coverage is 100%, so the baseline is 3, but the description adds a genuinely useful distinction absent from the schema: which parameters are requisitos fixed by the installation (potencia_w, fases, longitud_m) versus ajustables the software may propose changing (seccion_mm2, metodo, aislamiento). It also states default fallbacks, though those are already in the schema descriptions, and it references "seccion_mm2" as a parameter not to pass even though it does not exist in the input schema, which is a minor source of confusion.

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?

Names a specific verb and resource (dimensionar la línea de un cargador de coche eléctrico, circuito C13, cobre, REBT) and states the operation explicitly ("Operación: dimensionar"), which is more than a bare restatement of the tool name. It does not, however, mention or contrast with the sibling linea_cargador_comprobar, so the agent gets no in-definition routing between the two.

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?

Provides strong applicability boundaries: single-family dwelling only, copper only, no temperature/grouping correction factors, explicitly excluding garages with multiple spaces per ITC-BT-52. These are clear 'when not' conditions. The gap is that it never names the alternative tool (linea_cargador_comprobar) for the excluded cases, leaving the agent to infer where to go instead.

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