Skip to main content
Glama

Screen Spanish Real-Estate Auctions (Spain Node Only)

find_distressed_auctions
Read-onlyIdempotent

Search and rank Spanish Catastro/BOE judicial real-estate auctions, including bankruptcy cases, on the Spain node by region, value, and debt-to-appraisal ratio.

Instructions

Compatibility bridge for Spanish Catastro/BOE judicial real-estate auctions ($0.10 USDC or EURC via DATAX_TOKEN; returns HTTP 402 if unset). Unless DATAX_BASE_URL points to the Spain node (datax-spain-eu-mcp), calls on this Germany server always return empty matches because Spanish property auctions are not indexed locally—prefer search_tenders or find_funded_companies for Germany records.

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": "find_distressed_auctions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of ranked auctions to return (1 to 25, default 10).
ambitoNoCase-insensitive province or region substring filter (e.g. 'Madrid' or 'Valencia'). Leave empty to search all regions.
max_ltv_pctNoMaximum claimed debt as a percentage of appraisal value (1 to 1000, default 100). Lower percentages indicate deeper discounts.
min_value_eurNoMinimum official appraisal or auction value in EUR (>= 0, default 0).
concursal_onlyNoWhen true, restrict results to bankruptcy/insolvency court auctions (SUB-JC-*).

Output Schema

NameRequiredDescriptionDefault
resultNo
statusNo
change_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changedv0.1.1
    • addedInput schema / properties / ambito / description
      Added value: +"Case-insensitive province or region substring filter (e.g. 'Madrid' or 'Valencia'). Leave empty to search all regions."
    • addedInput schema / properties / concursal_only / default
      Added value: +false
    • addedInput schema / properties / concursal_only / description
      Added value: +"When true, restrict results to bankruptcy/insolvency court auctions (SUB-JC-*)."
    • addedInput schema / properties / limit / default
      Added value: +10
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of ranked auctions to return (1 to 25, default 10)."
    • addedInput schema / properties / limit / maximum
      Added value: +25
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • addedInput schema / properties / max_ltv_pct / default
      Added value: +100
    • addedInput schema / properties / max_ltv_pct / description
      Added value: +"Maximum claimed debt as a percentage of appraisal value (1 to 1000, default 100). Lower percentages indicate deeper discounts."
    • addedInput schema / properties / max_ltv_pct / maximum
      Added value: +1000
    • addedInput schema / properties / max_ltv_pct / minimum
      Added value: +1
    • addedInput schema / properties / min_value_eur / default
      Added value: +0
    • addedInput schema / properties / min_value_eur / description
      Added value: +"Minimum official appraisal or auction value in EUR (>= 0, default 0)."
    • addedInput schema / properties / min_value_eur / minimum
      Added value: +0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "change_token": {
      +      "type": "string"
      +    },
      +    "result": {
      +      "properties": {
      +        "data_version": {
      +          "type": "string"
      +        },
      +        "matches": {
      +          "items": {
      +            "properties": {
      +              "ambito": {
      +                "description": "Geographic jurisdiction or region.",
      +                "type": "string"
      +              },
      +              "detail_locked": {
      +                "description": "Always true until unlocked with get_tender_detail.",
      +                "type": "boolean"
      +              },
      +              "fecha_pub": {
      +                "description": "Publication date in YYYYMMDD format.",
      +                "type": "string"
      +              },
      +              "importe_texto": {
      +                "description": "Formatted amount string when available.",
      +                "type": "string"
      +              },
      +              "item_ref": {
      +                "description": "Opaque encrypted record reference ('dx_...') for get_tender_detail.",
      +                "type": "string"
      +              },
      +              "notice_type": {
      +                "description": "Notice classification.",
      +                "type": "string"
      +              },
      +              "preview": {
      +                "description": "Redacted summary preview without PII or entity identifiers.",
      +                "type": "string"
      +              },
      +              "seccion": {
      +                "description": "Registry section code.",
      +                "type": "string"
      +              },
      +              "unlock_price_micros": {
      +                "description": "Unlock price in USD/EUR micros (500000 = 0.50).",
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "operation": {
      +          "type": "string"
      +        },
      +        "total_returned": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "status": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only cover safety (readOnly, idempotent, openWorld, non-destructive); the description adds the traits that actually govern invocation — a $0.10 USDC/EURC charge via DATAX_TOKEN, an HTTP 402 failure mode when the token is unset, and the silent empty-result behavior when pointed at the wrong node. These are exactly the non-schema behaviors an agent needs.

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?

Three sentences, front-loaded with the resource and the blocking conditional, with the sibling redirect last. The parenthetical pricing clause is dense but earns its place; no sentence is redundant.

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?

Output schema exists, so return values need no explanation. Given the tool's real risk (misconfiguration producing empty matches plus per-call cost), the description covers cost, auth prerequisite, failure mode, and correct alternatives — everything needed to call it or avoid it.

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

Parameters3/5

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

Schema description coverage is 100%, so limit, ambito, max_ltv_pct, min_value_eur, and concursal_only are already fully documented in the schema. The description adds no extra parameter meaning (e.g., ranking semantics behind 'ranked auctions' or how LTV is computed), so the baseline 3 applies.

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?

The description names a specific resource and provenance: Spanish Catastro/BOE judicial real-estate auctions, exposed via a compatibility bridge. It immediately separates itself from the Germany-indexed siblings, so an agent can tell what it returns and what it does not without opening a 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 when-not-to-use guidance: unless DATAX_BASE_URL targets the Spain node (datax-spain-eu-mcp), calls on this server return empty matches. It then names concrete alternatives (search_tenders, find_funded_companies) for Germany records, leaving nothing to inference.

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