Skip to main content
Glama
Flight Search MCP
by sickn33

get_stay_checkout_link

Read-only

Generates an external checkout link for a selected Lastminute room or package rate, enabling users to proceed to booking.

Instructions

Generate the external checkout link for a selected Lastminute room or package rate.

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": {
      "pricingId": "<pricingId>",
      "rateId": "<rateId>"
    },
    "name": "get_stay_checkout_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateIdYes
pricingIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.9

TDQS

B3.1/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 and outward-facing nature are covered. The description adds that the output is an external checkout link, which reinforces the open-world hint. It does not disclose link lifetime, whether it reserves inventory, or whether a session/auth context is required — relevant gaps for a checkout handoff.

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?

A single front-loaded sentence with the verb and output front and the scope qualifier after it. No filler, though the terseness is part of why key details are missing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, no parameter descriptions, and no annotations covering link semantics, the description should explain what the caller receives and what the IDs are. It says only that a link is generated, leaving the caller to guess the return type and parameter provenance for a two-required-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, yet it only vaguely gestures at 'a selected room or package rate.' It does not explain what pricingId vs rateId represent, how they differ, or where the agent should source them, leaving two required parameters effectively undocumented.

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 specific verb+resource: 'Generate the external checkout link,' scoped to 'a selected Lastminute room or package rate.' An agent can tell this produces a URL for a chosen rate rather than searching or comparing offers. It stops short of naming a sibling, but the action is unmistakable.

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

Usage Guidelines3/5

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

'For a selected ... rate' implies a prerequisite (a rate must already be chosen), which is useful context. However, it never says how to obtain that selection, nor points to alternatives such as compare_checkout_quotes or inspect_stay_or_package, so the agent must infer the sequence on its own.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.