Skip to main content
Glama

Search leads and bookings

hostfully_search_leads
Read-only

Search leads — Hostfully's word for bookings, inquiries, booking requests and calendar blocks — by agency, property or UIDs, and by check-in/check-out date. Returns status, type, channel, dates and guest info. Give at least one of agency_uid (or the default), property_uid, or lead_uids. Cursor-paginated. Hostfully: GET /api/v3.3/leads.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoPage size, 1-100.
cursorNoCursor from the previous page's _paging._nextCursor. Omit for the first page.
lead_uidsNoOnly these lead UIDs.
agency_uidNoAgency UID. Defaults to HOSTFULLY_AGENCY_UID; hostfully_list_agencies lists the options.
check_in_toNoCheck-in on or before (YYYY-MM-DD).
check_out_toNoCheck-out on or before (YYYY-MM-DD).
property_uidNoOnly leads for this property.
check_in_fromNoCheck-in on or after (YYYY-MM-DD).
updated_sinceNoOnly records updated since this UTC time, e.g. 2026-04-20T11:52:36.
check_out_fromNoCheck-out on or after (YYYY-MM-DD).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only assert readOnlyHint=true, and the description is consistent with that while adding real context: the return contents (status, type, channel, dates, guest info), the cursor-pagination behavior, and the minimum-filter requirement. It stops short of noting rate limits or whether the default agency scope can be broadened.

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?

Three short sentences, front-loaded with the domain definition and filter axes, followed by return contents and the invocation constraint. No filler, and the API endpoint reference is compact.

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 no output schema, the description compensates by enumerating returned fields, and pagination is covered via the cursor parameter. An agent has everything needed to call it correctly; only edge behavior (e.g., max result windows, behavior when both date ranges and UIDs are combined) is unstated.

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 already 100%, so the schema does the heavy lifting, but the description adds semantics the schema lacks: agency_uid silently falls back to a default, and at least one of agency_uid/property_uid/lead_uids must be supplied. That cross-parameter constraint is genuinely beyond the per-field descriptions.

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 (search) and resource (leads), and explicitly defines the domain term: 'Hostfully's word for bookings, inquiries, booking requests and calendar blocks.' It also enumerates the filter axes (agency, property, UIDs, check-in/out), so an agent can distinguish it from hostfully_get_lead or hostfully_create_lead without opening a 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 a concrete invocation constraint — 'Give at least one of agency_uid (or the default), property_uid, or lead_uids' — which tells the agent what a valid call looks like. It does not, however, route the agent between alternatives (e.g., when to prefer hostfully_get_lead for a single record), so it stops short of full when/when-not guidance.

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.