Skip to main content
Glama

get_data_hoteltypes

Read-onlyIdempotent

Get all hotel type classifications and their IDs to filter hotel searches by resort, boutique, business, or other categories.

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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, covering the safety profile. The description adds useful context that it takes no parameters and returns all types with numeric IDs. With annotations carrying the behavioral load, this is adequate but not rich.

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

Conciseness2/5

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

Four markdown sections (Overview, When to Use, What You Get, Quick Start) are used to convey one simple fact: this returns all hotel type IDs with no input. 'When to Use' and 'What You Get' substantially overlap, and the Quick Start repeats the same claim again.

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 no-parameter reference-data lookup with no output schema, the description tells the agent what it returns (type IDs and names) and how to use them. Nothing critical is missing, though the repetition dilutes signal.

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 zero parameters, the baseline is 4. The description correctly notes 'No parameters required,' which is all that is needed for an empty schema.

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: retrieving all hotel type classifications (resort, boutique, business hotel). The resource is clearly distinct from sibling reference-data tools like get_data_hotel, get_data_facilities, and get_data_chains, though it never explicitly contrasts itself with them.

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?

The 'When to Use' section lists contexts (type filters, type display, reference data), but these three bullets essentially restate the same idea (get IDs to use in search filtering). No exclusions, prerequisites, or named alternative tools are given.

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

Deploy Server

Other Tools