Skip to main content
Glama

IAseguro: comparador de seguros en España

Comparar precios de seguros de viaje

cotizar_viaje
Read-only

Compara precios de seguros de viaje 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 viaje (un viaje puntual o anual multiviaje). Pide: zona de destino (espana, europa, mundo, mundo-eeuu), tipo de viaje (puntual/anual), nivel (basico, completo o premium) y, si es puntual, los días; opcional: número de viajeros. En viaje puntual el precio es el total del viaje (unidad "viaje"). 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": {
      "destinationZone": "<destinationZone>",
      "tripType": "<tripType>",
      "level": "<level>"
    },
    "name": "cotizar_viaje"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelYesNivel: basico (asistencia médica + equipaje), completo (+ cancelación y más límite médico), premium (límites altos, deportes, preexistencias).
tripTypeYespuntual (un viaje) o anual (multiviaje, varios viajes al año).
travelersNoNúmero de viajeros asegurados como texto (ej. "2"; por defecto 1).
durationDaysNoDías de viaje como texto, ej. "10" (obligatorio en viaje puntual).
destinationZoneYesZona de destino: espana (nacional), europa, mundo (resto salvo EE. UU./Canadá/Japón) o mundo-eeuu (incluye EE. UU./Canadá/Japón, sanidad más cara).

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.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/openWorldHint/destructiveHint, but the description adds genuinely new behavior: prices are orientative unless tipoPrecio is "firme", no personal data (nombre, DNI, teléfono, email) is requested, and results are sorted cheapest-first in iaseguro.cotizacion.v1. That is exactly the trust and caveat context an agent needs before quoting figures to a user.

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 purpose, then the usage trigger, then required inputs, then return shape — a sensible order with no filler. The parameter recap is somewhat redundant with a fully described schema, but every sentence still carries usable information.

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?

Given five parameters, three enums, and an existing output schema, the description covers the conditional requirement (days only for puntual), optional travelers, the priced unit, and the offer fields returned. Nothing needed to call it correctly or interpret the result is missing.

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 the description largely restates what the schema already documents (zone enum, trip type, level, days required for puntual, travelers default 1). The one addition is the "unidad viaje" note about total-trip pricing, which is more about output than input. Baseline 3 applies when the schema does the heavy lifting.

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 viaje") plus the engine it queries, and the domain word "viaje" immediately separates it from the cotizar_coche/cotizar_hogar/cotizar_mascota siblings. An agent can route to it 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 Guidelines4/5

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

"Úsala cuando el usuario quiera saber cuánto cuesta un seguro de viaje (un viaje puntual o anual multiviaje)" gives an explicit trigger condition, and the description scopes it with "Solo lectura: no contrata". It does not name alternatives such as detalle_viaje for looking up an existing offer, so the exclusion side is only implied.

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