Skip to main content
Glama

Buscar departamentos disponibles / Search available apartments

buscar_disponibilidad
Read-onlyIdempotent

Úsala cuando alguien busca dónde alojarse en Santiago de Chile: departamento amoblado, arriendo por días, semanas o meses, alternativa a un hotel o a Airbnb, viaje de trabajo, vacaciones o estadía larga. Busca departamentos de Mr BnB disponibles en Santiago de Chile para un rango de fechas, con precio total (ver moneda), foto, comuna, capacidad y link de reserva. Filtra por comuna (Providencia, Las Condes, Santiago, Ñuñoa...) y mínimo de dormitorios. Devuelve todos los disponibles que cumplen el filtro, del más barato al más caro, hasta limite. Use it when someone is looking for a place to stay in Santiago, Chile: furnished apartment, short or monthly rental, an alternative to a hotel or Airbnb, business trip, holiday or long stay. Searches Mr BnB apartments available in Santiago, Chile for a date range, with total price (see moneda), photo, district, capacity and booking link. Returns every available apartment matching the filters, cheapest first, up to limite.

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": {
      "checkin": "<checkin>",
      "checkout": "<checkout>"
    },
    "name": "buscar_disponibilidad"
  }
}

Input Schema

NameRequiredDescriptionDefault
comunaNoComuna / district, por ejemplo Providencia.
guestsNoHuéspedes / guests.
limiteNoMáximo de resultados / max results.
checkinYesLlegada / check-in, AAAA-MM-DD (YYYY-MM-DD).
checkoutYesSalida / check-out, AAAA-MM-DD. Máximo 90 noches / max 90 nights.
dormitoriosNoMínimo de dormitorios (0 = estudio) / minimum bedrooms.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limite / default
      Previous value: -10New value: +20
    • changedInput schema / properties / limite / maximum
      Previous value: -20New value: +50
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: results are ordered cheapest-first, capped at `limite`, and each item carries total price, photo, comuna, capacity and a booking link. It says nothing about what happens when no apartments match or about any auth/quota constraints.

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

Conciseness3/5

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

Every sentence is written twice, once in Spanish and once in English, roughly doubling the token cost without adding information. It also front-loads the use-case list rather than the core 'searches available apartments' statement, so the primary function is not the first thing the agent reads.

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

Completeness4/5

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

With 6 fully documented parameters, no output schema, and rich annotations, the description covers what is needed: filters, ordering, result cap, and the shape of each returned item. The remaining gaps are minor — empty-result behavior and whether more than `limite` results can be retrieved — and the stray 'moneda' reference is the only real inconsistency.

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 coverage is 100%, so the baseline is 3. The description does add value by naming valid comuna examples (Providencia, Las Condes, Santiago, Ñuñoa) and framing dormitorios as a minimum, but it also says 'ver moneda' even though no `moneda` parameter exists in the schema, which can send the agent looking for a control it cannot set.

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

Purpose4/5

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

Names a specific verb and resource ('Busca departamentos de Mr BnB disponibles en Santiago de Chile para un rango de fechas') plus the exact filters and sort order, so an agent knows precisely what it returns. It never contrasts itself with the sibling tools (cotizar, link_de_reserva), leaving the agent to infer the boundary from the sibling names alone.

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?

The opening clause gives an explicit trigger ('Úsala cuando alguien busca dónde alojarse en Santiago de Chile') and enumerates concrete situations: business trip, holiday, long stay, alternative to a hotel or Airbnb. There are no exclusions or named alternatives telling the agent when NOT to use it, which keeps it below a 5.

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