Skip to main content
Glama

IAseguro: comparador de seguros en España

Comparar precios de seguros de decesos

cotizar_decesos
Read-only

Compara precios de seguros de decesos en España entre varias aseguradoras con el motor de precios de IAseguro. Úsala cuando el usuario quiera saber cuánto cuesta un seguro de decesos. Pide: fecha de nacimiento, código postal y tipo de prima (nivelada o natural); opcional: capital de servicios (3.000-30.000 €, por defecto 5.000). Devuelve en structuredContent (formato iaseguro.cotizacion.v1) las ofertas ordenadas de más barata a más cara: aseguradora, producto, precio y su unidad, prima mensual y anual, coberturas clave, teléfono y enlace al cotizador de la aseguradora, y tipoPrecio (firme, estimado o sin_precio). Los precios son orientativos salvo que tipoPrecio sea "firme". Solo lectura: no contrata ni pide nombre, DNI, teléfono ni email.

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": {
      "birthDate": "<birthDate>",
      "postalCode": "<postalCode>",
      "premiumType": "<premiumType>"
    },
    "name": "cotizar_decesos"
  }
}

Input Schema

NameRequiredDescriptionDefault
capitalNoCapital de servicios en euros como texto, ej. "5000" (entre 3000 y 30000; por defecto 5000).
birthDateYesFecha de nacimiento en formato YYYY-MM-DD (ej. 1965-05-15).
postalCodeYesCódigo postal español de 5 dígitos (ej. 28015).
premiumTypeYesTipo de prima: nivelada (cuota constante toda la vida, lo más habitual) o natural (empieza más barata y sube con la edad).

Output Schema

NameRequiredDescriptionDefault
tipoYes
avisoYesAviso legal corto; muéstralo o resúmelo al usuario.
lineaYesId de la línea (vida, coche, hogar…).
monedaYes
formatoYes
ofertasYesDe más barata a más cara; las ofertas sin precio, al final.
resumenYes
generadoEnYesFecha y hora ISO 8601 de la respuesta.
idPeticionYes
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.
aseguradorasSinRespuestaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the annotations: it discloses the orientative nature of prices and the tipoPrecio caveat (firme/estimado/sin_precio), the sort order, and what data is deliberately NOT collected (nombre, DNI, teléfono, email), which is meaningful privacy context for a quote flow. It also confirms in prose that nothing is contracted, consistent with destructiveHint=false.

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: purpose, trigger, inputs, outputs, caveats in that order. A few details (capital range, default) duplicate the schema verbatim, which is minor waste, but no sentence is 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?

For a 4-parameter quoting tool with an output schema, the description covers required vs optional inputs, the return envelope and field list, sort order, price-reliability semantics, and the no-PII/no-contract guarantee. An agent has everything needed to call it and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, and the description still adds execution-relevant meaning: which three fields are mandatory, that capital is optional with a default of 5.000 €, and the accepted 3.000-30.000 € range. It restates the premiumType choice in business terms rather than just the enum values.

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 ("compara precios de seguros de decesos en España entre varias aseguradoras") and names the engine used, so the agent can distinguish it from the product-specific siblings like cotizar_coche or cotizar_vida and from the detalle_* detail tools.

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?

Gives an explicit trigger condition: "Úsala cuando el usuario quiera saber cuánto cuesta un seguro de decesos." What is missing is a negative boundary, e.g. pointing to detalle_decesos when the user wants details on one offer rather than a comparison, but the product-based sibling split makes the context clear.

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