Skip to main content
Glama

Buscar subastas

buscar_bienes
Read-onlyIdempotent

Busca bienes en subasta (BOE, notariales, Seguridad Social, AEAT, ayuntamientos…), 100 por página. Cada resultado trae gratis una ficha reducida con una línea resumen lista para mostrar: tipo, calle sin número, municipio, origen y procedimiento; superficie, valor, depósito y cantidad reclamada redondeados (~), década de construcción, si está ocupada, si es vivienda habitual, si tiene cargas y si es visitable, si hay pujas y el plazo aproximado del fin. Lo exacto (número y piso, referencias, autoridad, fechas e importes exactos, URL oficial y documentos) solo está en la ficha (ver_bien), que gasta 1 de la cuota mensual por ficha nueva; una ficha ya consultada sale en la lista con los datos exactos. Enseña la lista con el resumen, ayuda al usuario a comparar y pregúntale qué fichas quiere abrir; no llames a ver_bien para todos. Si hay más resultados que fichas disponibles (aviso), propón acotar la búsqueda. Los filtros de valor, depósito, cantidad reclamada y superficie se ajustan a los valores de la web (opciones_filtros) y las fechas a semanas completas: los límites aplicados vienen en filtros_aplicados. Consume 1 búsqueda de la cuota mensual del plan (repetir la misma búsqueda en 60 minutos, también para cambiar de página, es gratis). consultadas: los ids cuya ficha ya consultaste (ver_bien no gasta cuota con ellos).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "buscar_bienes"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoTexto libre (título, descripción, calle, referencias, marca/modelo…).
pageNo
ordenNofecha_celebracion_asc|desc, fecha_insercion_asc|desc, fecha_actualizacion_asc|desc, valoracion_asc|desc, puja_asc|desc, deposito_asc|desc. Sin orden: relevancia.
filtrosNoFiltros estructurados. Todos opcionales.

Output Schema

NameRequiredDescriptionDefault
idsNo
pageNo
avisoNo
errorNoCódigo de error del API, si la llamada falla.
totalNo
messageNo
_limitesNoCupos y rate limit restantes tras la llamada.
per_pageNo
resultadosNo
consultadasNo
cuota_busquedasNo
filtros_aplicadosNoFiltros de importe, superficie o fecha que se han ajustado a los valores de la web, con el valor aplicado.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed21 schema fields changed
    • addedOutput schema / properties / filtros_aplicados
      Added value: +{
      +  "description": "Filtros de importe, superficie o fecha que se han ajustado a los valores de la web, con el valor aplicado.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / resultados / items / properties / anyo
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / resultados / items / properties / aproximado
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / resultados / items / properties / bienes_lote
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / resultados / items / properties / calle
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / resultados / items / properties / cargas
      Added value: +{
      +  "enum": [
      +    "si",
      +    "no",
      +    "desconocido"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / resultados / items / properties / comarca
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / resultados / items / properties / decada_construccion
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / resultados / items / properties / fin_fecha
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / resultados / items / properties / marca
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / resultados / items / properties / modelo
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / resultados / items / properties / ocupada
      Added value: +{
      +  "enum": [
      +    "si",
      +    "no",
      +    "desconocido"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / resultados / items / properties / procedimiento
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / resultados / items / properties / pujas
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / resultados / items / properties / reclamada
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / resultados / items / properties / reclamada_sobre_valor
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / resultados / items / properties / resumen
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / resultados / items / properties / titulo / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / resultados / items / properties / url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / resultados / items / properties / visitable
      Added value: +{
      +  "enum": [
      +    "si",
      +    "no",
      +    "desconocido"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / resultados / items / properties / vivienda_habitual
      Added value: +{
      +  "enum": [
      +    "si",
      +    "no",
      +    "desconocido"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / aviso
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / resultados
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "consultada": {
      +        "type": "boolean"
      +      },
      +      "deposito": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "estado": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fin": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "municipio": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "origen": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "provincia": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "superficie_m2": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "tipo": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "titulo": {
      +        "type": "string"
      +      },
      +      "valor": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, non-destructive, idempotent), yet the description adds substantial economics the agent cannot get elsewhere: 1 search from the monthly quota, free repeat within 60 min for paging, a free reduced sheet per result, and 1 quota per new ver_bien sheet. It also discloses that already-viewed ids appear in full in the list and that applied limits are echoed back in filtros_aplicados. No contradiction with the annotations.

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

Conciseness4/5

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

Front-loaded with purpose, then detail-layer pricing, then usage routing — a sensible order. It is a dense single block and the enumeration of summary fields (tipo, calle, superficie, valor…) is long and partly redundant with the output schema, so trimming is possible, but almost every clause carries operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, quota-metered search tool with 4 params, nested filters, and an output schema, this covers everything an agent needs: cost model, pagination economics, deferral to ver_bien, narrowing advice, and the free-vs-paid distinction. Return values are backed by the output schema, so the description is not obliged to enumerate them further.

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

Parameters4/5

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

Schema coverage is 75%, and the description adds real meaning beyond it: filters snap to the values exposed by opciones_filtros and date ranges are normalized to whole weeks, with the actual applied bounds returned in filtros_aplicados. It does not walk through individual filter fields, but the schema already names and documents most of them, so a 4 is fair.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ("Busca bienes en subasta") and immediately scopes it with the sources covered (BOE, notariales, Seguridad Social, AEAT, ayuntamientos) and page size (100). It also draws the line against the sibling it is most likely to be confused with, ver_bien, so an agent can pick the right tool without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicit routing instructions: present the list with the free summary, help the user compare, ask which sheets to open, and "no llames a ver_bien para todos". It also says what to do when there are more results than available sheets (propose narrowing), and explains that repeating the same search within 60 minutes — including paging — is free, which resolves the main when-to-call-again question.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.