Skip to main content
Glama

datasets_airbnb_facets

Read-only

Returns suppressed distribution counts over the Airbnb markets dataset, honoring the same filters as search. Facet enum: country, market, currency, superhost, guest_favorite, rating_band, review_band, admin1 (top subdivision), locality (settlement), room_type (entire_place/private_room/hotel/shared_room), property_type (Airbnb's canonical listing type from the detail page), amenities (each amenity with the count of listings offering it). The admin1, locality, room_type, property_type and amenities facets stay empty until their enrichment coverage is high enough to be reliable. group_by enum: country, market, admin1, locality, room_type, property_type. active_since: Optional freshness filter, an ISO-8601 date (YYYY-MM-DD); only listings last seen on or after it are counted. page_size: Page size, default 20, max 100; page times page_size must not exceed 10000. Use datasets_airbnb_search to search the Airbnb markets dataset (aggregate market rollups).

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": {
      "facet": "<facet>"
    },
    "name": "datasets_airbnb_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: listings_desc, superhost_pct_desc, rating_desc, key_asc. Defaults to listings_desc.
facetYesRequired facet to aggregate. Allowed values: country, market, currency, superhost, guest_favorite, rating_band, review_band, admin1, locality, room_type, property_type, amenities. Enrichment-derived facets include coverage counts and percentage; buckets stay empty below the 20% minimum visibility gate. The amenities facet returns each amenity with the count of listings offering it.
marketNoOptional exact metro-market filter, e.g. Paris.
countryNoOptional ISO-3166-1 alpha-2 country filter, e.g. FR.
group_byNoAggregate cell dimension. Allowed values: country, market, admin1, locality, room_type, property_type. Defaults to country. admin1 (top subdivision), locality (settlement), room_type (entire_place/private_room/hotel/shared_room) and property_type (Airbnb's canonical listing type from the detail page) are enrichment-derived. Their responses include coverage counts and percentage; buckets stay empty below the 20% minimum visibility gate.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
superhostNoOptional filter to count only Superhost listings.
min_ratingNoOptional minimum listing rating, from 0 through 5.
active_sinceNoOptional freshness filter, an ISO-8601 date (YYYY-MM-DD); only listings last seen on or after it are counted.
min_listingsNoOptional minimum listings per cell; raises the small-cell suppression floor, which is never lowered below the built-in minimum.
guest_favoriteNoOptional filter to count only Guest Favorite listings (an observed lower bound; the badge under-counts).
min_review_countNoOptional minimum listing review count, 0 or greater.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / facet / description
      Previous value: -"Required facet to aggregate. Allowed values: country, market, currency, superhost, guest_favorite, rating_band, review_band, admin1, locality, room_type, property_type, amenities. admin1, locality, room_type, property_type and amenities stay empty until their enrichment coverage is high enough to be reliable. The amenities facet returns each amenity with the count of listings offering it."New value: +"Required facet to aggregate. Allowed values: country, market, currency, superhost, guest_favorite, rating_band, review_band, admin1, locality, room_type, property_type, amenities. Enrichment-derived facets include coverage counts and percentage; buckets stay empty below the 20% minimum visibility gate. The amenities facet returns each amenity with the count of listings offering it."
    • changedInput schema / properties / group_by / description
      Previous value: -"Aggregate cell dimension. Allowed values: country, market, admin1, locality, room_type, property_type. Defaults to country. admin1 (top subdivision), locality (settlement), room_type (entire_place/private_room/hotel/shared_room) and property_type (Airbnb's canonical listing type from the detail page) are enrichment-derived; they stay empty until their coverage is high enough to be reliable."New value: +"Aggregate cell dimension. Allowed values: country, market, admin1, locality, room_type, property_type. Defaults to country. admin1 (top subdivision), locality (settlement), room_type (entire_place/private_room/hotel/shared_room) and property_type (Airbnb's canonical listing type from the detail page) are enrichment-derived. Their responses include coverage counts and percentage; buckets stay empty below the 20% minimum visibility gate."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only say read-only/open-world/non-idempotent; the description adds real behavioral substance beyond them — small-cell suppression, a 20% visibility gate, enrichment-derived facets returning empty buckets until coverage is sufficient, and the page × page_size ≤ 10000 cap. It doesn't explain why the call is non-idempotent (freshness/refresh semantics), which is the one behavioral question left open.

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?

Behavior and suppression constraints are front-loaded well, but two full enum listings (facet and group_by) duplicate the schema word-for-word and pad the description considerably. Roughly half the text could be cut with no loss of information.

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?

For a 13-parameter read-only aggregation tool with full schema coverage and an output schema, the definition covers the non-obvious parts an agent needs: suppression floor, visibility gate, empty-enrichment facets, pagination cap, and sibling routing. Only the non-idempotency implication and the min_listings interaction with the suppression floor (only hinted at via the schema) are left thin.

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 schema already documents facet, group_by, active_since, page_size and the rest in equivalent wording. The description largely restates those enums verbatim and adds little semantic value beyond noting which facets are enrichment-derived and can return empty — which is already in the schema too. 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?

States a specific verb and resource ('returns suppressed distribution counts over the Airbnb markets dataset') and explicitly contrasts itself with the search tool. An agent can tell this is the aggregation/facet tool rather than the listing-search tool 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 Guidelines4/5

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

Explicitly routes the agent to datasets_airbnb_search when it wants to search rather than aggregate, and 'honoring the same filters as search' tells the agent filters carry over. What's missing is a clear statement of when a facet aggregation is the right call (e.g. building a breakdown before paging into search), and the parenthetical '(aggregate market rollups)' attached to the search tool is a mildly confusing characterization of a sibling.

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.