Skip to main content
Glama

post_analytics_markets

Read-only

Analyze hotel bookings and sales by customer nationality for a date range to see which countries drive revenue, bookings, and market distribution.

Instructions

Overview

Analyze your bookings and sales by customer nationality/market. Understand which countries drive the most business.

When to Use

  • Market analysis - Identify top-performing markets

  • Geographic insights - Understand customer distribution

  • Marketing optimization - Focus efforts on high-value markets

  • Business intelligence - Track performance by nationality

What You Get

  • Sales by nationality - Total sales per customer country

  • Booking counts - Number of bookings per market

  • Currency information - Sales currency for each market

  • Ranked results - Markets sorted by performance

Quick Start

Provide a date range. Returns sales and booking data grouped by customer nationality (ISO country code).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesEnd date for the market analytics YYYY-MM-DD (ISO 8601)
fromYesStart date for the market analytics YYYY-MM-DD (ISO 8601)

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=true, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is covered and the POST-verb/read-only pairing is not contradictory. The description adds useful disclosure about result content (sales, booking counts, currency, ranked ordering), which matters because there is no output schema. It does not mention permissions, timezone handling, result size limits, or pagination.

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?

It is well front-loaded and sectioned, so an agent can scan it quickly, but the content is padded: 'Business intelligence - Track performance by nationality' merely restates the overview, and 'Ranked results - Markets sorted by performance' duplicates 'Ranked results'. Several bullets could be merged without losing information.

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 usefully compensates by enumerating the returned fields (sales by nationality, booking counts, currency, ranked ordering) and the grouping key (ISO country code). Combined with the required date range, an agent has enough to call it correctly. It is only slightly short on operational detail such as timezone and maximum range.

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

Parameters3/5

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

Schema description coverage is 100%: both 'from' and 'to' are documented in the schema with the YYYY-MM-DD ISO 8601 format. The description only restates 'Provide a date range' and adds no format, timezone, or range-bound semantics beyond that. Baseline 3 is correct when the schema carries the parameter documentation.

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?

The overview states a specific verb and resource: analyze bookings and sales grouped by customer nationality/market. That is enough to separate it from post_analytics_hotels and post_analytics_weekly by subject matter. However, it never acknowledges the near-duplicate siblings get_bookings_guest_nationality_report and get_bookings_source_markets_report, so the distinction from those is left to the agent to guess.

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' block lists business scenarios (market analysis, geographic insights, marketing optimization) but none of them are tool-selection criteria — they describe what the output is good for, not when this tool beats an alternative. With several overlapping market/nationality report siblings present, the absence of any routing guidance is a real gap. Usage is implied at best.

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