{
  "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": "mcp.subastech.com",
    "site": "subastech.com",
    "addresses": [
      {
        "address": "194.54.147.203",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 61401,
          "name": "neutralia - Neutralia Operador Global S.L.U.",
          "prefix": "194.54.147.0/24",
          "country": "ES"
        }
      },
      {
        "address": "2a12:c840:abcd::203",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 61401,
          "name": "neutralia - Neutralia Operador Global S.L.U.",
          "prefix": "2a12:c840::/29",
          "country": "ES"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "194.54.147.203",
          "2a12:c840:abcd::203"
        ],
        "first_seen": "2026-11-22T16:35:04.029Z",
        "last_seen": "2026-11-23T16:36:13.971Z",
        "checks": 2
      }
    ],
    "hosting": [],
    "software": [
      {
        "value": "nginx",
        "evidence": "Server header \"nginx\""
      }
    ],
    "server_info": {
      "name": "subastech",
      "version": "1.0.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "nginx",
      "strict-transport-security": "max-age=63072000; includeSubDomains",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.subastech",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "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": "16425",
    "server_name": "com.subastech/subastas-judiciales",
    "url": "https://mcp.subastech.com/mcp",
    "host": "mcp.subastech.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T16:36:13.971Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "2343f0fc3870942896b981f5c2d58dda7d4dba263dfdd237fa4917aec364f7ac",
    "first_listed_at": "2026-11-21T11:13:00.733Z",
    "created_at": "2026-11-21T06:50:07.423Z",
    "resolved_addresses": [
      "194.54.147.203",
      "2a12:c840:abcd::203"
    ]
  },
  "server": {
    "name": "com.subastech/subastas-judiciales",
    "title": "Subastech — subastas judiciales de inmuebles (BOE)",
    "description": "Subastas judiciales de inmuebles en España: busca en los datos del BOE y analiza cada bien.",
    "version": "1.0.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://app.subastech.com/agentes",
    "published_at": "2026-09-06T12:16:51.516Z",
    "updated_at": "2026-09-06T12:16:51.516Z",
    "first_seen": "2026-11-21T06:50:06.811Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:22:07.191Z"
  },
  "operator": {
    "key": "subastech.com",
    "name": "subastech.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1116,
    "first_check_in_window": "2026-11-21T11:13:00.733Z",
    "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": "2343f0fc3870942896b981f5c2d58dda7d4dba263dfdd237fa4917aec364f7ac",
    "tools": 27,
    "resources": 55,
    "prompts": 3,
    "first_seen": "2026-11-21T11:13:01.834Z",
    "tool_names": [
      "buscar_subastas",
      "subasta",
      "buscar_por_codigo",
      "resultados_recientes",
      "estadisticas_publicas",
      "explicar_concepto",
      "planes",
      "search",
      "fetch",
      "analisis_subasta",
      "informe",
      "similares",
      "recomendaciones",
      "mercado",
      "alertas_listar",
      "alertas_previsualizar",
      "alertas_crear",
      "alertas_editar",
      "alertas_eliminar",
      "alertas_activar",
      "favoritos_listar",
      "favoritos_anadir",
      "favoritos_quitar",
      "mi_cuenta",
      "notas_simples_listar",
      "nota_simple_estado",
      "nota_simple_pedir"
    ],
    "declared": {
      "tools": [
        {
          "name": "buscar_subastas",
          "title": "Buscar subastas",
          "description": "Busca subastas judiciales de inmuebles del BOE por provincia, municipio, tipo, precio, superficie, texto libre, zona (bbox o radio) y estado. Pública, sin cuenta: devuelve datos oficiales del BOE y la URL de cada ficha. El scoring, veredicto, cargas, ROI, valoración e intervinientes requieren cuenta y plan Pro o superior; si algo está cerrado se devuelve `locked` con `upgradeUrl`. Sin plan con scoring, `orden: score` pasa a `recent` y `solo_viables` se ignora (campo `degradado`). Máximo 20 por página (`por_pagina`, o su alias `limite`); no acepta parámetros que no estén declarados.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "bbox": {
                "type": "object",
                "required": [
                  "oeste",
                  "sur",
                  "este",
                  "norte"
                ],
                "properties": {
                  "sur": {
                    "type": "number"
                  },
                  "este": {
                    "type": "number"
                  },
                  "norte": {
                    "type": "number"
                  },
                  "oeste": {
                    "type": "number"
                  }
                },
                "description": "Zona rectangular en grados (lon/lat)",
                "additionalProperties": false
              },
              "tipo": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 60,
                  "minLength": 1
                },
                "maxItems": 10,
                "description": "Tipos de inmueble, valores EXACTOS de `estadisticas_publicas.tipos` (p. ej. `Vivienda`, `Garaje`)"
              },
              "cerca": {
                "type": "object",
                "required": [
                  "lat",
                  "lon",
                  "km"
                ],
                "properties": {
                  "km": {
                    "type": "number",
                    "maximum": 50,
                    "exclusiveMinimum": 0
                  },
                  "lat": {
                    "type": "number",
                    "maximum": 90,
                    "minimum": -90
                  },
                  "lon": {
                    "type": "number",
                    "maximum": 180,
                    "minimum": -180
                  }
                },
                "description": "Radio alrededor de un punto (máximo 50 km)",
                "additionalProperties": false
              },
              "orden": {
                "enum": [
                  "recent",
                  "ending",
                  "discount",
                  "price",
                  "score"
                ],
                "type": "string",
                "description": "`recent` (por defecto), `ending`, `discount`, `price`; `score` solo con plan Pro (si no, pasa a `recent`)"
              },
              "texto": {
                "type": "string",
                "maxLength": 120,
                "description": "Texto libre (calle, barrio, juzgado…), máximo 120 caracteres"
              },
              "estado": {
                "enum": [
                  "activas",
                  "todas",
                  "adjudicadas",
                  "desiertas"
                ],
                "type": "string",
                "description": "`activas` (por defecto), `todas`, `adjudicadas` o `desiertas`"
              },
              "limite": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "Alias de `por_pagina` (número de resultados por página). Si indicas los dos, manda `por_pagina`."
              },
              "pagina": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1,
                "description": "Página (≥1; máximo 25 sin cuenta, 50 con cuenta)"
              },
              "area_max": {
                "type": "number",
                "minimum": 0,
                "description": "Superficie construida máxima (m²)"
              },
              "area_min": {
                "type": "number",
                "minimum": 0,
                "description": "Superficie construida mínima (m²)"
              },
              "municipio": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z0-9-]+:[a-z0-9-]+$",
                  "description": "Clave `provincia:municipio` (de `estadisticas_publicas`)"
                },
                "maxItems": 20,
                "description": "Claves `provincia:municipio` (de `estadisticas_publicas` con `municipio_q`)"
              },
              "provincia": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z0-9-]{1,80}$",
                  "description": "Slug en minúsculas (p. ej. `madrid`)"
                },
                "maxItems": 10,
                "description": "Slugs de provincia (p. ej. [`madrid`, `barcelona`]); ver `estadisticas_publicas`"
              },
              "por_pagina": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "Resultados por página (1..20)"
              },
              "precio_max": {
                "type": "number",
                "minimum": 0,
                "description": "Valor de subasta máximo (euros)"
              },
              "precio_min": {
                "type": "number",
                "minimum": 0,
                "description": "Valor de subasta mínimo (euros)"
              },
              "solo_viables": {
                "type": "boolean",
                "description": "Ocultar las no recomendables: solo con plan Pro (si no, se ignora)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "items",
              "pagina",
              "por_pagina",
              "total",
              "paginas",
              "hasMore"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "isNew",
                    "title",
                    "address",
                    "municipio",
                    "provincia",
                    "cp",
                    "ref",
                    "provinceSlug",
                    "municipalitySlug",
                    "end",
                    "contentUpdatedAt",
                    "daysLeft",
                    "valueAuction",
                    "valueM2",
                    "minimumBid",
                    "deposit",
                    "appraisal",
                    "occupied",
                    "discount",
                    "m2",
                    "status",
                    "cadastral",
                    "cadastralReview",
                    "imageUrl",
                    "lat",
                    "lon",
                    "lot",
                    "finalBid",
                    "resultStatus",
                    "closedAt",
                    "phase",
                    "url",
                    "links",
                    "fuente"
                  ],
                  "properties": {
                    "cp": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "m2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "end": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lon": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lot": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "n",
                            "total"
                          ],
                          "properties": {
                            "n": {
                              "type": "number"
                            },
                            "total": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ref": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "isNew": {
                      "type": "boolean"
                    },
                    "links": {
                      "type": "object",
                      "required": [
                        "streetView",
                        "catastroPdf"
                      ],
                      "properties": {
                        "streetView": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "catastroPdf": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": {}
                    },
                    "phase": {
                      "enum": [
                        "activa",
                        "historica",
                        "descartada",
                        "suspendida"
                      ],
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "fuente": {
                      "type": "string",
                      "const": "BOE"
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "address": {
                      "type": "string"
                    },
                    "deposit": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "valueM2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "closedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "daysLeft": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "discount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "finalBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "imageUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "occupied": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "appraisal": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastral": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipio": {
                      "type": "string"
                    },
                    "provincia": {
                      "type": "string"
                    },
                    "minimumBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "provinceSlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "resultStatus": {
                      "anyOf": [
                        {
                          "enum": [
                            "con_pujas",
                            "sin_pujas",
                            "cancelada"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "valueAuction": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastralReview": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contentUpdatedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipalitySlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "total": {
                "type": "number"
              },
              "locked": {
                "type": "object",
                "properties": {
                  "scoring": {
                    "type": "object",
                    "required": [
                      "locked",
                      "feature",
                      "label",
                      "plansLabel",
                      "requiredPlan",
                      "upgradeUrl",
                      "loginUrl"
                    ],
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "locked": {
                        "type": "boolean",
                        "const": true
                      },
                      "feature": {
                        "type": "string"
                      },
                      "loginUrl": {
                        "type": "string"
                      },
                      "plansLabel": {
                        "type": "string"
                      },
                      "upgradeUrl": {
                        "type": "string"
                      },
                      "requiredPlan": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "key",
                              "name",
                              "priceMonth",
                              "priceMonthLabel"
                            ],
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "priceMonth": {
                                "type": "number"
                              },
                              "priceMonthLabel": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": {}
                  }
                },
                "additionalProperties": {}
              },
              "pagina": {
                "type": "number"
              },
              "hasMore": {
                "type": "boolean"
              },
              "paginas": {
                "type": "number"
              },
              "degradado": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "disclosure": {
                "type": "string"
              },
              "por_pagina": {
                "type": "number"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Buscar subastas",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "subasta",
          "title": "Ficha de una subasta",
          "description": "Ficha pública de una subasta del BOE por identificador (10 caracteres), URL de app.subastech.com o identificador BOE (SUB-…): dirección, valores, fechas, resultado, lotes y un resumen citable. Pública, sin cuenta. El scoring, veredicto, cargas, ROI, valoración e intervinientes requieren cuenta y plan Pro o superior; si algo está cerrado se devuelve `locked` con `upgradeUrl`.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9]{10}$",
                "description": "Identificador público de la subasta (10 caracteres)"
              },
              "url": {
                "type": "string",
                "format": "uri",
                "maxLength": 400,
                "description": "URL de la ficha en app.subastech.com"
              },
              "boe_id": {
                "type": "string",
                "maxLength": 60,
                "description": "Identificador del BOE (p. ej. `SUB-JA-2026-123456`): devuelve todos los lotes"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "subasta",
              "resumen"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "lotes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "isNew",
                    "title",
                    "address",
                    "municipio",
                    "provincia",
                    "cp",
                    "ref",
                    "provinceSlug",
                    "municipalitySlug",
                    "end",
                    "contentUpdatedAt",
                    "daysLeft",
                    "valueAuction",
                    "valueM2",
                    "minimumBid",
                    "deposit",
                    "appraisal",
                    "occupied",
                    "discount",
                    "m2",
                    "status",
                    "cadastral",
                    "cadastralReview",
                    "imageUrl",
                    "lat",
                    "lon",
                    "lot",
                    "finalBid",
                    "resultStatus",
                    "closedAt",
                    "phase",
                    "url",
                    "links",
                    "fuente"
                  ],
                  "properties": {
                    "cp": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "m2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "end": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lon": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lot": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "n",
                            "total"
                          ],
                          "properties": {
                            "n": {
                              "type": "number"
                            },
                            "total": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ref": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "isNew": {
                      "type": "boolean"
                    },
                    "links": {
                      "type": "object",
                      "required": [
                        "streetView",
                        "catastroPdf"
                      ],
                      "properties": {
                        "streetView": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "catastroPdf": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": {}
                    },
                    "phase": {
                      "enum": [
                        "activa",
                        "historica",
                        "descartada",
                        "suspendida"
                      ],
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "fuente": {
                      "type": "string",
                      "const": "BOE"
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "address": {
                      "type": "string"
                    },
                    "deposit": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "valueM2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "closedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "daysLeft": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "discount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "finalBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "imageUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "occupied": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "appraisal": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastral": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipio": {
                      "type": "string"
                    },
                    "provincia": {
                      "type": "string"
                    },
                    "minimumBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "provinceSlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "resultStatus": {
                      "anyOf": [
                        {
                          "enum": [
                            "con_pujas",
                            "sin_pujas",
                            "cancelada"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "valueAuction": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastralReview": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contentUpdatedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipalitySlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "locked": {
                "type": "object",
                "properties": {
                  "scoring": {
                    "type": "object",
                    "required": [
                      "locked",
                      "feature",
                      "label",
                      "plansLabel",
                      "requiredPlan",
                      "upgradeUrl",
                      "loginUrl"
                    ],
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "locked": {
                        "type": "boolean",
                        "const": true
                      },
                      "feature": {
                        "type": "string"
                      },
                      "loginUrl": {
                        "type": "string"
                      },
                      "plansLabel": {
                        "type": "string"
                      },
                      "upgradeUrl": {
                        "type": "string"
                      },
                      "requiredPlan": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "key",
                              "name",
                              "priceMonth",
                              "priceMonthLabel"
                            ],
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "priceMonth": {
                                "type": "number"
                              },
                              "priceMonthLabel": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": {}
                  }
                },
                "additionalProperties": {}
              },
              "resumen": {
                "type": "string",
                "description": "Frase citable con los datos del BOE"
              },
              "subasta": {
                "type": "object",
                "required": [
                  "id",
                  "type",
                  "isNew",
                  "title",
                  "address",
                  "municipio",
                  "provincia",
                  "cp",
                  "ref",
                  "provinceSlug",
                  "municipalitySlug",
                  "end",
                  "contentUpdatedAt",
                  "daysLeft",
                  "valueAuction",
                  "valueM2",
                  "minimumBid",
                  "deposit",
                  "appraisal",
                  "occupied",
                  "discount",
                  "m2",
                  "status",
                  "cadastral",
                  "cadastralReview",
                  "imageUrl",
                  "lat",
                  "lon",
                  "lot",
                  "finalBid",
                  "resultStatus",
                  "closedAt",
                  "phase",
                  "url",
                  "links",
                  "fuente"
                ],
                "properties": {
                  "cp": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "id": {
                    "type": "string"
                  },
                  "m2": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "end": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "lat": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lon": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lot": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "n",
                          "total"
                        ],
                        "properties": {
                          "n": {
                            "type": "number"
                          },
                          "total": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "ref": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string"
                  },
                  "isNew": {
                    "type": "boolean"
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "streetView",
                      "catastroPdf"
                    ],
                    "properties": {
                      "streetView": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "catastroPdf": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": {}
                  },
                  "phase": {
                    "enum": [
                      "activa",
                      "historica",
                      "descartada",
                      "suspendida"
                    ],
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "fuente": {
                    "type": "string",
                    "const": "BOE"
                  },
                  "status": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "address": {
                    "type": "string"
                  },
                  "deposit": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "valueM2": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "closedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "daysLeft": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "discount": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "finalBid": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "imageUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "occupied": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "appraisal": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cadastral": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "municipio": {
                    "type": "string"
                  },
                  "provincia": {
                    "type": "string"
                  },
                  "minimumBid": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "provinceSlug": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "resultStatus": {
                    "anyOf": [
                      {
                        "enum": [
                          "con_pujas",
                          "sin_pujas",
                          "cancelada"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "valueAuction": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cadastralReview": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contentUpdatedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "municipalitySlug": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "disclosure": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Ficha de una subasta",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "buscar_por_codigo",
          "title": "Buscar por referencia catastral, CRU, IDUFIR o BOE",
          "description": "Localiza subastas del BOE a partir de códigos: referencia catastral, CRU, IDUFIR o identificador BOE (hasta 5). Pública, sin cuenta; sin cuenta solo devuelve fichas vigentes en el catálogo público (con cuenta, también las archivadas con `archivada: true`).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "codigos"
            ],
            "properties": {
              "codigos": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 60,
                  "minLength": 3
                },
                "maxItems": 5,
                "minItems": 1,
                "description": "Referencias catastrales, CRU, IDUFIR o identificadores BOE (1..5)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "items",
              "no_encontrados"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "isNew",
                    "title",
                    "address",
                    "municipio",
                    "provincia",
                    "cp",
                    "ref",
                    "provinceSlug",
                    "municipalitySlug",
                    "end",
                    "contentUpdatedAt",
                    "daysLeft",
                    "valueAuction",
                    "valueM2",
                    "minimumBid",
                    "deposit",
                    "appraisal",
                    "occupied",
                    "discount",
                    "m2",
                    "status",
                    "cadastral",
                    "cadastralReview",
                    "imageUrl",
                    "lat",
                    "lon",
                    "lot",
                    "finalBid",
                    "resultStatus",
                    "closedAt",
                    "phase",
                    "url",
                    "links",
                    "fuente"
                  ],
                  "properties": {
                    "cp": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "m2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "end": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lon": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lot": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "n",
                            "total"
                          ],
                          "properties": {
                            "n": {
                              "type": "number"
                            },
                            "total": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ref": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "isNew": {
                      "type": "boolean"
                    },
                    "links": {
                      "type": "object",
                      "required": [
                        "streetView",
                        "catastroPdf"
                      ],
                      "properties": {
                        "streetView": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "catastroPdf": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": {}
                    },
                    "phase": {
                      "enum": [
                        "activa",
                        "historica",
                        "descartada",
                        "suspendida"
                      ],
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "fuente": {
                      "type": "string",
                      "const": "BOE"
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "address": {
                      "type": "string"
                    },
                    "deposit": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "valueM2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "closedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "daysLeft": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "discount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "finalBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "imageUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "occupied": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "appraisal": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "archivada": {
                      "type": "boolean"
                    },
                    "cadastral": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipio": {
                      "type": "string"
                    },
                    "provincia": {
                      "type": "string"
                    },
                    "minimumBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "provinceSlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "resultStatus": {
                      "anyOf": [
                        {
                          "enum": [
                            "con_pujas",
                            "sin_pujas",
                            "cancelada"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "valueAuction": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastralReview": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contentUpdatedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipalitySlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "disclosure": {
                "type": "string"
              },
              "no_encontrados": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Buscar por referencia catastral, CRU, IDUFIR o BOE",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "resultados_recientes",
          "title": "Adjudicaciones recientes",
          "description": "Últimas subastas del BOE con resultado oficial (adjudicadas), opcionalmente por provincia, con el remate y el descuento real sobre la tasación (aritmética del BOE). Pública, sin cuenta. Máximo 15.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limite": {
                "type": "integer",
                "maximum": 15,
                "minimum": 1,
                "description": "Máximo 15"
              },
              "provincia": {
                "type": "string",
                "pattern": "^[a-z0-9-]{1,80}$",
                "description": "Slug en minúsculas (p. ej. `madrid`)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "items"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "isNew",
                    "title",
                    "address",
                    "municipio",
                    "provincia",
                    "cp",
                    "ref",
                    "provinceSlug",
                    "municipalitySlug",
                    "end",
                    "contentUpdatedAt",
                    "daysLeft",
                    "valueAuction",
                    "valueM2",
                    "minimumBid",
                    "deposit",
                    "appraisal",
                    "occupied",
                    "discount",
                    "m2",
                    "status",
                    "cadastral",
                    "cadastralReview",
                    "imageUrl",
                    "lat",
                    "lon",
                    "lot",
                    "finalBid",
                    "resultStatus",
                    "closedAt",
                    "phase",
                    "url",
                    "links",
                    "fuente",
                    "remate",
                    "descuento_real_pct"
                  ],
                  "properties": {
                    "cp": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "m2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "end": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lon": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lot": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "n",
                            "total"
                          ],
                          "properties": {
                            "n": {
                              "type": "number"
                            },
                            "total": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ref": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "isNew": {
                      "type": "boolean"
                    },
                    "links": {
                      "type": "object",
                      "required": [
                        "streetView",
                        "catastroPdf"
                      ],
                      "properties": {
                        "streetView": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "catastroPdf": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": {}
                    },
                    "phase": {
                      "enum": [
                        "activa",
                        "historica",
                        "descartada",
                        "suspendida"
                      ],
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "fuente": {
                      "type": "string",
                      "const": "BOE"
                    },
                    "remate": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "address": {
                      "type": "string"
                    },
                    "deposit": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "valueM2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "closedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "daysLeft": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "discount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "finalBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "imageUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "occupied": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "appraisal": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastral": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipio": {
                      "type": "string"
                    },
                    "provincia": {
                      "type": "string"
                    },
                    "minimumBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "provinceSlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "resultStatus": {
                      "anyOf": [
                        {
                          "enum": [
                            "con_pujas",
                            "sin_pujas",
                            "cancelada"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "valueAuction": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastralReview": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contentUpdatedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipalitySlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "descuento_real_pct": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "disclosure": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Adjudicaciones recientes",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "estadisticas_publicas",
          "title": "Estadísticas públicas del catálogo",
          "description": "Totales del catálogo, provincias con subastas activas e históricas, tipos de inmueble (valores EXACTOS para filtrar) y búsqueda de municipios (claves `provincia:municipio`). Pública, sin cuenta. No incluye estadísticas de mercado (precios y tasa de adjudicación), que son una función del plan Pro.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "estado": {
                "enum": [
                  "activas",
                  "historicas"
                ],
                "type": "string",
                "description": "Ámbito de los tipos de inmueble"
              },
              "municipio_q": {
                "type": "string",
                "maxLength": 80,
                "minLength": 2,
                "description": "Buscar municipios por nombre (≥2 caracteres)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "totales",
              "provincias",
              "tipos"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "tipos": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "n"
                  ],
                  "properties": {
                    "n": {
                      "type": "number"
                    },
                    "type": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "totales": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "disclosure": {
                "type": "string"
              },
              "municipios": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "key",
                    "name",
                    "province",
                    "auctionCount",
                    "url"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "province": {
                      "type": "string"
                    },
                    "auctionCount": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "provincias": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "slug",
                    "name",
                    "active",
                    "historical",
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "slug": {
                      "type": "string"
                    },
                    "active": {
                      "type": "number"
                    },
                    "historical": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": {}
                }
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Estadísticas públicas del catálogo",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "explicar_concepto",
          "title": "Explicar un concepto de subastas judiciales",
          "description": "Explica un concepto de las subastas judiciales en España (depósito, cargas, posesión, cesión de remate, tipos de subasta…). Base de conocimiento de Subastech con fuentes oficiales (BOE); textos generales, no asesoramiento. Pública, sin cuenta; sin modelo de lenguaje.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "pregunta"
            ],
            "properties": {
              "pregunta": {
                "type": "string",
                "maxLength": 400,
                "minLength": 2,
                "description": "Concepto o pregunta (p. ej. «qué es la cesión de remate»)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "concepto"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "fuente": {
                "type": "string"
              },
              "concepto": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "id",
                      "respuesta_md"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "titulo": {
                        "type": "string"
                      },
                      "respuesta_md": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "disclosure": {
                "type": "string"
              },
              "sugerencia": {
                "type": "string"
              },
              "relacionados": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Explicar un concepto de subastas judiciales",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "planes",
          "title": "Planes y precios de Subastech",
          "description": "Planes de Subastech (Radar gratuito, Starter, Pro, Team, Enterprise) con precios y comparativa de funciones. Pública, sin cuenta.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "planes",
              "comparativa",
              "url"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "url": {
                "type": "string"
              },
              "planes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                }
              },
              "disclosure": {
                "type": "string"
              },
              "comparativa": {}
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Planes y precios de Subastech",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search",
          "title": "Search (ChatGPT)",
          "description": "Búsqueda en lenguaje natural de subastas judiciales del BOE (compatible con la búsqueda profunda de ChatGPT): devuelve `results` con `id`, `title` y `url`. Pública, sin cuenta. Cada resultado se lee completo por su `id`.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "query"
            ],
            "properties": {
              "query": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Búsqueda en lenguaje natural"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "results"
            ],
            "properties": {
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "title",
                    "url"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Search (ChatGPT)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "fetch",
          "title": "Fetch (ChatGPT)",
          "description": "Lee una ficha de subasta por `id` (compatible con la búsqueda profunda de ChatGPT): `id`, `title`, `text` con los datos públicos del BOE en Markdown, `url` y `metadata`. Pública, sin cuenta. El scoring, veredicto, cargas, ROI, valoración e intervinientes requieren cuenta y plan Pro o superior; si algo está cerrado se devuelve `locked` con `upgradeUrl`.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 400,
                "minLength": 1,
                "description": "`id` devuelto por `search` (o URL de la ficha)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id",
              "title",
              "text",
              "url",
              "metadata"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "text": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "metadata": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Fetch (ChatGPT)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "analisis_subasta",
          "title": "Análisis de una subasta (veredicto y ejes)",
          "description": "Veredicto de viabilidad y ejes (cargas, posesión, rentabilidad, titularidad) de una subasta. Requiere cuenta (scope `informes:read`) y plan Pro o superior; con Radar/Starter devuelve `locked` con `upgradeUrl`. No consume cuota.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9]{10}$",
                "description": "Identificador público de la subasta (10 caracteres)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "subasta",
              "analisis_listo",
              "informe_url"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "ejes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                }
              },
              "locked": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "object",
                  "required": [
                    "locked",
                    "feature",
                    "label",
                    "plansLabel",
                    "requiredPlan",
                    "upgradeUrl",
                    "loginUrl"
                  ],
                  "properties": {
                    "label": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "locked": {
                      "type": "boolean",
                      "const": true
                    },
                    "feature": {
                      "type": "string"
                    },
                    "loginUrl": {
                      "type": "string"
                    },
                    "plansLabel": {
                      "type": "string"
                    },
                    "upgradeUrl": {
                      "type": "string"
                    },
                    "requiredPlan": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "key",
                            "name",
                            "priceMonth",
                            "priceMonthLabel"
                          ],
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "priceMonth": {
                              "type": "number"
                            },
                            "priceMonthLabel": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "subasta": {
                "type": "object",
                "required": [
                  "id",
                  "type",
                  "isNew",
                  "title",
                  "address",
                  "municipio",
                  "provincia",
                  "cp",
                  "ref",
                  "provinceSlug",
                  "municipalitySlug",
                  "end",
                  "contentUpdatedAt",
                  "daysLeft",
                  "valueAuction",
                  "valueM2",
                  "minimumBid",
                  "deposit",
                  "appraisal",
                  "occupied",
                  "discount",
                  "m2",
                  "status",
                  "cadastral",
                  "cadastralReview",
                  "imageUrl",
                  "lat",
                  "lon",
                  "lot",
                  "finalBid",
                  "resultStatus",
                  "closedAt",
                  "phase",
                  "url",
                  "links",
                  "fuente"
                ],
                "properties": {
                  "cp": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "id": {
                    "type": "string"
                  },
                  "m2": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "end": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "lat": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lon": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lot": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "n",
                          "total"
                        ],
                        "properties": {
                          "n": {
                            "type": "number"
                          },
                          "total": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "ref": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "axes": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "cargas",
                          "posesion",
                          "rentab",
                          "titularidad"
                        ],
                        "properties": {
                          "cargas": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "rentab": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "posesion": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "titularidad": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "cargasMotivo": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "isNew": {
                    "type": "boolean"
                  },
                  "level": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "streetView",
                      "catastroPdf"
                    ],
                    "properties": {
                      "streetView": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "catastroPdf": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": {}
                  },
                  "phase": {
                    "enum": [
                      "activa",
                      "historica",
                      "descartada",
                      "suspendida"
                    ],
                    "type": "string"
                  },
                  "score": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "fuente": {
                    "type": "string",
                    "const": "BOE"
                  },
                  "status": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "address": {
                    "type": "string"
                  },
                  "deposit": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "valueM2": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "closedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "daysLeft": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "discount": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "finalBid": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "imageUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "occupied": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "appraisal": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cadastral": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "municipio": {
                    "type": "string"
                  },
                  "provincia": {
                    "type": "string"
                  },
                  "minimumBid": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "provinceSlug": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "resultStatus": {
                    "anyOf": [
                      {
                        "enum": [
                          "con_pujas",
                          "sin_pujas",
                          "cancelada"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "valueAuction": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cadastralReview": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contentUpdatedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "municipalitySlug": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "veredicto": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "disclosure": {
                "type": "string"
              },
              "informe_url": {
                "type": "string"
              },
              "analisis_listo": {
                "type": "boolean",
                "description": "false si polSaaS aún está generando el veredicto"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Análisis de una subasta (veredicto y ejes)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "informe",
          "title": "Informe de viabilidad",
          "description": "Informe de viabilidad de una subasta con las secciones que tu plan permite (resumen, cargas, descripción, catastro, calculadora, valoración, intervinientes, estadísticas); las cerradas se listan en `locked`. Requiere cuenta verificada (scope `informes:read`). Los tiers `basic`/`completo` solo se sirven si ya están desbloqueados: si no, devuelve `unlock_required` con la URL para desbloquearlos en el navegador (y, si el comercio para agentes está activo, `compra.paymentLink` para pagarlos por MPP). Nunca consume cuota ni cobra por sí misma. Parte del texto se genera con IA (`disclosure`).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9]{10}$",
                "description": "Identificador público de la subasta (10 caracteres)"
              },
              "tier": {
                "enum": [
                  "web",
                  "basic",
                  "completo"
                ],
                "type": "string",
                "description": "`web` (por defecto, según tu plan), `basic` o `completo` (solo si ya están desbloqueados)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "subasta",
              "tier",
              "secciones",
              "locked",
              "analisis_listo",
              "informe_url"
            ],
            "properties": {
              "ai": {
                "type": "object",
                "required": [
                  "generated",
                  "system"
                ],
                "properties": {
                  "note": {
                    "type": "string"
                  },
                  "system": {
                    "type": "string"
                  },
                  "generated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": {}
              },
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "tier": {
                "enum": [
                  "web",
                  "basic",
                  "completo"
                ],
                "type": "string"
              },
              "compra": {
                "type": "object",
                "required": [
                  "paymentLink",
                  "precio_cents",
                  "moneda",
                  "instrucciones"
                ],
                "properties": {
                  "moneda": {
                    "type": "string",
                    "const": "EUR"
                  },
                  "paymentLink": {
                    "type": "string",
                    "description": "URL de pago máquina (MPP/Stripe): POST → 402 con reto → reintento con Shared Payment Token; en navegador, checkout humano"
                  },
                  "precio_cents": {
                    "type": "number"
                  },
                  "precio_label": {
                    "type": "string"
                  },
                  "instrucciones": {
                    "type": "object",
                    "required": [
                      "agente",
                      "navegador"
                    ],
                    "properties": {
                      "agente": {
                        "type": "string"
                      },
                      "navegador": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": {}
                  }
                },
                "additionalProperties": {}
              },
              "locked": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "object",
                  "required": [
                    "locked",
                    "feature",
                    "label",
                    "plansLabel",
                    "requiredPlan",
                    "upgradeUrl",
                    "loginUrl"
                  ],
                  "properties": {
                    "label": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "locked": {
                      "type": "boolean",
                      "const": true
                    },
                    "feature": {
                      "type": "string"
                    },
                    "loginUrl": {
                      "type": "string"
                    },
                    "plansLabel": {
                      "type": "string"
                    },
                    "upgradeUrl": {
                      "type": "string"
                    },
                    "requiredPlan": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "key",
                            "name",
                            "priceMonth",
                            "priceMonthLabel"
                          ],
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "priceMonth": {
                              "type": "number"
                            },
                            "priceMonthLabel": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "pdfUrl": {
                "type": "string"
              },
              "subasta": {
                "type": "object",
                "required": [
                  "id",
                  "type",
                  "isNew",
                  "title",
                  "address",
                  "municipio",
                  "provincia",
                  "cp",
                  "ref",
                  "provinceSlug",
                  "municipalitySlug",
                  "end",
                  "contentUpdatedAt",
                  "daysLeft",
                  "valueAuction",
                  "valueM2",
                  "minimumBid",
                  "deposit",
                  "appraisal",
                  "occupied",
                  "discount",
                  "m2",
                  "status",
                  "cadastral",
                  "cadastralReview",
                  "imageUrl",
                  "lat",
                  "lon",
                  "lot",
                  "finalBid",
                  "resultStatus",
                  "closedAt",
                  "phase",
                  "url",
                  "links",
                  "fuente"
                ],
                "properties": {
                  "cp": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "id": {
                    "type": "string"
                  },
                  "m2": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "end": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "lat": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lon": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lot": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "n",
                          "total"
                        ],
                        "properties": {
                          "n": {
                            "type": "number"
                          },
                          "total": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "ref": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "axes": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "cargas",
                          "posesion",
                          "rentab",
                          "titularidad"
                        ],
                        "properties": {
                          "cargas": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "rentab": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "posesion": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "titularidad": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "cargasMotivo": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "isNew": {
                    "type": "boolean"
                  },
                  "level": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "streetView",
                      "catastroPdf"
                    ],
                    "properties": {
                      "streetView": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "catastroPdf": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": {}
                  },
                  "phase": {
                    "enum": [
                      "activa",
                      "historica",
                      "descartada",
                      "suspendida"
                    ],
                    "type": "string"
                  },
                  "score": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "fuente": {
                    "type": "string",
                    "const": "BOE"
                  },
                  "status": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "address": {
                    "type": "string"
                  },
                  "deposit": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "valueM2": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "closedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "daysLeft": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "discount": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "finalBid": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "imageUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "occupied": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "appraisal": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cadastral": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "municipio": {
                    "type": "string"
                  },
                  "provincia": {
                    "type": "string"
                  },
                  "minimumBid": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "provinceSlug": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "resultStatus": {
                    "anyOf": [
                      {
                        "enum": [
                          "con_pujas",
                          "sin_pujas",
                          "cancelada"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "valueAuction": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cadastralReview": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contentUpdatedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "municipalitySlug": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "secciones": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "disclosure": {
                "type": "string"
              },
              "unlock_url": {
                "type": "string"
              },
              "informe_url": {
                "type": "string"
              },
              "analisis_listo": {
                "type": "boolean",
                "description": "false si polSaaS aún está generando el veredicto"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Informe de viabilidad",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "similares",
          "title": "Subastas similares",
          "description": "Subastas parecidas a una dada (mismo tipo de inmueble, banda de precio, cercanía). Requiere cuenta (scope `informes:read`). Con plan Pro o superior se ordenan por scoring (`metodo: scoring`); si no, por fecha de fin (`metodo: publico`).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9]{10}$",
                "description": "Identificador público de la subasta (10 caracteres)"
              },
              "limite": {
                "type": "integer",
                "maximum": 10,
                "minimum": 1,
                "description": "Número máximo de subastas similares a devolver (1-10)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "base",
              "items",
              "metodo"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "base": {
                "type": "object",
                "required": [
                  "id",
                  "type",
                  "isNew",
                  "title",
                  "address",
                  "municipio",
                  "provincia",
                  "cp",
                  "ref",
                  "provinceSlug",
                  "municipalitySlug",
                  "end",
                  "contentUpdatedAt",
                  "daysLeft",
                  "valueAuction",
                  "valueM2",
                  "minimumBid",
                  "deposit",
                  "appraisal",
                  "occupied",
                  "discount",
                  "m2",
                  "status",
                  "cadastral",
                  "cadastralReview",
                  "imageUrl",
                  "lat",
                  "lon",
                  "lot",
                  "finalBid",
                  "resultStatus",
                  "closedAt",
                  "phase",
                  "url",
                  "links",
                  "fuente"
                ],
                "properties": {
                  "cp": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "id": {
                    "type": "string"
                  },
                  "m2": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "end": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "lat": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lon": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lot": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "n",
                          "total"
                        ],
                        "properties": {
                          "n": {
                            "type": "number"
                          },
                          "total": {
                            "type": "number"
                          }
                        },
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "ref": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "axes": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "cargas",
                          "posesion",
                          "rentab",
                          "titularidad"
                        ],
                        "properties": {
                          "cargas": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "rentab": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "posesion": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "titularidad": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "cargasMotivo": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "isNew": {
                    "type": "boolean"
                  },
                  "level": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "links": {
                    "type": "object",
                    "required": [
                      "streetView",
                      "catastroPdf"
                    ],
                    "properties": {
                      "streetView": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "catastroPdf": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": {}
                  },
                  "phase": {
                    "enum": [
                      "activa",
                      "historica",
                      "descartada",
                      "suspendida"
                    ],
                    "type": "string"
                  },
                  "score": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "fuente": {
                    "type": "string",
                    "const": "BOE"
                  },
                  "status": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "address": {
                    "type": "string"
                  },
                  "deposit": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "valueM2": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "closedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "daysLeft": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "discount": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "finalBid": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "imageUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "occupied": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "appraisal": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cadastral": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "municipio": {
                    "type": "string"
                  },
                  "provincia": {
                    "type": "string"
                  },
                  "minimumBid": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "provinceSlug": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "resultStatus": {
                    "anyOf": [
                      {
                        "enum": [
                          "con_pujas",
                          "sin_pujas",
                          "cancelada"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "valueAuction": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "cadastralReview": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contentUpdatedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "municipalitySlug": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "isNew",
                    "title",
                    "address",
                    "municipio",
                    "provincia",
                    "cp",
                    "ref",
                    "provinceSlug",
                    "municipalitySlug",
                    "end",
                    "contentUpdatedAt",
                    "daysLeft",
                    "valueAuction",
                    "valueM2",
                    "minimumBid",
                    "deposit",
                    "appraisal",
                    "occupied",
                    "discount",
                    "m2",
                    "status",
                    "cadastral",
                    "cadastralReview",
                    "imageUrl",
                    "lat",
                    "lon",
                    "lot",
                    "finalBid",
                    "resultStatus",
                    "closedAt",
                    "phase",
                    "url",
                    "links",
                    "fuente"
                  ],
                  "properties": {
                    "cp": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "m2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "end": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lon": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lot": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "n",
                            "total"
                          ],
                          "properties": {
                            "n": {
                              "type": "number"
                            },
                            "total": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ref": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "axes": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "cargas",
                            "posesion",
                            "rentab",
                            "titularidad"
                          ],
                          "properties": {
                            "cargas": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "rentab": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "posesion": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "titularidad": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "cargasMotivo": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "isNew": {
                      "type": "boolean"
                    },
                    "level": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "links": {
                      "type": "object",
                      "required": [
                        "streetView",
                        "catastroPdf"
                      ],
                      "properties": {
                        "streetView": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "catastroPdf": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": {}
                    },
                    "phase": {
                      "enum": [
                        "activa",
                        "historica",
                        "descartada",
                        "suspendida"
                      ],
                      "type": "string"
                    },
                    "score": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "fuente": {
                      "type": "string",
                      "const": "BOE"
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "address": {
                      "type": "string"
                    },
                    "deposit": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "valueM2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "closedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "daysLeft": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "discount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "finalBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "imageUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "occupied": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "appraisal": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastral": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipio": {
                      "type": "string"
                    },
                    "provincia": {
                      "type": "string"
                    },
                    "minimumBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "provinceSlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "resultStatus": {
                      "anyOf": [
                        {
                          "enum": [
                            "con_pujas",
                            "sin_pujas",
                            "cancelada"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "valueAuction": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastralReview": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contentUpdatedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipalitySlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "metodo": {
                "enum": [
                  "scoring",
                  "publico"
                ],
                "type": "string"
              },
              "disclosure": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Subastas similares",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "recomendaciones",
          "title": "Recomendaciones para ti",
          "description": "Subastas recomendadas según tu historial (tipo, precio, provincias), como el bloque «para ti» de la web. Requiere cuenta (scope `cuenta:read`). Con plan Pro o superior usa el ranking por scoring; si no, se construye con tu perfil y orden por fecha de fin.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "items"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "nota": {
                "type": "string"
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "isNew",
                    "title",
                    "address",
                    "municipio",
                    "provincia",
                    "cp",
                    "ref",
                    "provinceSlug",
                    "municipalitySlug",
                    "end",
                    "contentUpdatedAt",
                    "daysLeft",
                    "valueAuction",
                    "valueM2",
                    "minimumBid",
                    "deposit",
                    "appraisal",
                    "occupied",
                    "discount",
                    "m2",
                    "status",
                    "cadastral",
                    "cadastralReview",
                    "imageUrl",
                    "lat",
                    "lon",
                    "lot",
                    "finalBid",
                    "resultStatus",
                    "closedAt",
                    "phase",
                    "url",
                    "links",
                    "fuente"
                  ],
                  "properties": {
                    "cp": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "m2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "end": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lon": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lot": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "n",
                            "total"
                          ],
                          "properties": {
                            "n": {
                              "type": "number"
                            },
                            "total": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ref": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "axes": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "cargas",
                            "posesion",
                            "rentab",
                            "titularidad"
                          ],
                          "properties": {
                            "cargas": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "rentab": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "posesion": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "titularidad": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "cargasMotivo": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "isNew": {
                      "type": "boolean"
                    },
                    "level": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "links": {
                      "type": "object",
                      "required": [
                        "streetView",
                        "catastroPdf"
                      ],
                      "properties": {
                        "streetView": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "catastroPdf": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": {}
                    },
                    "phase": {
                      "enum": [
                        "activa",
                        "historica",
                        "descartada",
                        "suspendida"
                      ],
                      "type": "string"
                    },
                    "score": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "fuente": {
                      "type": "string",
                      "const": "BOE"
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "address": {
                      "type": "string"
                    },
                    "deposit": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "valueM2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "closedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "daysLeft": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "discount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "finalBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "imageUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "occupied": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "appraisal": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastral": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipio": {
                      "type": "string"
                    },
                    "provincia": {
                      "type": "string"
                    },
                    "minimumBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "provinceSlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "resultStatus": {
                      "anyOf": [
                        {
                          "enum": [
                            "con_pujas",
                            "sin_pujas",
                            "cancelada"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "valueAuction": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastralReview": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contentUpdatedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipalitySlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "titulo": {
                "type": "string"
              },
              "disclosure": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Recomendaciones para ti",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "mercado",
          "title": "Estadísticas de mercado",
          "description": "Estadísticas de mercado de subastas resueltas (tasa de adjudicación, descuento real, precios) por provincia y/o tipo de inmueble. Requiere cuenta (scope `informes:read`) y plan Pro o superior; si no, `plan_required` con `locked`.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "tipo": {
                "type": "string",
                "maxLength": 60,
                "minLength": 1,
                "description": "Tipo de inmueble (valor exacto)"
              },
              "provincia": {
                "type": "string",
                "pattern": "^[a-z0-9-]{1,80}$",
                "description": "Slug en minúsculas (p. ej. `madrid`)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "ambito",
              "stats"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "stats": {
                "anyOf": [
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "ambito": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "locked": {
                "type": "object",
                "required": [
                  "locked",
                  "feature",
                  "label",
                  "plansLabel",
                  "requiredPlan",
                  "upgradeUrl",
                  "loginUrl"
                ],
                "properties": {
                  "label": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "locked": {
                    "type": "boolean",
                    "const": true
                  },
                  "feature": {
                    "type": "string"
                  },
                  "loginUrl": {
                    "type": "string"
                  },
                  "plansLabel": {
                    "type": "string"
                  },
                  "upgradeUrl": {
                    "type": "string"
                  },
                  "requiredPlan": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "key",
                          "name",
                          "priceMonth",
                          "priceMonthLabel"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "priceMonth": {
                            "type": "number"
                          },
                          "priceMonthLabel": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "minimo": {
                "type": "number"
              },
              "disclosure": {
                "type": "string"
              },
              "muestra_insuficiente": {
                "type": "boolean"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Estadísticas de mercado",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "alertas_listar",
          "title": "Listar mis alertas",
          "description": "Lista tus alertas de subastas con sus criterios, tipos de aviso, cadencia, canales y estado. Requiere cuenta (scope `alertas:read`). Paginada (`pagina`, `por_pagina`; máximo 20 por página); la respuesta incluye `total`, `paginas` y `hasMore`.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limite": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "Alias de `por_pagina` (número de resultados por página). Si indicas los dos, manda `por_pagina`."
              },
              "pagina": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1,
                "description": "Página (≥1; 1 por defecto)"
              },
              "por_pagina": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "Resultados por página (1..20; 20 por defecto)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "alertas",
              "pagina",
              "por_pagina",
              "total",
              "paginas",
              "hasMore"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "total": {
                "type": "number"
              },
              "pagina": {
                "type": "number"
              },
              "alertas": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "nombre",
                    "criterios",
                    "tipos",
                    "cadencia",
                    "canales",
                    "activa"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "tipos": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "activa": {
                      "type": "boolean"
                    },
                    "nombre": {
                      "type": "string"
                    },
                    "canales": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "cadencia": {
                      "type": "string"
                    },
                    "criterios": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "descripcion": {
                      "type": "string"
                    },
                    "quiet_hours": {
                      "anyOf": [
                        {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ultima_notificacion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "hasMore": {
                "type": "boolean"
              },
              "paginas": {
                "type": "number"
              },
              "disclosure": {
                "type": "string"
              },
              "por_pagina": {
                "type": "number"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Listar mis alertas",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "alertas_previsualizar",
          "title": "Previsualizar una alerta",
          "description": "Antes de crear una alerta: cuántas subastas coinciden ahora con los criterios, una muestra y avisos con `fix` aplicable (criterios sospechosos). Requiere cuenta (scope `alertas:read`). Los criterios avanzados (`scoreMin`, `discountMinPct`) requieren plan Pro; si no, se ignoran y se informa en `ajustes`.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "criterios"
            ],
            "properties": {
              "criterios": {
                "type": "object",
                "properties": {
                  "m2Max": {
                    "type": "number",
                    "minimum": 0
                  },
                  "m2Min": {
                    "type": "number",
                    "minimum": 0
                  },
                  "keywords": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 40,
                      "minLength": 1
                    },
                    "maxItems": 10,
                    "description": "Palabras clave (máx. 10×40). NO filtran por zona: usa provincia/municipio"
                  },
                  "occupied": {
                    "type": "boolean",
                    "description": "Solo ocupadas (true) o solo libres (false)"
                  },
                  "priceMax": {
                    "type": "number",
                    "minimum": 0
                  },
                  "priceMin": {
                    "type": "number",
                    "minimum": 0
                  },
                  "scoreMin": {
                    "type": "number",
                    "maximum": 100,
                    "minimum": 0,
                    "description": "Scoring mínimo (0-100): requiere plan Pro"
                  },
                  "propertyTypes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 60,
                      "minLength": 1
                    },
                    "maxItems": 20,
                    "description": "Valores EXACTOS del recurso `subastech://tipos-de-inmueble`"
                  },
                  "provinceSlugs": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z0-9-]{1,80}$",
                      "description": "Slug en minúsculas (p. ej. `madrid`)"
                    },
                    "maxItems": 60,
                    "description": "Slugs de provincia"
                  },
                  "discountMinPct": {
                    "type": "number",
                    "maximum": 100,
                    "minimum": 0,
                    "description": "Descuento mínimo sobre tasación (%): requiere plan Pro"
                  },
                  "priceDropMinPct": {
                    "type": "number",
                    "maximum": 100,
                    "minimum": 0,
                    "description": "Para el tipo `price_drop`: bajada mínima (%)"
                  },
                  "endingWithinDays": {
                    "type": "integer",
                    "maximum": 365,
                    "minimum": 1,
                    "description": "Para el tipo `ending`: días antes del fin"
                  },
                  "municipalityKeys": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z0-9-]+:[a-z0-9-]+$",
                      "description": "Clave `provincia:municipio` (de `estadisticas_publicas`)"
                    },
                    "maxItems": 100,
                    "description": "Claves `provincia:municipio` (de `estadisticas_publicas`)"
                  }
                },
                "description": "Filtros que debe cumplir una subasta para disparar la alerta: provincias, municipios, tipo de inmueble, precio, superficie y ocupación.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "criterios_limpios",
              "coinciden",
              "muestra",
              "avisos",
              "ajustes"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "avisos": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "message"
                  ],
                  "properties": {
                    "fix": {},
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "ajustes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "muestra": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "isNew",
                    "title",
                    "address",
                    "municipio",
                    "provincia",
                    "cp",
                    "ref",
                    "provinceSlug",
                    "municipalitySlug",
                    "end",
                    "contentUpdatedAt",
                    "daysLeft",
                    "valueAuction",
                    "valueM2",
                    "minimumBid",
                    "deposit",
                    "appraisal",
                    "occupied",
                    "discount",
                    "m2",
                    "status",
                    "cadastral",
                    "cadastralReview",
                    "imageUrl",
                    "lat",
                    "lon",
                    "lot",
                    "finalBid",
                    "resultStatus",
                    "closedAt",
                    "phase",
                    "url",
                    "links",
                    "fuente"
                  ],
                  "properties": {
                    "cp": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "m2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "end": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lon": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lot": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "n",
                            "total"
                          ],
                          "properties": {
                            "n": {
                              "type": "number"
                            },
                            "total": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ref": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "isNew": {
                      "type": "boolean"
                    },
                    "links": {
                      "type": "object",
                      "required": [
                        "streetView",
                        "catastroPdf"
                      ],
                      "properties": {
                        "streetView": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "catastroPdf": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": {}
                    },
                    "phase": {
                      "enum": [
                        "activa",
                        "historica",
                        "descartada",
                        "suspendida"
                      ],
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "fuente": {
                      "type": "string",
                      "const": "BOE"
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "address": {
                      "type": "string"
                    },
                    "deposit": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "valueM2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "closedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "daysLeft": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "discount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "finalBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "imageUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "occupied": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "appraisal": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastral": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipio": {
                      "type": "string"
                    },
                    "provincia": {
                      "type": "string"
                    },
                    "minimumBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "provinceSlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "resultStatus": {
                      "anyOf": [
                        {
                          "enum": [
                            "con_pujas",
                            "sin_pujas",
                            "cancelada"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "valueAuction": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastralReview": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contentUpdatedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipalitySlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "coinciden": {
                "type": "object",
                "required": [
                  "count",
                  "capped"
                ],
                "properties": {
                  "count": {
                    "type": "number"
                  },
                  "capped": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": {}
              },
              "disclosure": {
                "type": "string"
              },
              "criterios_limpios": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Previsualizar una alerta",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "alertas_crear",
          "title": "Crear una alerta",
          "description": "Crea una alerta de subastas (criterios, tipos de aviso, cadencia, canales). Requiere cuenta verificada (scope `alertas:write`). Envía un correo de confirmación al crearla. Límite de alertas y canales según el plan (`ajustes`). Los mismos criterios se pueden previsualizar sin crear nada.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "nombre",
              "criterios",
              "tipos",
              "cadencia",
              "canales"
            ],
            "properties": {
              "tipos": {
                "type": "array",
                "items": {
                  "enum": [
                    "new",
                    "price_drop",
                    "ending",
                    "status"
                  ],
                  "type": "string"
                },
                "minItems": 1,
                "description": "`new`, `price_drop`, `ending`, `status`"
              },
              "nombre": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1,
                "description": "Nombre de la alerta"
              },
              "canales": {
                "type": "array",
                "items": {
                  "enum": [
                    "inapp",
                    "email",
                    "push",
                    "telegram",
                    "webhook"
                  ],
                  "type": "string"
                },
                "description": "`inapp` siempre; `email`; `push`/`telegram`/`webhook` según el plan"
              },
              "cadencia": {
                "enum": [
                  "instant",
                  "daily",
                  "weekly"
                ],
                "type": "string",
                "description": "`instant` requiere plan Pro (si no, pasa a `daily`)"
              },
              "criterios": {
                "type": "object",
                "properties": {
                  "m2Max": {
                    "type": "number",
                    "minimum": 0
                  },
                  "m2Min": {
                    "type": "number",
                    "minimum": 0
                  },
                  "keywords": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 40,
                      "minLength": 1
                    },
                    "maxItems": 10,
                    "description": "Palabras clave (máx. 10×40). NO filtran por zona: usa provincia/municipio"
                  },
                  "occupied": {
                    "type": "boolean",
                    "description": "Solo ocupadas (true) o solo libres (false)"
                  },
                  "priceMax": {
                    "type": "number",
                    "minimum": 0
                  },
                  "priceMin": {
                    "type": "number",
                    "minimum": 0
                  },
                  "scoreMin": {
                    "type": "number",
                    "maximum": 100,
                    "minimum": 0,
                    "description": "Scoring mínimo (0-100): requiere plan Pro"
                  },
                  "propertyTypes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 60,
                      "minLength": 1
                    },
                    "maxItems": 20,
                    "description": "Valores EXACTOS del recurso `subastech://tipos-de-inmueble`"
                  },
                  "provinceSlugs": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z0-9-]{1,80}$",
                      "description": "Slug en minúsculas (p. ej. `madrid`)"
                    },
                    "maxItems": 60,
                    "description": "Slugs de provincia"
                  },
                  "discountMinPct": {
                    "type": "number",
                    "maximum": 100,
                    "minimum": 0,
                    "description": "Descuento mínimo sobre tasación (%): requiere plan Pro"
                  },
                  "priceDropMinPct": {
                    "type": "number",
                    "maximum": 100,
                    "minimum": 0,
                    "description": "Para el tipo `price_drop`: bajada mínima (%)"
                  },
                  "endingWithinDays": {
                    "type": "integer",
                    "maximum": 365,
                    "minimum": 1,
                    "description": "Para el tipo `ending`: días antes del fin"
                  },
                  "municipalityKeys": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z0-9-]+:[a-z0-9-]+$",
                      "description": "Clave `provincia:municipio` (de `estadisticas_publicas`)"
                    },
                    "maxItems": 100,
                    "description": "Claves `provincia:municipio` (de `estadisticas_publicas`)"
                  }
                },
                "description": "Filtros que debe cumplir una subasta para disparar la alerta: provincias, municipios, tipo de inmueble, precio, superficie y ocupación.",
                "additionalProperties": false
              },
              "quiet_hours": {
                "type": "object",
                "properties": {
                  "to": {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$",
                    "description": "HH:MM"
                  },
                  "days": {
                    "type": "array",
                    "items": {
                      "type": "integer",
                      "maximum": 6,
                      "minimum": 0
                    },
                    "maxItems": 7,
                    "description": "0 = domingo … 6 = sábado"
                  },
                  "from": {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$",
                    "description": "HH:MM"
                  },
                  "paused": {
                    "type": "boolean"
                  }
                },
                "description": "Franja en la que no se envían avisos. `paused` la desactiva; `from` y `to` en formato HH:MM; `days` con 0 = domingo … 6 = sábado.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "ok",
              "url"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ok": {
                "type": "boolean"
              },
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "url": {
                "type": "string"
              },
              "avisos": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "message"
                  ],
                  "properties": {
                    "fix": {},
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "ajustes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "disclosure": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Crear una alerta",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "alertas_editar",
          "title": "Editar una alerta",
          "description": "Modifica una alerta existente (nombre, criterios, tipos, cadencia, canales, horas de silencio). Requiere cuenta verificada (scope `alertas:write`). No envía correo.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id",
              "nombre",
              "criterios",
              "tipos",
              "cadencia",
              "canales"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 64,
                "minLength": 1,
                "description": "Identificador de la alerta a modificar (de `alertas_listar`)."
              },
              "tipos": {
                "type": "array",
                "items": {
                  "enum": [
                    "new",
                    "price_drop",
                    "ending",
                    "status"
                  ],
                  "type": "string"
                },
                "minItems": 1,
                "description": "`new`, `price_drop`, `ending`, `status`"
              },
              "nombre": {
                "type": "string",
                "maxLength": 120,
                "minLength": 1,
                "description": "Nombre de la alerta"
              },
              "canales": {
                "type": "array",
                "items": {
                  "enum": [
                    "inapp",
                    "email",
                    "push",
                    "telegram",
                    "webhook"
                  ],
                  "type": "string"
                },
                "description": "`inapp` siempre; `email`; `push`/`telegram`/`webhook` según el plan"
              },
              "cadencia": {
                "enum": [
                  "instant",
                  "daily",
                  "weekly"
                ],
                "type": "string",
                "description": "`instant` requiere plan Pro (si no, pasa a `daily`)"
              },
              "criterios": {
                "type": "object",
                "properties": {
                  "m2Max": {
                    "type": "number",
                    "minimum": 0
                  },
                  "m2Min": {
                    "type": "number",
                    "minimum": 0
                  },
                  "keywords": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 40,
                      "minLength": 1
                    },
                    "maxItems": 10,
                    "description": "Palabras clave (máx. 10×40). NO filtran por zona: usa provincia/municipio"
                  },
                  "occupied": {
                    "type": "boolean",
                    "description": "Solo ocupadas (true) o solo libres (false)"
                  },
                  "priceMax": {
                    "type": "number",
                    "minimum": 0
                  },
                  "priceMin": {
                    "type": "number",
                    "minimum": 0
                  },
                  "scoreMin": {
                    "type": "number",
                    "maximum": 100,
                    "minimum": 0,
                    "description": "Scoring mínimo (0-100): requiere plan Pro"
                  },
                  "propertyTypes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 60,
                      "minLength": 1
                    },
                    "maxItems": 20,
                    "description": "Valores EXACTOS del recurso `subastech://tipos-de-inmueble`"
                  },
                  "provinceSlugs": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z0-9-]{1,80}$",
                      "description": "Slug en minúsculas (p. ej. `madrid`)"
                    },
                    "maxItems": 60,
                    "description": "Slugs de provincia"
                  },
                  "discountMinPct": {
                    "type": "number",
                    "maximum": 100,
                    "minimum": 0,
                    "description": "Descuento mínimo sobre tasación (%): requiere plan Pro"
                  },
                  "priceDropMinPct": {
                    "type": "number",
                    "maximum": 100,
                    "minimum": 0,
                    "description": "Para el tipo `price_drop`: bajada mínima (%)"
                  },
                  "endingWithinDays": {
                    "type": "integer",
                    "maximum": 365,
                    "minimum": 1,
                    "description": "Para el tipo `ending`: días antes del fin"
                  },
                  "municipalityKeys": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z0-9-]+:[a-z0-9-]+$",
                      "description": "Clave `provincia:municipio` (de `estadisticas_publicas`)"
                    },
                    "maxItems": 100,
                    "description": "Claves `provincia:municipio` (de `estadisticas_publicas`)"
                  }
                },
                "description": "Filtros que debe cumplir una subasta para disparar la alerta: provincias, municipios, tipo de inmueble, precio, superficie y ocupación.",
                "additionalProperties": false
              },
              "quiet_hours": {
                "type": "object",
                "properties": {
                  "to": {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$",
                    "description": "HH:MM"
                  },
                  "days": {
                    "type": "array",
                    "items": {
                      "type": "integer",
                      "maximum": 6,
                      "minimum": 0
                    },
                    "maxItems": 7,
                    "description": "0 = domingo … 6 = sábado"
                  },
                  "from": {
                    "type": "string",
                    "pattern": "^\\d{2}:\\d{2}$",
                    "description": "HH:MM"
                  },
                  "paused": {
                    "type": "boolean"
                  }
                },
                "description": "Franja en la que no se envían avisos. `paused` la desactiva; `from` y `to` en formato HH:MM; `days` con 0 = domingo … 6 = sábado.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "ok",
              "url"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "ok": {
                "type": "boolean"
              },
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "url": {
                "type": "string"
              },
              "avisos": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "message"
                  ],
                  "properties": {
                    "fix": {},
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "ajustes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "disclosure": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Editar una alerta",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "alertas_eliminar",
          "title": "Eliminar una alerta",
          "description": "Elimina una alerta tuya de forma permanente. Requiere cuenta verificada (scope `alertas:write`).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 64,
                "minLength": 1,
                "description": "Identificador de la alerta a eliminar (de `alertas_listar`)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "disclosure": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Eliminar una alerta",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "alertas_activar",
          "title": "Activar o pausar una alerta",
          "description": "Activa o pausa una alerta tuya sin borrarla. Requiere cuenta verificada (scope `alertas:write`).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id",
              "activa"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 64,
                "minLength": 1,
                "description": "Identificador de la alerta (de `alertas_listar`)."
              },
              "activa": {
                "type": "boolean",
                "description": "`true` reanuda la alerta; `false` la pausa sin borrarla."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "activa": {
                "type": "boolean"
              },
              "disclosure": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Activar o pausar una alerta",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "favoritos_listar",
          "title": "Listar mis favoritos",
          "description": "Subastas que has guardado como favoritas. Requiere cuenta (scope `favoritos:read`). Paginada (`pagina`, `por_pagina`; máximo 20 por página); la respuesta incluye `total`, `paginas` y `hasMore`. El scoring, veredicto, cargas, ROI, valoración e intervinientes requieren cuenta y plan Pro o superior; si algo está cerrado se devuelve `locked` con `upgradeUrl`.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limite": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "Alias de `por_pagina` (número de resultados por página). Si indicas los dos, manda `por_pagina`."
              },
              "pagina": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1,
                "description": "Página (≥1; 1 por defecto)"
              },
              "por_pagina": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "Resultados por página (1..20; 20 por defecto)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "items",
              "pagina",
              "por_pagina",
              "total",
              "paginas",
              "hasMore"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "type",
                    "isNew",
                    "title",
                    "address",
                    "municipio",
                    "provincia",
                    "cp",
                    "ref",
                    "provinceSlug",
                    "municipalitySlug",
                    "end",
                    "contentUpdatedAt",
                    "daysLeft",
                    "valueAuction",
                    "valueM2",
                    "minimumBid",
                    "deposit",
                    "appraisal",
                    "occupied",
                    "discount",
                    "m2",
                    "status",
                    "cadastral",
                    "cadastralReview",
                    "imageUrl",
                    "lat",
                    "lon",
                    "lot",
                    "finalBid",
                    "resultStatus",
                    "closedAt",
                    "phase",
                    "url",
                    "links",
                    "fuente"
                  ],
                  "properties": {
                    "cp": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "m2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "end": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lon": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lot": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "n",
                            "total"
                          ],
                          "properties": {
                            "n": {
                              "type": "number"
                            },
                            "total": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ref": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    },
                    "axes": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "cargas",
                            "posesion",
                            "rentab",
                            "titularidad"
                          ],
                          "properties": {
                            "cargas": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "rentab": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "posesion": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "titularidad": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "cargasMotivo": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "isNew": {
                      "type": "boolean"
                    },
                    "level": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "links": {
                      "type": "object",
                      "required": [
                        "streetView",
                        "catastroPdf"
                      ],
                      "properties": {
                        "streetView": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "catastroPdf": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": {}
                    },
                    "phase": {
                      "enum": [
                        "activa",
                        "historica",
                        "descartada",
                        "suspendida"
                      ],
                      "type": "string"
                    },
                    "score": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "fuente": {
                      "type": "string",
                      "const": "BOE"
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "address": {
                      "type": "string"
                    },
                    "deposit": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "valueM2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "closedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "daysLeft": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "discount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "finalBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "imageUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "occupied": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "appraisal": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastral": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipio": {
                      "type": "string"
                    },
                    "provincia": {
                      "type": "string"
                    },
                    "minimumBid": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "provinceSlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "resultStatus": {
                      "anyOf": [
                        {
                          "enum": [
                            "con_pujas",
                            "sin_pujas",
                            "cancelada"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "valueAuction": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "cadastralReview": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contentUpdatedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "municipalitySlug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "total": {
                "type": "number"
              },
              "pagina": {
                "type": "number"
              },
              "hasMore": {
                "type": "boolean"
              },
              "paginas": {
                "type": "number"
              },
              "disclosure": {
                "type": "string"
              },
              "por_pagina": {
                "type": "number"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Listar mis favoritos",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "favoritos_anadir",
          "title": "Guardar en favoritos",
          "description": "Guarda una subasta en tus favoritos. Requiere cuenta (scope `favoritos:write`). Radar y Starter solo pueden guardar subastas activas (`fav.historico` es Pro+).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9]{10}$",
                "description": "Identificador público de la subasta (10 caracteres)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "ok",
              "favorito"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "favorito": {
                "type": "boolean"
              },
              "disclosure": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Guardar en favoritos",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "favoritos_quitar",
          "title": "Quitar de favoritos",
          "description": "Quita una subasta de tus favoritos. Requiere cuenta (scope `favoritos:write`).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9]{10}$",
                "description": "Identificador público de la subasta (10 caracteres)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "ok",
              "favorito"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "favorito": {
                "type": "boolean"
              },
              "disclosure": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Quitar de favoritos",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "mi_cuenta",
          "title": "Mi cuenta",
          "description": "Tu plan, cuota de informes, funciones disponibles, scopes del token, límites de uso y URLs útiles (precios, integraciones). Requiere cuenta (scope `cuenta:read`).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "usuario",
              "plan",
              "funciones",
              "token",
              "limites",
              "urls"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "org": {
                "anyOf": [
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "plan": {
                "type": "object",
                "required": [
                  "key",
                  "nombre"
                ],
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "nombre": {
                    "type": "string"
                  },
                  "precio_mes": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "urls": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "string"
                }
              },
              "token": {
                "type": "object",
                "required": [
                  "kind",
                  "scopes"
                ],
                "properties": {
                  "kind": {
                    "type": "string"
                  },
                  "client": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "scopes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": {}
              },
              "limites": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "usuario": {
                "type": "object",
                "required": [
                  "email",
                  "nombre",
                  "verificado"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "nombre": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "verificado": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": {}
              },
              "funciones": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "boolean"
                }
              },
              "disclosure": {
                "type": "string"
              },
              "cuota_informes": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Mi cuenta",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "notas_simples_listar",
          "title": "Listar mis notas simples",
          "description": "Pedidos de nota simple registral (20 €) con su estado. Requiere cuenta (scope `notas:read`). Paginada (`pagina`, `por_pagina`; máximo 20 por página); la respuesta incluye `total`, `paginas` y `hasMore`.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limite": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "Alias de `por_pagina` (número de resultados por página). Si indicas los dos, manda `por_pagina`."
              },
              "pagina": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1,
                "description": "Página (≥1; 1 por defecto)"
              },
              "por_pagina": {
                "type": "integer",
                "maximum": 20,
                "minimum": 1,
                "description": "Resultados por página (1..20; 20 por defecto)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "pedidos",
              "pagina",
              "por_pagina",
              "total",
              "paginas",
              "hasMore"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "total": {
                "type": "number"
              },
              "pagina": {
                "type": "number"
              },
              "hasMore": {
                "type": "boolean"
              },
              "paginas": {
                "type": "number"
              },
              "pedidos": {
                "type": "array",
                "items": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                }
              },
              "disclosure": {
                "type": "string"
              },
              "por_pagina": {
                "type": "number"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Listar mis notas simples",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "nota_simple_estado",
          "title": "Estado de una nota simple",
          "description": "Estado de un pedido de nota simple registral y URL para verlo o descargar el PDF cuando esté listo. Requiere cuenta (scope `notas:read`).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "pedido_id"
            ],
            "properties": {
              "pedido_id": {
                "type": "string",
                "maxLength": 64,
                "minLength": 1,
                "description": "Identificador del pedido devuelto por `nota_simple_pedir`."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "pedido",
              "url"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "url": {
                "type": "string"
              },
              "pedido": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "disclosure": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Estado de una nota simple",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "nota_simple_pedir",
          "title": "Pedir una nota simple",
          "description": "Inicia el pedido de la nota simple registral de una subasta (20 €, retención: solo se cobra con PDF verificado). Requiere cuenta verificada (scope `notas:write`) y que la subasta tenga CRU/IDUFIR (`not_orderable` si no). Devuelve `pedido_id` y la `url` donde el usuario confirma el pago en el navegador (y, si el comercio para agentes está activo, `paymentLink` para pagarlo por MPP); el pago nunca se completa desde aquí. Idempotente: si ya hay un pedido vivo devuelve `pedido_existente`. Máximo 20 inmuebles al día.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9]{10}$",
                "description": "Identificador público de la subasta (10 caracteres)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "pedido_id",
              "url",
              "siguiente_paso"
            ],
            "properties": {
              "cta": {
                "type": "object",
                "required": [
                  "text",
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "url": {
                "type": "string"
              },
              "compra": {
                "type": "object",
                "required": [
                  "paymentLink",
                  "precio_cents",
                  "moneda",
                  "instrucciones"
                ],
                "properties": {
                  "moneda": {
                    "type": "string",
                    "const": "EUR"
                  },
                  "paymentLink": {
                    "type": "string",
                    "description": "URL de pago máquina (MPP/Stripe): POST → 402 con reto → reintento con Shared Payment Token; en navegador, checkout humano"
                  },
                  "precio_cents": {
                    "type": "number"
                  },
                  "precio_label": {
                    "type": "string"
                  },
                  "instrucciones": {
                    "type": "object",
                    "required": [
                      "agente",
                      "navegador"
                    ],
                    "properties": {
                      "agente": {
                        "type": "string"
                      },
                      "navegador": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": {}
                  }
                },
                "additionalProperties": {}
              },
              "pedido_id": {
                "type": "string"
              },
              "disclosure": {
                "type": "string"
              },
              "paymentLink": {
                "type": "string"
              },
              "precio_cents": {
                "type": "number"
              },
              "siguiente_paso": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "title": "Pedir una nota simple",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "conceptos",
          "uri": "subastech://conceptos",
          "mimeType": "text/markdown",
          "description": "Índice de la base de conocimiento de Subastech (cargas, posesión, depósito, puja_minima, cesión de remate…). Base de conocimiento de Subastech con fuentes oficiales (BOE); textos generales, no asesoramiento. Cada entrada es un recurso `subastech://conceptos/{id}`."
        },
        {
          "name": "tipos-de-inmueble",
          "uri": "subastech://tipos-de-inmueble",
          "mimeType": "application/json",
          "description": "Tipos de inmueble del catálogo con recuento: `type` es el valor EXACTO que aceptan `buscar_subastas.tipo` y `criterios.propertyTypes` de las alertas."
        },
        {
          "name": "provincias",
          "uri": "subastech://provincias",
          "mimeType": "application/json",
          "description": "Provincias con subastas vigentes e históricas: `slug` es el valor que aceptan `buscar_subastas.provincia` y `resultados_recientes.provincia`."
        },
        {
          "name": "planes",
          "uri": "subastech://planes",
          "mimeType": "application/json",
          "description": "Planes (Radar gratuito, Starter, Pro, Team, Enterprise) con precio mensual y comparativa de funciones; mismo contenido que la herramienta `planes`."
        },
        {
          "name": "cargas",
          "uri": "subastech://conceptos/cargas",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "cargas_subsisten",
          "uri": "subastech://conceptos/cargas_subsisten",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "posesion",
          "uri": "subastech://conceptos/posesion",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "ocupantes_desalojo",
          "uri": "subastech://conceptos/ocupantes_desalojo",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "deposito",
          "uri": "subastech://conceptos/deposito",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "devolucion_deposito",
          "uri": "subastech://conceptos/devolucion_deposito",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "puja_minima",
          "uri": "subastech://conceptos/puja_minima",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "como_pujar_boe",
          "uri": "subastech://conceptos/como_pujar_boe",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "ver_pujas",
          "uri": "subastech://conceptos/ver_pujas",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "subasta_desierta",
          "uri": "subastech://conceptos/subasta_desierta",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "tramos_puja",
          "uri": "subastech://conceptos/tramos_puja",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "valor_subasta",
          "uri": "subastech://conceptos/valor_subasta",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "valor_tasacion",
          "uri": "subastech://conceptos/valor_tasacion",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "descuento",
          "uri": "subastech://conceptos/descuento",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "rentabilidad",
          "uri": "subastech://conceptos/rentabilidad",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "calcular_rentabilidad",
          "uri": "subastech://conceptos/calcular_rentabilidad",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "itp",
          "uri": "subastech://conceptos/itp",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "gastos_adjudicacion",
          "uri": "subastech://conceptos/gastos_adjudicacion",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "cesion_remate",
          "uri": "subastech://conceptos/cesion_remate",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "lote",
          "uri": "subastech://conceptos/lote",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "venta_conjunta",
          "uri": "subastech://conceptos/venta_conjunta",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "plazos_subasta",
          "uri": "subastech://conceptos/plazos_subasta",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "mejora_postura",
          "uri": "subastech://conceptos/mejora_postura",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "adjudicacion_pago",
          "uri": "subastech://conceptos/adjudicacion_pago",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "inscripcion_registro",
          "uri": "subastech://conceptos/inscripcion_registro",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "nota_simple",
          "uri": "subastech://conceptos/nota_simple",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "subasta_judicial",
          "uri": "subastech://conceptos/subasta_judicial",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "subasta_aeat",
          "uri": "subastech://conceptos/subasta_aeat",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "subasta_tgss",
          "uri": "subastech://conceptos/subasta_tgss",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "informe_subastech",
          "uri": "subastech://conceptos/informe_subastech",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "veredicto",
          "uri": "subastech://conceptos/veredicto",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "registro_cuenta",
          "uri": "subastech://conceptos/registro_cuenta",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "verificar_correo",
          "uri": "subastech://conceptos/verificar_correo",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "contenido_bloqueado",
          "uri": "subastech://conceptos/contenido_bloqueado",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "como_buscar",
          "uri": "subastech://conceptos/como_buscar",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "como_alerta",
          "uri": "subastech://conceptos/como_alerta",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "como_favoritos",
          "uri": "subastech://conceptos/como_favoritos",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "como_comparar",
          "uri": "subastech://conceptos/como_comparar",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "como_calculadora",
          "uri": "subastech://conceptos/como_calculadora",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "planes",
          "uri": "subastech://conceptos/planes",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "contacto",
          "uri": "subastech://conceptos/contacto",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "interes_inmueble",
          "uri": "subastech://conceptos/interes_inmueble",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "error_ficha",
          "uri": "subastech://conceptos/error_ficha",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "fuentes_datos",
          "uri": "subastech://conceptos/fuentes_datos",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "quien_eres",
          "uri": "subastech://conceptos/quien_eres",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "privacidad_asistente",
          "uri": "subastech://conceptos/privacidad_asistente",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "no_asesoramiento",
          "uri": "subastech://conceptos/no_asesoramiento",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "saludo",
          "uri": "subastech://conceptos/saludo",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "no_lo_se",
          "uri": "subastech://conceptos/no_lo_se",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "responsable_subasta",
          "uri": "subastech://conceptos/responsable_subasta",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        },
        {
          "name": "agradecimiento",
          "uri": "subastech://conceptos/agradecimiento",
          "mimeType": "text/markdown",
          "description": "Explicación en castellano de un concepto de las subastas judiciales (ids en `subastech://conceptos`). Sin modelo de lenguaje."
        }
      ],
      "prompts": [
        {
          "name": "analiza-subasta",
          "description": "Guía para analizar una subasta judicial: ficha pública del BOE y, con sesión, veredicto e informe; siempre con la URL de la ficha.",
          "arguments": [
            {
              "name": "id",
              "required": true,
              "description": "Identificador de la subasta (10 caracteres), URL de la ficha o identificador BOE (SUB-…)"
            }
          ]
        },
        {
          "name": "busca-oportunidades",
          "description": "Guía para encontrar las mejores subastas activas por zona, tipo y presupuesto usando `estadisticas_publicas` y `buscar_subastas`.",
          "arguments": [
            {
              "name": "provincia",
              "required": false,
              "description": "Provincia o municipio (nombre o slug), p. ej. «Madrid» o «valencia»"
            },
            {
              "name": "tipo",
              "required": false,
              "description": "Tipo de inmueble (vivienda, garaje, local, solar…)"
            },
            {
              "name": "presupuesto",
              "required": false,
              "description": "Presupuesto máximo en euros, p. ej. «150000»"
            }
          ]
        },
        {
          "name": "crea-alerta",
          "description": "Guía para convertir una descripción en criterios de alerta, previsualizarla y crearla solo con confirmación del usuario (requiere sesión).",
          "arguments": [
            {
              "name": "descripcion",
              "required": true,
              "description": "Qué quiere vigilar el usuario, en lenguaje natural (zona, tipo, precio, superficie…)"
            }
          ]
        }
      ]
    },
    "instructions": "Subastech: subastas judiciales de inmuebles en España (datos del BOE). Las herramientas públicas devuelven datos oficiales del BOE (dirección, valores, fechas, resultado) y SIEMPRE la URL de la ficha en app.subastech.com: cítala. El scoring, veredicto, cargas, ROI, valoración e intervinientes requieren cuenta y plan (Pro o superior); si una herramienta devuelve `locked`, explica al usuario qué plan lo desbloquea y enlaza `upgradeUrl`. Usa `buscar_subastas` para explorar, `subasta` para una ficha, `informe` (con sesión) para el análisis. Nunca inventes valores: si un campo es null, dilo. Parte del análisis del informe se genera con IA (ver https://app.subastech.com/ia)."
  },
  "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."
}