Skip to main content
Glama

IAseguro: comparador de seguros en España

Consultar qué cubre un seguro

consultar_coberturas
Read-onlyIdempotent

Explica qué cubren los seguros de una línea en España, producto a producto, con un precio "desde" orientativo. Úsala cuando pregunten qué cubre o qué incluye un seguro, o para comparar las coberturas de dos compañías (una llamada por compañía). Para un precio con los datos del usuario, usa cotizar_<línea>; para elegir seguro de salud, recomendar_salud o cotizar_salud. insurer busca por parte del nombre, sin distinguir mayúsculas ni tildes. Si insurer o product no casan con nada, no da error: productos llega vacío y mensaje lista las aseguradoras disponibles. Devuelve como mucho 6 productos y no avisa si hay más, así que acota con insurer. No pide datos del usuario.

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": {
      "line": "<line>"
    },
    "name": "consultar_coberturas"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineYesLínea de seguro. mascota = perros y gatos; patinete = eléctrico; rc = responsabilidad civil particular.
insurerNoAseguradora, ej. "MAPFRE", "Línea Directa", "Sanitas". Sin ella, productos de varias.
productNoProducto concreto, ej. "Plena". Solo se usa con line "salud"; en las demás se ignora.

Output Schema

NameRequiredDescriptionDefault
tipoYes
avisoYesAviso legal corto; muéstralo o resúmelo al usuario.
lineaYes
filtroYes
monedaYes
formatoYes
mensajeYesExplicación cuando no hay productos que casen con el filtro.
productosYes
generadoEnYesFecha y hora ISO 8601 de la respuesta.
etiquetaLineaYes
enlaceComparativaYesComparativa en iaseguro.com con los UTM del canal. En cotizaciones y salud es el enlace directo /comparar/{linea}?<datos enviados, con los nombres de campo de la tool> que abre la comparativa ya calculada (la fecha de nacimiento no viaja en la URL: va como edad=<años cumplidos>, que da el mismo precio); en coberturas, la guía del ramo; en disponibilidad, /comparar.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description layers on real behavior: insurer matching is partial-name and accent/case insensitive, no-match is not an error (empty products plus a mensaje listing available insurers), results are capped at 6 with no truncation warning, and no user data is requested.

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 purpose, then usage, then behavioral caveats — a sensible order, and nearly every clause carries new information. It is a dense single block, though, which makes the alternative-tool routing and the no-match caveat harder to scan than separate lines would be.

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?

An output schema exists so return values needn't be spelled out, yet the description still covers the edge case an agent must handle (empty products + mensaje) and the result cap. For a 3-parameter read-only lookup, nothing needed to call it correctly is missing.

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; the description adds genuine meaning on top by explaining the fuzzy insurer matching and the practical consequence of the 6-product cap ('acota con insurer'). The product/'salud'-only constraint is largely a restatement of what the schema already documents.

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 specific verb and resource ('Explica qué cubren los seguros de una línea en España, producto a producto') plus the output shape (coberturas + precio 'desde' orientativo). It is immediately distinguishable from the cotizar_* siblings, which it explicitly names as the price-with-user-data alternative.

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

Usage Guidelines5/5

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

Gives explicit triggers ('cuando pregunten qué cubre o qué incluye un seguro'), a multi-call workflow for comparison ('una llamada por compañía'), and routes to the right alternatives: cotizar_<línea> for personalised pricing, recomendar_salud/cotizar_salud for health-plan selection.

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