Skip to main content
Glama

Ficha de un bien

ver_bien
Read-onlyIdempotent

Detalle completo de un bien: datos del bien, de su lote y de su subasta (valor, depósito, puja, cargas, situación posesoria, fechas, URL oficial…), los documentos originales (edicto, certificación de cargas, tasación…; el enlace abre la descarga en alertasubastas.com y pide sesión con plan o prueba), subastas similares (ids) y, si la hay, la estimación de valor de mercado (venta y alquiler, de Idealista). En zonas con poca actividad, Idealista no valora el inmueble y valor_mercado trae el precio medio de la zona por la superficie, con aproximado: true y sin rango. La primera consulta de cada bien consume 1 de la cuota mensual de subastas consultadas, repetirla es gratis. Ábrela solo para los bienes que el usuario quiere ver: para elegir, basta el resumen de buscar_bienes. Tras varias fichas nuevas seguidas pide confirmación (error confirmacion_necesaria): pregunta al usuario y, si lo confirma, repite con confirmado: true.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesId del bien (0x…), de buscar_bienes, ver_lote o listar_favoritas.
confirmadoNotrue solo si el usuario ha confirmado que quiere abrir más fichas tras un error confirmacion_necesaria.

Output Schema

NameRequiredDescriptionDefault
IDNo
urlNo
bienNo
loteNo
errorNoCódigo de error del API, si la llamada falla.
messageNo
resumenNo
subastaNo
_limitesNoCupos y rate limit restantes tras la llamada.
similaresNo
documentosNo
valor_mercadoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / documentos
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "etiqueta": {
      +        "type": "string"
      +      },
      +      "tipo": {
      +        "type": "string"
      +      },
      +      "titulo": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / confirmado
      Added value: +{
      +  "description": "true solo si el usuario ha confirmado que quiere abrir más fichas tras un error confirmacion_necesaria.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnly/idempotent/non-destructive): it discloses a quota cost (primera consulta consume 1 de la cuota mensual, repetirla es gratis), a confirmation gate that raises confirmacion_necesaria, and that document links require a session with a plan or trial. It also explains the Idealista fallback semantics (aproximado: true, sin rango), which is unusually complete behavioral disclosure.

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 the purpose and the returned payload, then caveats, then quota and confirmation rules — a sensible order with no filler. It is dense and parenthetical-heavy in a single block, which slightly hurts scanability but every clause carries 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 tool with a full output schema, quota cost, document-link auth requirement, market-value fallback behavior and the confirmation loop are all covered. Nothing an agent needs to call it correctly or explain the result to a user is missing.

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 100%, so the baseline is 3, but the description adds the operational protocol around confirmado: the trigger condition, that the user must be asked, and that the call is then repeated with confirmado: true. The id source is left to the schema, which already names buscar_bienes, ver_lote and listar_favoritas.

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 precise verb+resource ("Detalle completo de un bien") and enumerates exactly what the record contains: datos del bien, lote y subasta, documentos originales, subastas similares (ids) y valor_mercado. It explicitly distinguishes itself from the sibling buscar_bienes, which returns only a resumen.

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?

Gives an explicit when-to-use rule ("Ábrela solo para los bienes que el usuario quiere ver") and an explicit alternative for browsing ("para elegir, basta el resumen de buscar_bienes"). It also documents the retry protocol after error confirmacion_necesaria, so the agent knows exactly what to do next.

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.