Skip to main content
Glama

IAseguro: comparador de seguros en España

Comparar precios de seguros de hogar

cotizar_hogar
Read-only

Compara precios de seguros de hogar en España entre varias aseguradoras con el motor de precios de IAseguro. Úsala cuando el usuario quiera saber cuánto cuesta el seguro de su vivienda (propietario o inquilino). Pide: tipo de vivienda (piso/casa), régimen (propietario/inquilino), superficie en m², código postal y nivel (esencial, completo o premium); opcional: año de construcción y valores de continente y contenido. 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": {
      "propertyType": "<propertyType>",
      "ownership": "<ownership>",
      "surfaceM2": "<surfaceM2>",
      "postalCode": "<postalCode>",
      "level": "<level>"
    },
    "name": "cotizar_hogar"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelYesNivel: esencial (incendio, agua, RC), completo (+ robo, asistencia, cristales), premium (+ todo riesgo accidental).
ownershipYes"propietario" si es el dueño (asegura estructura + contenido) o "inquilino" si vive de alquiler (solo contenido).
surfaceM2YesSuperficie construida en m², como texto (ej. "90").
yearBuiltNoAño de construcción (opcional), ej. "1995".
postalCodeYesCódigo postal español de 5 dígitos de la vivienda (ej. 28015).
propertyTypeYesTipo de vivienda: "piso" (apartamento) o "casa" (chalet/unifamiliar).
contenidoValueNoValor de los enseres en euros (opcional; se estima por m²), ej. "30000".
continenteValueNoValor de la estructura en euros (opcional; se estima por m²), ej. "90000".

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.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description still adds real value: it states no contracting and no PII collection (name, DNI, phone, email), explains that prices are orientative unless tipoPrecio is "firme", and names the structuredContent format. It doesn't mention latency, provider availability, or failure modes when no offers exist, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and trigger, which is good, but the middle and final sentences enumerate input fields and output fields that are already fully specified by the input schema and the output schema — redundant text that crowds out information only prose can carry.

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 read-only quoting tool with 5 required params, full schema coverage, annotations, and an output schema, nothing an agent needs is missing: trigger, required inputs, price reliability caveat, and the no-PII guarantee are all present.

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 description coverage is 100% and each enum (level, ownership, propertyType) is already explained in the schema, so the description's parameter list adds no new semantics; it restates required and optional fields without format quirks or defaults beyond what the schema shows.

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 hogar en España entre varias aseguradoras") plus the engine used, and the domain noun "hogar" cleanly separates it from the cotizar_coche/moto/vida siblings.

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 ("Úsala cuando el usuario quiera saber cuánto cuesta el seguro de su vivienda") and scopes it to owner or tenant, but never names the natural alternative (detalle_hogar) for when the user wants details on one product rather than a comparison.

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