{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "alertasubastas.com",
    "site": "alertasubastas.com",
    "addresses": [
      {
        "address": "178.128.140.108",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "178.128.140.108"
        ],
        "first_seen": "2026-11-22T07:46:03.473Z",
        "last_seen": "2026-11-23T07:47:02.931Z",
        "checks": 2
      }
    ],
    "hosting": [],
    "software": [
      {
        "value": "nginx",
        "evidence": "Server header \"nginx\""
      }
    ],
    "server_info": {
      "name": "alertasubastas",
      "version": "1.1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "nginx"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.alertasubastas",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/alertasubastas/alertasubastas-claude-plugin",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "6591",
    "server_name": "com.alertasubastas/alertasubastas",
    "url": "https://alertasubastas.com/mcp",
    "host": "alertasubastas.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T07:47:02.931Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "febcbe230e85c6c0212ab5f999fb05c3b431d83ff2d83dbf5028020f6ef54a2d",
    "first_listed_at": "2026-11-21T07:03:01.946Z",
    "created_at": "2026-11-21T05:15:08.833Z",
    "resolved_addresses": [
      "178.128.140.108"
    ]
  },
  "server": {
    "name": "com.alertasubastas/alertasubastas",
    "title": "AlertaSubastas",
    "description": "Search Spain's public auctions (BOE, Social Security, tax agency, notaries) with full asset records.",
    "version": "1.0.0",
    "registry_status": "active",
    "repository_url": "https://github.com/alertasubastas/alertasubastas-claude-plugin",
    "website_url": "https://alertasubastas.com/mcp-subastas-boe",
    "published_at": "2026-11-11T16:38:59.116Z",
    "updated_at": "2026-11-11T16:38:59.116Z",
    "first_seen": "2026-11-21T05:15:08.228Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:02:07.017Z"
  },
  "operator": {
    "key": "alertasubastas.com",
    "name": "alertasubastas.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 974,
    "first_check_in_window": "2026-11-21T07:03:01.946Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "febcbe230e85c6c0212ab5f999fb05c3b431d83ff2d83dbf5028020f6ef54a2d",
    "tools": 29,
    "resources": 3,
    "prompts": 2,
    "first_seen": "2026-11-21T07:03:02.937Z",
    "tool_names": [
      "buscar_bienes",
      "ver_bien",
      "ver_subasta",
      "ver_lote",
      "buscar_por_codigo",
      "search",
      "fetch",
      "listar_provincias",
      "listar_municipios",
      "opciones_filtros",
      "explicar_concepto",
      "consumo",
      "mi_cuenta",
      "listar_alertas",
      "ver_alerta",
      "alertas_previsualizar",
      "crear_alerta",
      "borrar_alerta",
      "pausar_alerta",
      "reactivar_alerta",
      "renombrar_alerta",
      "listar_favoritas",
      "anadir_favorita",
      "quitar_favorita",
      "comentar_favorita",
      "estado_favorita",
      "listar_notificaciones",
      "marcar_notificaciones",
      "enviar_sugerencia"
    ],
    "declared": {
      "tools": [
        {
          "name": "buscar_bienes",
          "title": "Buscar subastas",
          "description": "Busca bienes en subasta (BOE, notariales, Seguridad Social, AEAT, ayuntamientos…), 100 por página. Cada resultado trae gratis una ficha reducida con una línea resumen lista para mostrar: tipo, calle sin número, municipio, origen y procedimiento; superficie, valor, depósito y cantidad reclamada redondeados (~), década de construcción, si está ocupada, si es vivienda habitual, si tiene cargas y si es visitable, si hay pujas y el plazo aproximado del fin. Lo exacto (número y piso, referencias, autoridad, fechas e importes exactos, URL oficial y documentos) solo está en la ficha (ver_bien), que gasta 1 de la cuota mensual por ficha nueva; una ficha ya consultada sale en la lista con los datos exactos. Enseña la lista con el resumen, ayuda al usuario a comparar y pregúntale qué fichas quiere abrir; no llames a ver_bien para todos. Si hay más resultados que fichas disponibles (aviso), propón acotar la búsqueda. Los filtros de valor, depósito, cantidad reclamada y superficie se ajustan a los valores de la web (opciones_filtros) y las fechas a semanas completas: los límites aplicados vienen en filtros_aplicados. Consume 1 búsqueda de la cuota mensual del plan (repetir la misma búsqueda en 60 minutos, también para cambiar de página, es gratis). consultadas: los ids cuya ficha ya consultaste (ver_bien no gasta cuota con ellos).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "q": {
                "type": "string",
                "maxLength": 200,
                "description": "Texto libre (título, descripción, calle, referencias, marca/modelo…)."
              },
              "page": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1
              },
              "orden": {
                "type": "string",
                "description": "fecha_celebracion_asc|desc, fecha_insercion_asc|desc, fecha_actualizacion_asc|desc, valoracion_asc|desc, puja_asc|desc, deposito_asc|desc. Sin orden: relevancia."
              },
              "filtros": {
                "type": "object",
                "properties": {
                  "marca": {
                    "type": "string",
                    "description": "Marca del vehículo como slug (\"renault\", \"mercedes-benz\"); lista en opciones_filtros (marcas). Solo vehículos."
                  },
                  "pujas": {
                    "enum": [
                      "importe",
                      "importe_no_publicado",
                      "secreta",
                      "sin_pujas",
                      "desconocida",
                      "con_pujas"
                    ],
                    "type": "string",
                    "description": "Estado de la puja del bien."
                  },
                  "estado": {
                    "type": "string",
                    "description": "activas, celebrandose, finalizadas, proximas, suspendidas, canceladas, o un slug de estado concreto (activa_con_pujas…). Sin estado, en el MCP: activas y próximas apertura (si el plan las incluye), y en el API REST: todas menos próximas. Para subastas ya celebradas, pon finalizadas."
                  },
                  "comarca": {
                    "type": "string",
                    "description": "Slug de comarca (\"maresme-barcelona\"), de la lista comarcas de listar_municipios. Excluyente con municipio."
                  },
                  "deposito": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Depósito requerido en euros: {min, max}.",
                    "additionalProperties": false
                  },
                  "municipio": {
                    "type": "string",
                    "description": "Nombre exacto del municipio, tal como lo devuelve listar_municipios."
                  },
                  "provincia": {
                    "type": "string",
                    "description": "Slug (\"a-coruna\") o nombre exacto (\"A Coruña\"). Lista en listar_provincias."
                  },
                  "reclamada": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Cantidad reclamada en euros: {min, max}, ambos incluidos. Es la del lote o, si no la hay, la de toda la subasta. Con el filtro quedan fuera los bienes sin cantidad reclamada.",
                    "additionalProperties": false
                  },
                  "tipo_bien": {
                    "type": "string",
                    "description": "Slug del tipo de bien (vivienda, garaje, local-comercial, vehiculo…) o un grupo: inmuebles, muebles, todos. Lista en opciones_filtros."
                  },
                  "superficie": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Superficie en m² según catastro: {min, max} enteros, min incluido y max excluido. Construida; en solares y fincas rústicas, la de la parcela. Solo inmuebles; quedan fuera los bienes sin dato.",
                    "additionalProperties": false
                  },
                  "valoracion": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Valor de subasta en euros: {min, max}; basta uno de los dos.",
                    "additionalProperties": false
                  },
                  "bienes_lote": {
                    "enum": [
                      "uno",
                      "varios"
                    ],
                    "type": "string",
                    "description": "Bienes del lote: uno (lote de un solo bien) o varios."
                  },
                  "clase_subasta": {
                    "type": "integer",
                    "description": "Origen de la subasta: 2 BOE judiciales, 3 notariales, 4 diputaciones, 5 ayuntamientos, 6 consejos comarcales, 7 Seguridad Social, 11 agencias tributarias autonómicas, 12 AEAT, 13 administraciones generales."
                  },
                  "procedimiento": {
                    "type": "integer",
                    "description": "Código de procedimiento (lista en opciones_filtros)."
                  },
                  "fecha_insercion": {
                    "type": "object",
                    "properties": {
                      "desde": {
                        "type": "string"
                      },
                      "hasta": {
                        "type": "string"
                      }
                    },
                    "description": "Fecha de publicación en AlertaSubastas: {desde, hasta}.",
                    "additionalProperties": false
                  },
                  "fecha_celebracion": {
                    "type": "object",
                    "properties": {
                      "desde": {
                        "type": "string"
                      },
                      "hasta": {
                        "type": "string"
                      }
                    },
                    "description": "Fecha de conclusión de la subasta: {desde, hasta} en YYYY-MM-DD.",
                    "additionalProperties": false
                  },
                  "vivienda_habitual": {
                    "enum": [
                      "si",
                      "no",
                      "desconocido"
                    ],
                    "type": "string",
                    "description": "Si el inmueble es la vivienda habitual del deudor según el BOE."
                  },
                  "fecha_actualizacion": {
                    "type": "object",
                    "properties": {
                      "desde": {
                        "type": "string"
                      },
                      "hasta": {
                        "type": "string"
                      }
                    },
                    "description": "Último cambio de estado: {desde, hasta}, YYYY-MM-DD o ISO 8601.",
                    "additionalProperties": false
                  }
                },
                "description": "Filtros estructurados. Todos opcionales."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "page": {
                "type": "integer"
              },
              "aviso": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "total": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "per_page": {
                "type": "integer"
              },
              "resultados": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "fin": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "anyo": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "tipo": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "calle": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "marca": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "pujas": {
                      "type": "string"
                    },
                    "valor": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cargas": {
                      "enum": [
                        "si",
                        "no",
                        "desconocido"
                      ],
                      "type": "string"
                    },
                    "estado": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "modelo": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "origen": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "titulo": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "comarca": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "ocupada": {
                      "enum": [
                        "si",
                        "no",
                        "desconocido"
                      ],
                      "type": "string"
                    },
                    "resumen": {
                      "type": "string"
                    },
                    "deposito": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "fin_fecha": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipio": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "provincia": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reclamada": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "visitable": {
                      "enum": [
                        "si",
                        "no",
                        "desconocido"
                      ],
                      "type": "string"
                    },
                    "aproximado": {
                      "type": "boolean"
                    },
                    "consultada": {
                      "type": "boolean"
                    },
                    "bienes_lote": {
                      "type": "integer"
                    },
                    "procedimiento": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "superficie_m2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "vivienda_habitual": {
                      "enum": [
                        "si",
                        "no",
                        "desconocido"
                      ],
                      "type": "string"
                    },
                    "decada_construccion": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "reclamada_sobre_valor": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  }
                }
              },
              "consultadas": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "cuota_busquedas": {
                "type": "object"
              },
              "filtros_aplicados": {
                "type": "object",
                "description": "Filtros de importe, superficie o fecha que se han ajustado a los valores de la web, con el valor aplicado."
              }
            }
          },
          "annotations": {
            "title": "Buscar subastas",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "ver_bien",
          "title": "Ficha de un bien",
          "description": "Detalle completo de un bien: datos del bien, de su lote y de su subasta (valor, depósito, puja, cargas, situación posesoria, fechas, URL oficial…), los documentos originales (edicto, certificación de cargas, tasación…; el enlace abre la descarga en alertasubastas.com y pide sesión con plan o prueba), subastas similares (ids) y, si la hay, la estimación de valor de mercado (venta y alquiler, de Idealista). En zonas con poca actividad, Idealista no valora el inmueble y valor_mercado trae el precio medio de la zona por la superficie, con aproximado: true y sin rango. La primera consulta de cada bien consume 1 de la cuota mensual de subastas consultadas, repetirla es gratis. Ábrela solo para los bienes que el usuario quiere ver: para elegir, basta el resumen de buscar_bienes. Tras varias fichas nuevas seguidas pide confirmación (error confirmacion_necesaria): pregunta al usuario y, si lo confirma, repite con confirmado: true.",
          "inputSchema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^0x[0-9A-Fa-f]{1,33}$",
                "description": "Id del bien (0x…), de buscar_bienes, ver_lote o listar_favoritas."
              },
              "confirmado": {
                "type": "boolean",
                "description": "true solo si el usuario ha confirmado que quiere abrir más fichas tras un error confirmacion_necesaria."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "ID": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "bien": {
                "type": "object"
              },
              "lote": {
                "type": "object"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "message": {
                "type": "string"
              },
              "resumen": {
                "type": "string"
              },
              "subasta": {
                "type": "object"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "similares": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "finalizada": {
                      "type": "boolean"
                    },
                    "distancia_km": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  }
                }
              },
              "documentos": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "tipo": {
                      "type": "string"
                    },
                    "titulo": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "etiqueta": {
                      "type": "string"
                    }
                  }
                }
              },
              "valor_mercado": {
                "type": [
                  "object",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "Ficha de un bien",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "ver_subasta",
          "title": "Lotes de una subasta",
          "description": "IDs de los lotes de una subasta, en su orden. No consume cuota.",
          "inputSchema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^0x[0-9A-Fa-f]{1,33}$",
                "description": "subasta.ID del detalle de un bien."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "ID": {
                "type": "string"
              },
              "LOTES": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              }
            }
          },
          "annotations": {
            "title": "Lotes de una subasta",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "ver_lote",
          "title": "Bienes de un lote",
          "description": "IDs de los bienes de un lote (se adjudican juntos) y la subasta a la que pertenece. No consume cuota.",
          "inputSchema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^0x[0-9A-Fa-f]{1,33}$",
                "description": "lote.ID del detalle de un bien."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "ID": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "BIENES": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "SUBASTA_ID": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Bienes de un lote",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "buscar_por_codigo",
          "title": "Buscar por referencia",
          "description": "Busca bienes por un identificador: referencia catastral, IDUFIR / CRU, referencia registral, id de subasta del BOE (SUB-…), id de la Seguridad Social o la AEAT, anuncio del BOE, bastidor o matrícula. Devuelve en qué campo coincide (con su valor solo si es exactamente el buscado o la ficha ya está consultada) y la ficha reducida de cada bien en ficha, como buscar_bienes; el detalle, con ver_bien. No consume cuota. Sin cuenta solo devuelve finalizadas y dice cuántas activas hay.",
          "inputSchema": {
            "type": "object",
            "required": [
              "q"
            ],
            "properties": {
              "q": {
                "type": "string",
                "maxLength": 80,
                "minLength": 5,
                "description": "El identificador; espacios, guiones y barras dan igual."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "q": {
                "type": "string"
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "total": {
                "type": "integer"
              },
              "activas": {
                "type": "object"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "resultados": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "campo": {
                      "type": "string"
                    },
                    "ficha": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "valor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "El valor del campo que coincide: solo si es exactamente el buscado o la ficha ya está consultada."
                    },
                    "finalizada": {
                      "type": "boolean"
                    }
                  }
                }
              },
              "consultadas": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "annotations": {
            "title": "Buscar por referencia",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search",
          "title": "Buscar (búsqueda profunda)",
          "description": "Búsqueda de texto libre en subastas para la búsqueda profunda (deep research): devuelve hasta 10 resultados con id, título y URL. El título es la línea resumen de la ficha reducida (sin dirección exacta ni importes exactos). Para buscar con filtros (provincia, tipo, precio…) usa buscar_bienes. Consume 1 búsqueda de la cuota mensual (repetirla en 60 minutos es gratis). Sin cuenta, solo subastas finalizadas.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "query": {
                "type": "string",
                "maxLength": 200,
                "description": "Texto libre: tipo de bien, municipio, calle, referencia…"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "total": {
                "type": "integer"
              },
              "acceso": {
                "type": "string"
              },
              "activas": {
                "type": "object"
              },
              "message": {
                "type": "string"
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    }
                  }
                }
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "consultadas": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "cuota_busquedas": {
                "type": "object"
              }
            }
          },
          "annotations": {
            "title": "Buscar (búsqueda profunda)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "fetch",
          "title": "Ficha completa (búsqueda profunda)",
          "description": "Ficha de un bien en Markdown (bien, lote, subasta, documentos originales, valor de mercado), para la búsqueda profunda. Es la misma ficha que ver_bien: la primera consulta de cada bien consume 1 de la cuota mensual, repetirla es gratis. Abre solo las fichas necesarias; tras varias nuevas seguidas pide confirmación con el usuario (ver_bien con confirmado: true).",
          "inputSchema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^0x[0-9A-Fa-f]{1,33}$",
                "description": "Id del bien (0x…), de search."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "text": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "title": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "metadata": {
                "type": "object"
              }
            }
          },
          "annotations": {
            "title": "Ficha completa (búsqueda profunda)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "listar_provincias",
          "title": "Provincias",
          "description": "Provincias con su slug y nombre exacto, para los filtros. No consume cuota.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "provincias": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "slug": {
                      "type": "string"
                    },
                    "nombre": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Provincias",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "listar_municipios",
          "title": "Municipios y comarcas de una provincia",
          "description": "Municipios con subastas de una provincia (el nombre es el valor exacto del filtro municipio) y sus comarcas (slug para el filtro comarca). Con q, busca un lugar escrito libremente (municipio, pedanía o comarca, admite erratas) entre todos los de la provincia y devuelve hasta 5 resultados; unica=1 si hay uno claro. No consume cuota.",
          "inputSchema": {
            "type": "object",
            "required": [
              "provincia"
            ],
            "properties": {
              "q": {
                "type": "string",
                "description": "Lugar a buscar (por ejemplo \"Valldoreix\" o \"Sant Cugat\")."
              },
              "provincia": {
                "type": "string",
                "description": "Slug o nombre de la provincia."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "unica": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "comarcas": {
                "type": "array"
              },
              "provincia": {
                "type": "object"
              },
              "municipios": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "slug": {
                      "type": "string"
                    },
                    "nombre": {
                      "type": "string"
                    }
                  }
                }
              },
              "resultados": {
                "type": "array"
              }
            }
          },
          "annotations": {
            "title": "Municipios y comarcas de una provincia",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "opciones_filtros",
          "title": "Valores de los filtros",
          "description": "Valores admitidos por los filtros (tipos de bien y sus grupos, clases de subasta, procedimientos, estados, pujas, vivienda habitual, bienes en el lote, marcas, órdenes) y los valores de la web para valor, depósito, superficie y cantidad reclamada: úsalos en los rangos, porque el servidor ajusta cualquier otro al valor de la lista más cercano hacia fuera. No consume cuota.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "orden": {
                "type": "array"
              },
              "pujas": {
                "type": "array"
              },
              "estado": {
                "type": "array"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "deposito": {
                "type": "object"
              },
              "tipo_bien": {
                "type": "array"
              },
              "valoracion": {
                "type": "object"
              },
              "clase_subasta": {
                "type": "array"
              },
              "procedimiento": {
                "type": "array"
              }
            }
          },
          "annotations": {
            "title": "Valores de los filtros",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "explicar_concepto",
          "title": "Explicar un concepto",
          "description": "Los 3 artículos de la ayuda de AlertaSubastas que mejor explican una duda sobre subastas públicas o sobre el servicio (depósito, cargas, cesión de remate, posesión, tipos de subasta, pujas, alertas, planes…), con su texto y su URL para citarla. Acepta la pregunta en lenguaje natural. No consume cuota y funciona sin cuenta.",
          "inputSchema": {
            "type": "object",
            "required": [
              "q"
            ],
            "properties": {
              "q": {
                "type": "string",
                "maxLength": 200,
                "minLength": 2,
                "description": "El concepto o la pregunta."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "q": {
                "type": "string"
              },
              "nota": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "articulos": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    },
                    "url": {
                      "type": "string"
                    },
                    "texto": {
                      "type": "string"
                    },
                    "titulo": {
                      "type": "string"
                    },
                    "recurso": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Explicar un concepto",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "consumo",
          "title": "Consumo del mes",
          "description": "Plan, búsquedas, subastas consultadas y subastas finalizadas consultadas este mes con su cuota.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "plan": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "bienes": {
                "type": "object"
              },
              "message": {
                "type": "string"
              },
              "periodo": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "busquedas": {
                "type": "object"
              },
              "rate_limit": {
                "type": "object"
              },
              "finalizadas": {
                "type": "object"
              },
              "suscripcion": {
                "type": "object"
              }
            }
          },
          "annotations": {
            "title": "Consumo del mes",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "mi_cuenta",
          "title": "Mi cuenta",
          "description": "Plan de la cuenta, cupos del mes usados y disponibles (búsquedas, subastas consultadas, subastas finalizadas consultadas, alertas que se pueden crear y favoritas que se pueden guardar), rate limits y enlaces a precios y a la cuenta. Úsala antes de una tarea larga para saber cuánto queda. No consume cuota.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "plan": {
                "type": "object"
              },
              "urls": {
                "type": "object"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "alertas": {
                "type": "object"
              },
              "message": {
                "type": "string"
              },
              "periodo": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "busquedas": {
                "type": "object"
              },
              "favoritas": {
                "type": "object"
              },
              "rate_limit": {
                "type": "object"
              },
              "subastas_consultadas": {
                "type": "object"
              },
              "subastas_finalizadas_consultadas": {
                "type": "object"
              }
            }
          },
          "annotations": {
            "title": "Mi cuenta",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "listar_alertas",
          "title": "Mis alertas",
          "description": "Alertas de la cuenta, con el límite del plan y las altas del mes.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "limite": {
                "type": "integer"
              },
              "usadas": {
                "type": "integer"
              },
              "alertas": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "envio": {
                      "type": "string"
                    },
                    "activa": {
                      "type": "boolean"
                    },
                    "creada": {
                      "type": "string"
                    },
                    "titulo": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "filtros": {
                      "type": "object"
                    },
                    "nacional": {
                      "type": "boolean"
                    }
                  }
                }
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "altas_mes": {
                "type": "object"
              }
            }
          },
          "annotations": {
            "title": "Mis alertas",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "ver_alerta",
          "title": "Ver una alerta",
          "description": "Una alerta de la cuenta.",
          "inputSchema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^0x[0-9A-Fa-f]{1,33}$",
                "description": "Id de la alerta."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "envio": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "activa": {
                "type": "boolean"
              },
              "creada": {
                "type": "string"
              },
              "titulo": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "filtros": {
                "type": "object"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "nacional": {
                "type": "boolean"
              }
            }
          },
          "annotations": {
            "title": "Ver una alerta",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "alertas_previsualizar",
          "title": "Previsualizar una alerta",
          "description": "Antes de crear_alerta: cuántas subastas activas coinciden ahora con esos filtros y una muestra de hasta 5 ids (las más recientes), para ajustar filtros demasiado estrechos o amplios. Mismos filtros y reglas de plan que crear_alerta. No crea nada ni consume cuota.",
          "inputSchema": {
            "type": "object",
            "required": [
              "filtros"
            ],
            "properties": {
              "filtros": {
                "type": "object",
                "required": [
                  "tipo_bien"
                ],
                "properties": {
                  "marca": {
                    "type": "string",
                    "description": "Marca del vehículo como slug (\"renault\", \"mercedes-benz\"); lista en opciones_filtros (marcas). Solo vehículos."
                  },
                  "comarca": {
                    "type": "string",
                    "description": "Slug de comarca (\"maresme-barcelona\"), de la lista comarcas de listar_municipios. Excluyente con municipio."
                  },
                  "deposito": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Depósito requerido en euros: {min, max}.",
                    "additionalProperties": false
                  },
                  "municipio": {
                    "type": "string",
                    "description": "Nombre exacto del municipio, tal como lo devuelve listar_municipios."
                  },
                  "provincia": {
                    "type": "string",
                    "description": "Slug (\"a-coruna\") o nombre exacto (\"A Coruña\"). Lista en listar_provincias."
                  },
                  "reclamada": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Cantidad reclamada en euros: {min, max}, ambos incluidos. Es la del lote o, si no la hay, la de toda la subasta. Con el filtro quedan fuera los bienes sin cantidad reclamada.",
                    "additionalProperties": false
                  },
                  "tipo_bien": {
                    "type": "string",
                    "description": "Obligatorio. Slug de opciones_filtros o un grupo: inmuebles, muebles, todos (los grupos requieren un plan que lo incluya)."
                  },
                  "superficie": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Superficie en m² según catastro: {min, max} enteros, min incluido y max excluido. Construida; en solares y fincas rústicas, la de la parcela. Solo inmuebles; quedan fuera los bienes sin dato.",
                    "additionalProperties": false
                  },
                  "valoracion": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Valor de subasta en euros: {min, max}; basta uno de los dos.",
                    "additionalProperties": false
                  },
                  "bienes_lote": {
                    "enum": [
                      "uno",
                      "varios"
                    ],
                    "type": "string",
                    "description": "Bienes del lote: uno (lote de un solo bien) o varios."
                  },
                  "clase_subasta": {
                    "type": "integer",
                    "description": "Origen de la subasta: 2 BOE judiciales, 3 notariales, 4 diputaciones, 5 ayuntamientos, 6 consejos comarcales, 7 Seguridad Social, 11 agencias tributarias autonómicas, 12 AEAT, 13 administraciones generales."
                  },
                  "procedimiento": {
                    "type": "integer",
                    "description": "Código de procedimiento (lista en opciones_filtros)."
                  },
                  "texto_excluye": {
                    "type": "string",
                    "maxLength": 255,
                    "description": "Palabras que no debe contener el bien."
                  },
                  "texto_incluye": {
                    "type": "string",
                    "maxLength": 255,
                    "description": "Palabras que debe contener el bien."
                  },
                  "vivienda_habitual": {
                    "enum": [
                      "si",
                      "no",
                      "desconocido"
                    ],
                    "type": "string",
                    "description": "Si el inmueble es la vivienda habitual del deudor según el BOE."
                  }
                },
                "description": "Filtros de la alerta. Sin provincia la alerta es nacional (requiere un plan que lo incluya)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "nota": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "activas": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              },
              "muestra": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "filtros_aplicados": {
                "type": "object"
              }
            }
          },
          "annotations": {
            "title": "Previsualizar una alerta",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "crear_alerta",
          "title": "Crear una alerta",
          "description": "Crea una alerta: los bienes nuevos que cumplan los filtros llegan por email. Aplica los límites del plan (número de alertas, altas al mes, alertas nacionales o por grupo de tipo de bien). Los filtros no se pueden editar después: para cambiarlos, borra y crea otra.",
          "inputSchema": {
            "type": "object",
            "required": [
              "filtros"
            ],
            "properties": {
              "envio": {
                "enum": [
                  "agrupado",
                  "individual",
                  "sin_email"
                ],
                "type": "string",
                "description": "agrupado (por defecto), individual (no en alertas nacionales) o sin_email (solo avisos en la web)."
              },
              "titulo": {
                "type": "string",
                "description": "Nombre de la alerta (opcional)."
              },
              "filtros": {
                "type": "object",
                "required": [
                  "tipo_bien"
                ],
                "properties": {
                  "marca": {
                    "type": "string",
                    "description": "Marca del vehículo como slug (\"renault\", \"mercedes-benz\"); lista en opciones_filtros (marcas). Solo vehículos."
                  },
                  "comarca": {
                    "type": "string",
                    "description": "Slug de comarca (\"maresme-barcelona\"), de la lista comarcas de listar_municipios. Excluyente con municipio."
                  },
                  "deposito": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Depósito requerido en euros: {min, max}.",
                    "additionalProperties": false
                  },
                  "municipio": {
                    "type": "string",
                    "description": "Nombre exacto del municipio, tal como lo devuelve listar_municipios."
                  },
                  "provincia": {
                    "type": "string",
                    "description": "Slug (\"a-coruna\") o nombre exacto (\"A Coruña\"). Lista en listar_provincias."
                  },
                  "reclamada": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Cantidad reclamada en euros: {min, max}, ambos incluidos. Es la del lote o, si no la hay, la de toda la subasta. Con el filtro quedan fuera los bienes sin cantidad reclamada.",
                    "additionalProperties": false
                  },
                  "tipo_bien": {
                    "type": "string",
                    "description": "Obligatorio. Slug de opciones_filtros o un grupo: inmuebles, muebles, todos (los grupos requieren un plan que lo incluya)."
                  },
                  "superficie": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Superficie en m² según catastro: {min, max} enteros, min incluido y max excluido. Construida; en solares y fincas rústicas, la de la parcela. Solo inmuebles; quedan fuera los bienes sin dato.",
                    "additionalProperties": false
                  },
                  "valoracion": {
                    "type": "object",
                    "properties": {
                      "max": {
                        "type": "number"
                      },
                      "min": {
                        "type": "number"
                      }
                    },
                    "description": "Valor de subasta en euros: {min, max}; basta uno de los dos.",
                    "additionalProperties": false
                  },
                  "bienes_lote": {
                    "enum": [
                      "uno",
                      "varios"
                    ],
                    "type": "string",
                    "description": "Bienes del lote: uno (lote de un solo bien) o varios."
                  },
                  "clase_subasta": {
                    "type": "integer",
                    "description": "Origen de la subasta: 2 BOE judiciales, 3 notariales, 4 diputaciones, 5 ayuntamientos, 6 consejos comarcales, 7 Seguridad Social, 11 agencias tributarias autonómicas, 12 AEAT, 13 administraciones generales."
                  },
                  "procedimiento": {
                    "type": "integer",
                    "description": "Código de procedimiento (lista en opciones_filtros)."
                  },
                  "texto_excluye": {
                    "type": "string",
                    "maxLength": 255,
                    "description": "Palabras que no debe contener el bien."
                  },
                  "texto_incluye": {
                    "type": "string",
                    "maxLength": 255,
                    "description": "Palabras que debe contener el bien."
                  },
                  "vivienda_habitual": {
                    "enum": [
                      "si",
                      "no",
                      "desconocido"
                    ],
                    "type": "string",
                    "description": "Si el inmueble es la vivienda habitual del deudor según el BOE."
                  }
                },
                "description": "Filtros de la alerta. Sin provincia la alerta es nacional (requiere un plan que lo incluya)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "envio": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "activa": {
                "type": "boolean"
              },
              "creada": {
                "type": "string"
              },
              "titulo": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "filtros": {
                "type": "object"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "nacional": {
                "type": "boolean"
              }
            }
          },
          "annotations": {
            "title": "Crear una alerta",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "borrar_alerta",
          "title": "Borrar una alerta",
          "description": "Borra una alerta. No devuelve el hueco de altas del mes.",
          "inputSchema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^0x[0-9A-Fa-f]{1,33}$",
                "description": "Id de la alerta."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              }
            }
          },
          "annotations": {
            "title": "Borrar una alerta",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "pausar_alerta",
          "title": "Pausar una alerta",
          "description": "Deja de enviar los avisos de una alerta sin borrarla.",
          "inputSchema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^0x[0-9A-Fa-f]{1,33}$",
                "description": "Id de la alerta."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "envio": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "activa": {
                "type": "boolean"
              },
              "creada": {
                "type": "string"
              },
              "titulo": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "filtros": {
                "type": "object"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "nacional": {
                "type": "boolean"
              }
            }
          },
          "annotations": {
            "title": "Pausar una alerta",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "reactivar_alerta",
          "title": "Reactivar una alerta",
          "description": "Vuelve a enviar los avisos de una alerta pausada (revalida los límites del plan).",
          "inputSchema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^0x[0-9A-Fa-f]{1,33}$",
                "description": "Id de la alerta."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "envio": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "activa": {
                "type": "boolean"
              },
              "creada": {
                "type": "string"
              },
              "titulo": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "filtros": {
                "type": "object"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "nacional": {
                "type": "boolean"
              }
            }
          },
          "annotations": {
            "title": "Reactivar una alerta",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "renombrar_alerta",
          "title": "Renombrar una alerta",
          "description": "Cambia el título de una alerta; vacío o null lo borra.",
          "inputSchema": {
            "type": "object",
            "required": [
              "id",
              "titulo"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^0x[0-9A-Fa-f]{1,33}$",
                "description": "Id de la alerta."
              },
              "titulo": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "envio": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "activa": {
                "type": "boolean"
              },
              "creada": {
                "type": "string"
              },
              "titulo": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "filtros": {
                "type": "object"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "nacional": {
                "type": "boolean"
              }
            }
          },
          "annotations": {
            "title": "Renombrar una alerta",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "listar_favoritas",
          "title": "Mis favoritas",
          "description": "Favoritas de la cuenta, paginadas: id del bien, URL, comentario, estado de seguimiento (estado) y la ficha reducida del bien (ficha: resumen, ubicación sin número, importes redondeados, señales, estado de la subasta, plazo y consultada). El detalle, con ver_bien, que gasta 1 de la cuota por ficha nueva. Si el bien ya no está publicado, ficha y url son null. No consume cuota.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1
              },
              "estado": {
                "enum": [
                  "nueva",
                  "en_revision",
                  "interesante",
                  "preparando_puja",
                  "pujando",
                  "adjudicada",
                  "finalizada",
                  "descartada"
                ],
                "type": "string",
                "description": "Estado de seguimiento de la favorita."
              },
              "offset": {
                "type": "integer",
                "minimum": 0
              },
              "subasta": {
                "enum": [
                  "activas",
                  "proximas",
                  "finalizadas"
                ],
                "type": "string",
                "description": "Solo las favoritas cuya subasta está en ese grupo, como las pestañas de Tus favoritas."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "limit": {
                "type": "integer"
              },
              "total": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "favoritas": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "bien": {
                      "type": "string"
                    },
                    "ficha": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "creada": {
                      "type": "string"
                    },
                    "estado": {
                      "type": "string"
                    },
                    "comentario": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Mis favoritas",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "anadir_favorita",
          "title": "Guardar en favoritas",
          "description": "Guarda un bien en favoritas. Cuenta en el límite mensual de altas de favoritas del plan; si ya era favorita no cuenta.",
          "inputSchema": {
            "type": "object",
            "required": [
              "bien"
            ],
            "properties": {
              "bien": {
                "type": "string",
                "description": "Id del bien (0x…) o su URL de alertasubastas.com."
              },
              "comentario": {
                "type": "string",
                "maxLength": 2048
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string"
              },
              "bien": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "ficha": {
                "type": [
                  "object",
                  "null"
                ]
              },
              "creada": {
                "type": "string"
              },
              "estado": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "comentario": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "Guardar en favoritas",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "quitar_favorita",
          "title": "Quitar de favoritas",
          "description": "Quita un bien de favoritas. No devuelve el hueco del límite mensual.",
          "inputSchema": {
            "type": "object",
            "required": [
              "bien"
            ],
            "properties": {
              "bien": {
                "type": "string",
                "description": "Id del bien (0x…) o su URL de alertasubastas.com."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              }
            }
          },
          "annotations": {
            "title": "Quitar de favoritas",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "comentar_favorita",
          "title": "Comentar una favorita",
          "description": "Fija el comentario de una favorita; vacío o null lo borra.",
          "inputSchema": {
            "type": "object",
            "required": [
              "bien",
              "comentario"
            ],
            "properties": {
              "bien": {
                "type": "string",
                "description": "Id del bien (0x…) o su URL de alertasubastas.com."
              },
              "comentario": {
                "type": [
                  "string",
                  "null"
                ],
                "maxLength": 2048
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string"
              },
              "bien": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "ficha": {
                "type": [
                  "object",
                  "null"
                ]
              },
              "creada": {
                "type": "string"
              },
              "estado": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "comentario": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "Comentar una favorita",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "estado_favorita",
          "title": "Estado de una favorita",
          "description": "Cambia el estado de seguimiento de una favorita.",
          "inputSchema": {
            "type": "object",
            "required": [
              "bien",
              "estado"
            ],
            "properties": {
              "bien": {
                "type": "string",
                "description": "Id del bien (0x…) o su URL de alertasubastas.com."
              },
              "estado": {
                "enum": [
                  "nueva",
                  "en_revision",
                  "interesante",
                  "preparando_puja",
                  "pujando",
                  "adjudicada",
                  "finalizada",
                  "descartada"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string"
              },
              "bien": {
                "type": "string"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "ficha": {
                "type": [
                  "object",
                  "null"
                ]
              },
              "creada": {
                "type": "string"
              },
              "estado": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "comentario": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "annotations": {
            "title": "Estado de una favorita",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "listar_notificaciones",
          "title": "Mis notificaciones",
          "description": "Notificaciones de la cuenta: los bienes que encajaron con una alerta del usuario y se le enviaron por email. De cada una: id, id y URL del bien, alerta que la generó, fechas, si está revisada y la ficha reducida del bien (ficha: resumen, ubicación sin número, importes redondeados, señales, estado de la subasta, plazo y consultada). Para el detalle, ver_bien, que gasta 1 de la cuota mensual por ficha nueva: enseña la lista y pregunta al usuario qué fichas quiere abrir, no las abras en bloque. Si el bien ya no está publicado, url y ficha son null. total (con los filtros, sin contar revision) y pendientes son exactos; para seguir, page. Se pueden recorrer los primeros 10.000 resultados: si hay más, acota por fechas, alerta u otro filtro. No consume cuota. Requiere un plan con notificaciones.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "minimum": 1
              },
              "desde": {
                "type": "string",
                "description": "Publicadas desde esta fecha (YYYY-MM-DD), incluida."
              },
              "hasta": {
                "type": "string",
                "description": "Publicadas hasta esta fecha (YYYY-MM-DD), incluida."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1
              },
              "orden": {
                "enum": [
                  "envio_desc",
                  "envio_asc",
                  "fecha_celebracion_asc",
                  "fecha_celebracion_desc",
                  "fecha_insercion_desc",
                  "fecha_insercion_asc",
                  "valoracion_asc",
                  "valoracion_desc"
                ],
                "type": "string",
                "description": "envio_desc (por defecto): la notificación más reciente primero. Los demás ordenan por la fecha de fin, la fecha de publicación de la subasta o el valor."
              },
              "alerta": {
                "type": "string",
                "pattern": "^0x[0-9A-Fa-f]{1,33}$",
                "description": "Solo las de esta alerta (id de listar_alertas)."
              },
              "subasta": {
                "enum": [
                  "activas",
                  "proximas",
                  "finalizadas"
                ],
                "type": "string",
                "description": "Solo las notificaciones cuya subasta está en ese grupo."
              },
              "revision": {
                "enum": [
                  "pendientes",
                  "revisadas"
                ],
                "type": "string",
                "description": "Solo las pendientes de revisar o solo las revisadas. Sin el parámetro, todas."
              },
              "municipio": {
                "type": "string",
                "description": "Nombre exacto del municipio, tal como lo devuelve listar_municipios. Necesita provincia."
              },
              "provincia": {
                "type": "string",
                "description": "Slug (\"a-coruna\") o nombre exacto (\"A Coruña\"). Lista en listar_provincias."
              },
              "tipo_bien": {
                "type": "string",
                "description": "Slug del tipo de bien (vivienda, garaje, local-comercial, vehiculo…) o un grupo: inmuebles, muebles, todos. Lista en opciones_filtros."
              },
              "clase_subasta": {
                "type": "integer",
                "description": "Origen de la subasta: 2 BOE judiciales, 3 notariales, 4 diputaciones, 5 ayuntamientos, 6 consejos comarcales, 7 Seguridad Social, 11 agencias tributarias autonómicas, 12 AEAT, 13 administraciones generales."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "limit": {
                "type": "integer"
              },
              "total": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "pendientes": {
                "type": "integer"
              },
              "notificaciones": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "bien": {
                      "type": "string"
                    },
                    "ficha": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "alerta": {
                      "type": "string"
                    },
                    "enviada": {
                      "type": "string"
                    },
                    "revisada": {
                      "type": "boolean"
                    },
                    "publicada": {
                      "type": "string"
                    },
                    "fecha_revision": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              }
            }
          },
          "annotations": {
            "title": "Mis notificaciones",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "marcar_notificaciones",
          "title": "Cambiar el estado de notificaciones",
          "description": "Marca notificaciones como revisadas o como pendientes: por sus ids (los de listar_notificaciones, no los del bien; hasta 1.000) o todas las que cumplen unos filtros (hasta 5.000 por llamada; si quedan, repite la llamada). Úsala solo si el usuario lo pide. Por filtros, dile antes cuántas son (total o pendientes de listar_notificaciones con esos filtros) y que lo confirme. Pasar a pendiente borra la marca de apertura del email. Repetirla no cambia nada. No consume cuota.",
          "inputSchema": {
            "type": "object",
            "required": [
              "estado"
            ],
            "properties": {
              "ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^0x[0-9A-Fa-f]{1,33}$"
                },
                "maxItems": 1000,
                "minItems": 1,
                "description": "Ids de las notificaciones. O esto o filtros."
              },
              "estado": {
                "enum": [
                  "revisada",
                  "pendiente"
                ],
                "type": "string"
              },
              "filtros": {
                "type": "object",
                "properties": {
                  "desde": {
                    "type": "string"
                  },
                  "hasta": {
                    "type": "string"
                  },
                  "alerta": {
                    "type": "string",
                    "pattern": "^0x[0-9A-Fa-f]{1,33}$"
                  },
                  "subasta": {
                    "enum": [
                      "activas",
                      "proximas",
                      "finalizadas"
                    ],
                    "type": "string"
                  },
                  "municipio": {
                    "type": "string"
                  },
                  "provincia": {
                    "type": "string"
                  },
                  "tipo_bien": {
                    "type": "string"
                  },
                  "clase_subasta": {
                    "type": "integer"
                  }
                },
                "description": "Los filtros de listar_notificaciones (sin revision, orden, limit ni page: el estado pedido decide cuáles cambian). {} son todas las notificaciones de la cuenta.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "estado": {
                "type": "string"
              },
              "quedan": {
                "type": "integer"
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              },
              "cambiadas": {
                "type": "integer"
              },
              "sin_cambio": {
                "type": "integer"
              },
              "no_encontradas": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "annotations": {
            "title": "Cambiar el estado de notificaciones",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "enviar_sugerencia",
          "title": "Enviar una sugerencia",
          "description": "Envía al equipo de AlertaSubastas una mejora que propone el usuario, un error que ha visto o un dato o una función que echa en falta; nos llega por email. Úsala solo cuando el usuario lo pida o acepte que la envíes, y enséñale antes el texto. Máximo 3 por hora y 10 al día. No consume cuota.",
          "inputSchema": {
            "type": "object",
            "required": [
              "tipo",
              "texto"
            ],
            "properties": {
              "tipo": {
                "enum": [
                  "mejora",
                  "error",
                  "falta_dato"
                ],
                "type": "string",
                "description": "mejora (propuesta), error (algo que no funciona o un dato equivocado) o falta_dato (un dato, filtro o función que no tenemos)."
              },
              "texto": {
                "type": "string",
                "maxLength": 2000,
                "minLength": 3,
                "description": "Lo que quiere decirnos el usuario, con sus palabras."
              },
              "contexto": {
                "type": "string",
                "maxLength": 500,
                "description": "Opcional: qué estaba haciendo (búsqueda, filtros, id del bien…), para entenderla."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "ok": {
                "type": "boolean"
              },
              "error": {
                "type": "string",
                "description": "Código de error del API, si la llamada falla."
              },
              "message": {
                "type": "string"
              },
              "_limites": {
                "type": "object",
                "description": "Cupos y rate limit restantes tras la llamada."
              }
            }
          },
          "annotations": {
            "title": "Enviar una sugerencia",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "conceptos",
          "uri": "alertasubastas://conceptos",
          "mimeType": "text/markdown",
          "description": "Índice del glosario: depósito, cargas, cesión de remate, lanzamiento, tipos de subasta, pujas… Cada entrada se lee en alertasubastas://ayuda/{id}."
        },
        {
          "name": "filtros",
          "uri": "alertasubastas://filtros",
          "mimeType": "application/json",
          "description": "Tipos de bien y sus grupos, clases de subasta, procedimientos, estados, pujas, vivienda habitual, bienes en el lote, tramos de superficie y de cantidad reclamada, marcas y órdenes admitidos por buscar_bienes y crear_alerta."
        },
        {
          "name": "provincias",
          "uri": "alertasubastas://provincias",
          "mimeType": "application/json",
          "description": "Provincias con su slug y nombre exacto, para los filtros."
        }
      ],
      "prompts": [
        {
          "name": "compara-subastas",
          "description": "De 2 a 5 subastas lado a lado: valor, puja, depósito, cargas, ocupantes, valor de mercado y fechas, con las diferencias que más pesan.",
          "arguments": [
            {
              "name": "subastas",
              "required": true,
              "description": "Las subastas a comparar, de 2 a 5: enlaces de alertasubastas.com, ids (0x…), códigos del BOE (SUB-…) o referencias catastrales, separados por comas."
            }
          ]
        },
        {
          "name": "crea-alerta",
          "description": "Alerta por email de nuevas subastas a partir de una descripción libre: zona, tipo de bien, precio, origen, depósito, texto…",
          "arguments": [
            {
              "name": "descripcion",
              "required": true,
              "description": "Qué quieres vigilar, en lenguaje natural. Ej.: «pisos en el Maresme de 100.000 a 200.000 €, que no sean notariales»"
            }
          ]
        }
      ]
    },
    "instructions": "Subastas públicas de España (BOE judiciales, notariales, Seguridad Social, AEAT, ayuntamientos…). Las listas (buscar_bienes, buscar_por_codigo, listar_notificaciones, listar_favoritas) traen gratis una ficha reducida de cada bien con una línea resumen: ubicación sin número, importes y superficie redondeados (~), señales (ocupada, vivienda habitual, cargas, visitable) y el plazo aproximado del fin. Úsala para comparar y ayudar a elegir; lo exacto (dirección, referencias, autoridad, fechas, importes, URL oficial y documentos) está en ver_bien, cuya primera consulta de cada bien gasta 1 de la cuota mensual. No abras las fichas de todos los resultados: enseña la lista y pregunta al usuario cuáles quiere ver; si hay muchos más resultados que fichas disponibles, propón acotar la búsqueda. Los valores exactos de los filtros salen de listar_provincias, listar_municipios y opciones_filtros. Con la cuenta conectada (en prueba gratuita o con un plan en vigor) o con una key valen todas, con los cupos mensuales del plan (mi_cuenta los da). Sin cuenta, o con una cuenta sin plan, también se puede buscar: buscar_bienes dice cuántas subastas activas coinciden, pero solo se ven las finalizadas, con límites diarios; sin cuenta, las tools de cuenta y las subastas activas piden conectar la cuenta. buscar_por_codigo encuentra un bien por referencia catastral, IDUFIR/CRU o id del BOE. listar_notificaciones da los bienes que las alertas del usuario ya le han enviado, con filtros; marcar_notificaciones solo si el usuario lo pide. Para dudas de conceptos (depósito, cargas, cesión de remate…) usa explicar_concepto o lee el recurso alertasubastas://conceptos; antes de crear_alerta, alertas_previsualizar dice cuántas subastas activas coinciden. Los valores de los filtros están también en alertasubastas://filtros."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}