Skip to main content
Glama

Add hotel

create_hotel

Add a hotel to the directory so a stay can be recorded there. Search with search_hotels first to avoid duplicates. Returns the hotel with its id. Requires gig-operations access. Runs on the first call; there is no confirmation step.

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

Input Schema

NameRequiredDescriptionDefault
nameYeshotel name, for example "Hotel Van Zandt"
brandNochain or brand, for example "Kimpton"
notesNonotes about the property
addressNostreet address
websiteNohotel website
phone_numberNofront desk phone
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: the hotel: { id, name, address, latitude, longitude, phone_number, website, notes, place_id, photo_url, photo_display_url, brand, star_rating, check_in_time, check_out_time, parking, shuttle, breakfast, and 22 more fields } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (which already declare this is a non-read-only, non-idempotent, non-destructive write), the description adds the access requirement ("Requires gig-operations access") and the confirmation behavior ("Runs on the first call; there is no confirmation step"). Those are exactly the facts an agent needs before committing a mutation and cannot be derived from the annotation block.

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?

Four short sentences, each with a distinct job: purpose, dedupe prerequisite, return value, auth and execution semantics. Nothing is repeated from the title or schema and the most decision-relevant content comes first.

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?

For a 7-parameter mutation with a nested address object, the definition covers purpose, deduplication, authorization, lack of confirmation, and that an id is returned. With annotations and an output schema already present, no gap remains that would cause a misinvocation.

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%, including the nested address object and the organization_id fallback behavior, so the schema carries the parameter burden. The description adds no field-level meaning beyond it, which is the expected baseline here rather than a deficiency.

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?

The description opens with a specific verb and resource ("Add a hotel to the directory") and adds the downstream reason ("so a stay can be recorded there"), which tells an agent exactly what the tool creates. It is clearly separable from the sibling search_hotels, which it names explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It gives an explicit prerequisite action ("Search with search_hotels first to avoid duplicates"), which functions as a when-not-to-use rule against duplicate creation. It also discloses that the operation executes immediately with no confirmation, so the agent knows there is no preview step to sequence around.

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.