Skip to main content
Glama

List hotel types

get_data_hoteltypes
Read-onlyIdempotent

Retrieve available hotel type classifications and their IDs, enabling you to filter hotel searches by type.

Instructions

Overview

Get all available hotel type classifications (e.g., resort, boutique, business hotel). Use type IDs to filter hotel searches.

When to Use

  • Type filters - Filter hotels by type in search

  • Type display - Show hotel type classifications

  • Reference data - Get hotel type IDs for filtering

What You Get

  • Hotel type list - All available hotel types

  • Type IDs - Numeric IDs for use in search filters

  • Type names - Hotel type classifications

Quick Start

No parameters required. Returns all hotel types with IDs. Use type IDs in hotel search filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety semantics are covered. The description adds little beyond that: 'No parameters required. Returns all hotel types with IDs' is useful scoping, but pagination, rate limits, and result-size behavior are unaddressed.

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?

Four markdown sections for a no-argument reference lookup is over-structured; 'What You Get' and 'Quick Start' largely restate each other. Front-loading the core action is good, but roughly half the text is redundant.

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?

With no output schema, the description needs to convey returns, and it does list hotel type list, numeric IDs, and type names. For a zero-parameter reference tool this is close to sufficient, though it omits any mention of ordering or completeness guarantees.

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?

The tool takes zero parameters, so the baseline is 4; the description correctly confirms no parameters are required rather than inventing any. Nothing further is needed.

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: 'Get all available hotel type classifications (e.g., resort, boutique, business hotel)', which is unambiguous. It does not explicitly distinguish itself from reference-data siblings like get_data_chains or get_data_facilities, but the referenced resource is narrow enough to be clear.

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 'When to Use' section gives three concrete contexts (type filters in search, type display, reference data for IDs), which is clear guidance. No exclusions or named alternatives are given, so it falls short of a 5.

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