Skip to main content
Glama

Subastech — subastas judiciales de inmuebles (BOE)

Previsualizar una alerta

alertas_previsualizar
Read-onlyIdempotent

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.

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": {
      "criterios": "<criterios>"
    },
    "name": "alertas_previsualizar"
  }
}

Input Schema

NameRequiredDescriptionDefault
criteriosYesFiltros que debe cumplir una subasta para disparar la alerta: provincias, municipios, tipo de inmueble, precio, superficie y ocupación.

Output Schema

NameRequiredDescriptionDefault
ctaNo
avisosYes
ajustesYes
muestraYes
coincidenYes
disclosureNo
criterios_limpiosYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed50 schema fields changed
    • removedOutput schema / properties / muestra / items / properties / appraisal / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / appraisal / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / cadastral / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / cadastral / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / cadastralReview / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / cadastralReview / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / closedAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / closedAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / contentUpdatedAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / contentUpdatedAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / cp / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / cp / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / daysLeft / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / daysLeft / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / deposit / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / deposit / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / discount / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / discount / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / end / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / end / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / finalBid / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / finalBid / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / imageUrl / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / imageUrl / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / lat / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / lat / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / links / properties / catastroPdf / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / links / properties / catastroPdf / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / links / properties / streetView / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / links / properties / streetView / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / lon / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / lon / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / m2 / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / m2 / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / minimumBid / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / minimumBid / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / municipalitySlug / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / municipalitySlug / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / occupied / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / occupied / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / provinceSlug / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / provinceSlug / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / ref / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / ref / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / status / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / status / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / valueAuction / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / valueAuction / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / muestra / items / properties / valueM2 / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / muestra / items / properties / valueM2 / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / muestra / items / properties / cadastralReview
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / muestra / items / required
      Previous value: -[
      -  "id",
      -  "type",
      -  "isNew",
      -  "title",
      -  "address",
      -  "municipio",
      -  "provincia",
      -  "cp",
      -  "ref",
      -  "provinceSlug",
      -  "municipalitySlug",
      -  "end",
      -  "contentUpdatedAt",
      -  "daysLeft",
      -  "valueAuction",
      -  "valueM2",
      -  "minimumBid",
      -  "deposit",
      -  "appraisal",
      -  "occupied",
      -  "discount",
      -  "m2",
      -  "status",
      -  "cadastral",
      -  "imageUrl",
      -  "lat",
      -  "lon",
      -  "lot",
      -  "finalBid",
      -  "resultStatus",
      -  "closedAt",
      -  "phase",
      -  "url",
      -  "links",
      -  "fuente"
      -]New value: +[
      +  "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"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / muestra / items / properties / phase / enum
      Previous value: -[
      -  "activa",
      -  "historica",
      -  "descartada"
      -]New value: +[
      +  "activa",
      +  "historica",
      +  "descartada",
      +  "suspendida"
      +]
  4. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / criterios / additionalProperties
      Added value: +false
  5. Changed1 schema field changed
    • addedInput schema / properties / criterios / description
      Added value: +"Filtros que debe cumplir una subasta para disparar la alerta: provincias, municipios, tipo de inmueble, precio, superficie y ocupación."
  6. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the read-only/idempotent annotations: it requires an authenticated account with scope `alertas:read`, and Pro-only criteria (scoreMin, discountMinPct) are silently ignored on non-Pro plans with a report in `ajustes`. These are exactly the non-obvious 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.

Conciseness5/5

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

A single compact paragraph, front-loaded with the primary purpose, followed by auth and plan constraints. Every sentence carries operational information with no filler.

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?

Given the read-only preview nature, an output schema, and 100% schema coverage, the description supplies everything else an agent needs: when to call it, auth scope, Pro-plan degradation behavior, and the shape of the returned warnings. Nothing material 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% and the nested criteria object is already well documented, so the baseline is 3. The description earns an extra point by explaining the Pro-gating behavior for scoreMin and discountMinPct: they are ignored and surfaced in `ajustes`, which the schema only notes as 'requiere plan Pro'.

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?

States a specific verb (previsualizar) and resource (alerta) and specifies exactly what it returns: match count now, a sample, and warnings with `fix` for suspicious criteria. The opening 'Antes de crear una alerta' explicitly distinguishes it from the sibling alertas_crear.

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

Usage Guidelines4/5

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

Clearly frames the usage context ('Antes de crear una alerta'), which implies alertas_crear is the follow-up action. It doesn't explicitly state exclusions or say 'use alertas_crear to actually create', but the routing is clear enough.

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.

Resources