Skip to main content
Glama

Rentoplan

Draft a request to owners

create_booking_request

Draft a request to the owners or agents of up to 5 listings the person chose (listings whose booking mode is "request" or "instant_host"): their dates, number of guests, a message. Nothing is sent by this call. It returns request_id and confirm_url, a page of ours where the person signs in (e-mail link or WhatsApp code), checks the request, fills in their name and phone and presses Send. Then each listing gets the same request as on its own page: we ask the owner or agent and pass the answer back. Listings booked on their own page (hotels, partners) are returned in skipped with their address; so are listings whose terms do not fit the dates, with the reason. The draft lasts 48 hours.

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": {
      "listing_ids": "<listing_ids>"
    },
    "name": "create_booking_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the pages we link to (and of names where we have them). Default en.
guestsNo
messageNoWhat the person wants the owners to know, in their words. Contacts are removed: they are exchanged once the owner agrees.
check_inNoMove-in or arrival. Required to rent; to buy, leave out (a viewing request).
check_outNoMove-out or departure.
listing_idsYesListing ids, in the person's order of preference.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well past the annotations by disclosing that no message is sent, that the draft expires in 48 hours, that contacts are stripped from the message until the owner agrees, and that unfitting or partner-booked listings come back in 'skipped' with address or reason. That is the kind of mutating-but-non-destructive, human-gated behavior an agent needs, and it is consistent with readOnlyHint=false and destructiveHint=false.

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?

The purpose is front-loaded, but the prose sprawls into long run-on sentences ('Then each listing gets the same request as on its own page: we ask the owner or agent and pass the answer back') and mixes input constraints, return values, and post-call workflow in one block. It is informative but could be tightened considerably.

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?

With six parameters, no output schema, and only partial annotation coverage, the description supplies the missing pieces: return fields, the sign-in/confirm handoff, the skipped-listings case, and draft lifetime. An agent has everything needed to call it correctly and to explain next steps to the user.

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 83%, and the description still adds meaning: listing_ids are the person's ordered preferences, capped at 5, and must be listings with booking mode 'request' or 'instant_host'. It restates dates/guests/message without adding format detail beyond what the schema documents.

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?

States a concrete verb and resource: 'Draft a request to the owners or agents of up to 5 listings', and describes the outcome (request_id, confirm_url) and the draft-then-send flow. It does not name or contrast any sibling such as get_request_status or search_listings, so an agent must infer the boundary from the described two-step workflow 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?

Gives real usage context: 'Nothing is sent by this call', the person must sign in via e-mail link or WhatsApp code and press Send on the confirm_url page, and the draft lasts 48 hours. It also scopes which listings qualify (booking mode 'request' or 'instant_host'). Missing is explicit guidance on when to prefer this over get_request_status or a direct listing booking.

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