Skip to main content
Glama

Buscar (búsqueda profunda)

search
Read-onlyIdempotent

Búsqueda de texto libre en subastas para la búsqueda profunda (deep research): devuelve hasta 10 resultados con id, título y URL. El título es la línea resumen de la ficha reducida (sin dirección exacta ni importes exactos). Para buscar con filtros (provincia, tipo, precio…) usa buscar_bienes. Consume 1 búsqueda de la cuota mensual (repetirla en 60 minutos es gratis). Sin cuenta, solo subastas finalizadas.

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": {
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesTexto libre: tipo de bien, municipio, calle, referencia…

Output Schema

NameRequiredDescriptionDefault
errorNoCódigo de error del API, si la llamada falla.
totalNo
accesoNo
activasNo
messageNo
resultsNo
_limitesNoCupos y rate limit restantes tras la llamada.
consultadasNo
cuota_busquedasNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false), and the description adds substantial behavior beyond them: result cap of 10, the returned fields (id, título, URL), the caveat that the title is a reduced summary with no exact address or amounts, quota consumption rules, and the no-account limitation. These are exactly the operational facts an agent cannot infer from structured fields.

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?

Front-loads the core purpose, then folds the return shape, the sibling alternative, and the quota/account constraints into a few tight sentences with no filler. Every clause carries decision-relevant 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?

Although an output schema exists, the description still sketches the return shape and its truncation caveat, and covers cost, rate-limit behavior, and auth scope for a one-parameter search tool. Nothing an agent needs to call this correctly and predict the response is missing.

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?

There is a single parameter with 100% schema description coverage that already lists what the free text may contain (tipo de bien, municipio, calle, referencia) and the 200-character limit. The description adds only the framing "texto libre" and no extra syntax or formatting guidance, so the schema is doing the heavy lifting — baseline 3.

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 and resource ("búsqueda de texto libre en subastas") scoped to deep research, and names the sibling it is not (buscar_bienes for filtered queries). An agent can distinguish it from buscar_bienes, buscar_por_codigo and ver_bien without opening any 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?

Explicitly routes the agent: free-text here, filtered searches (provincia, tipo, precio) to buscar_bienes. It also gives the conditions an agent needs before deciding to call it — monthly quota cost, the free 60-minute repeat window, and the anonymous-user restriction to finished auctions.

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.