Skip to main content
Glama

datasets_airbnb_hosts_facets

Read-only

Returns host counts grouped by superhost, identity_verified, listing_count_band, hosting_years_band, interest, verification or location, honoring the same filters as search. Use it to size or compare a segment of Airbnb hosts before running datasets_airbnb_hosts_search.

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_hosts_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text query over host name and bio, max 256 characters.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: review_count_desc, listing_count_desc, hosting_years_desc, relevance. Defaults to relevance with q, otherwise review_count_desc.
facetYesRequired facet to aggregate. Allowed values: superhost, identity_verified, listing_count_band, hosting_years_band, interest, verification, location.
interestNoOptional exact interest, as returned by the interest facet, e.g. Architecture.
locationNoOptional free-text match over the profile location, e.g. Portugal or Lisbon. Every word must match. Hosts write this field themselves, so spellings vary.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
min_reviewsNoOptional minimum total guest reviews received, 0 or greater.
is_home_hostNoOptional filter on the home-host flag.
is_superhostNoOptional filter: true keeps only Superhosts, false keeps only hosts without the badge.
max_listingsNoOptional maximum number of listings the host manages, 0 or greater.
min_listingsNoOptional minimum number of listings the host manages, 0 or greater.
verificationNoOptional exact verification, as returned by the verification facet, e.g. Identity.
identity_verifiedNoOptional filter: true keeps only hosts whose identity is verified.
min_hosting_yearsNoOptional minimum years of hosting, 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. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds that the tool honors the same filter set as search, which is useful behavioral context. However, it does not explain why page/page_size exist on an aggregation tool or how the counts are bounded, and idempotentHint=false on a read-only aggregation is left unaddressed. With annotations carrying most of the load, a 3 is appropriate.

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?

Two sentences, zero waste. The output shape is front-loaded, and the second sentence carries the workflow routing. No redundant restatement of the schema.

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 15-parameter tool, summarizing the 14 optional filters as 'honoring the same filters as search' is an efficient way to cover them without enumerating, and an output schema exists so return values need not be described. The only meaningful gap is the unexplained pagination behavior on a facet aggregation.

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 all 15 parameters are already documented in the schema, including facet enum values and filter semantics. The description restates the facet list and points to the shared filter set but adds no new syntax, interaction, or precedence detail. Baseline 3 is correct when the schema does the heavy lifting.

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 ('Returns') and resource ('host counts') plus the exact grouping dimensions (superhost, identity_verified, listing_count_band, etc.), and explicitly contrasts with the sibling datasets_airbnb_hosts_search. An agent can tell it apart from the search tool without opening either 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?

Gives concrete workflow guidance: 'Use it to size or compare a segment of Airbnb hosts before running datasets_airbnb_hosts_search.' That establishes a clear when-to-use and names the alternative. It stops short of stating when not to use it (e.g., when you already know the segment and want records).

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.