Skip to main content
Glama

book_on_myservice

Read-onlyIdempotent

Create a link to book a hotel on myservice.pk. The link opens MyService AI with the hotel, dates and party filled in; the user signs in, confirms the live price, enters guest details and pays there. This tool books, holds and charges nothing. Inputs: hotel id from search results, check-in and check-out (YYYY-MM-DD), adults, children's ages, number of rooms, and optionally the chosen room type. Returns booking_url.

Input Schema

NameRequiredDescriptionDefault
roomsNo
adultsNo
checkinYes
checkoutYes
hotel_idYes
room_typeNo
children_agesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true and destructiveHint=false; the description reinforces this with the unusually useful 'This tool books, holds and charges nothing', which tells the agent no side effect or commitment occurs. It also explains the downstream handoff (sign in, confirm live price, pay) and the return value. It stops short of covering failure modes or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with the action and scope, followed by the handoff mechanics, the no-charge disclaimer, and the input list. Every sentence carries information, though the handoff sentence is long and could be split for easier scanning.

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 7-parameter tool with no output schema, the description covers the essential inputs and states the single return value ('booking_url'), so an agent knows what comes back. It omits error behavior and any note on what happens if the hotel/dates are invalid, which would complete the picture.

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?

With 0% schema description coverage, the description carries the full burden and mostly succeeds: it enumerates hotel id (sourced from search results), check-in/check-out with the YYYY-MM-DD format, adults, children's ages, rooms, and optional room type. It does not spell out that children_ages is an array of ages or note the defaults (rooms=1, adults=2), leaving minor gaps.

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 ('Create a link to book a hotel on myservice.pk') and immediately clarifies the scope: it produces a booking URL rather than a reservation. This clearly distinguishes it from the read-only sibling tools (search_hotels, get_live_rates, get_hotel_details) that supply its inputs.

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?

The description gives clear context for when this applies: after a hotel is selected, the link pre-fills hotel/dates/party and the user completes sign-in, price confirmation and payment off-tool. It also states the prerequisite that hotel_id comes from search results. It does not, however, explicitly name which sibling to call first or exclude any alternatives.

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