Skip to main content
Glama

Status Lark

Cheapest path to a hotel tier

hotel_optimise
Read-only

For one hotel programme (ALL, BWR, CHO, GHA, HH, IHG, MR, MEL, OKU, RAD, SCA, SLC, TAJ, HY, WYN) and target tier, returns the qualifying paths (nights, stays, points or spend), elite-night shortcuts such as co-brand cards, and outright status grants, from the member's progress this year. Progress figures are used for this reply only.

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": {
      "programme": "<programme>",
      "targetTier": "<targetTier>"
    },
    "name": "hotel_optimise"
  }
}

Input Schema

NameRequiredDescriptionDefault
programmeYes
targetTierYes
currentSpendNoEligible spend so far, in the programme's own spend currency (shown on each spend path).
currentStaysNo
currentNightsNo
currentSpendUsdNoDeprecated: USD spend; used only when the target tier's spend is in USD. Prefer currentSpend.
currentBasePointsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description usefully adds that 'progress figures are used for this reply only', clarifying that supplied progress is not persisted. It still says nothing about tier-name validation failures or how the answer changes when progress inputs are absent, but the non-persistence disclosure is real added context.

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?

The core capability is front-loaded in the first clause, and the second sentence is a short, purposeful disclosure about data use. The inline enumeration of fifteen programme codes is pure repetition of the schema enum and is the one expendable element.

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

Completeness3/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 does a decent job of previewing the return shape (paths, shortcuts, grants), which is the most valuable thing it could add. But for a 7-parameter tool with thin schema coverage it leaves the required targetTier format and the role of the optional progress inputs unexplained, and it does not distinguish itself from close siblings.

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 only 29%: currentNights, currentStays, currentBasePoints, and the required targetTier have no descriptions at all. The description repeats the programme enum verbatim (which the schema already provides) and never clarifies the format expected for targetTier nor that the progress fields are optional inputs that alter the returned paths, so it does not compensate for the coverage gap.

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 and resource: returns qualifying paths (nights, stays, points, spend), elite-night shortcuts, and outright status grants for one hotel programme and target tier. The scope is unmistakable, but it never names or differentiates itself from plausible siblings such as my_progress, programme_ladder, or tier_run, so the agent must infer the routing.

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?

Usage is only implied by 'for one hotel programme and target tier' — it tells you the shape of a call, not when to prefer it over my_progress or programme_ladder. There are no exclusions, no prerequisites, and no statement about what happens if progress inputs are omitted.

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