Skip to main content
Glama

get_vouchers_history

Read-onlyIdempotent

Retrieve complete voucher redemption history across hotel and flight bookings, including usage dates, guest emails, booking details, and discount amounts for audits and analytics.

Instructions

Overview

Get a complete history of all voucher redemptions across your system, showing which vouchers were used, when, and for which bookings.

When to Use

  • Usage analytics - Track voucher redemption patterns

  • Performance reporting - See which vouchers are most popular

  • Audit trail - Maintain records of voucher usage

  • Marketing insights - Understand voucher effectiveness

What You Get

  • Usage records - Each voucher redemption with full details

  • Booking information - Booking IDs and hotel or flight names where vouchers were used

  • Guest details - Email addresses of guests who used vouchers

  • Discount amounts - Total discount applied per usage

  • Timestamps - When each voucher was redeemed

Quick Start

No parameters required. Returns complete usage history for all vouchers across hotel and flight bookings, including booking details and discount amounts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 the safety profile is covered. The description usefully enumerates what is returned (booking IDs, guest emails, discount amounts, timestamps), but for a query explicitly labeled 'complete history' it never mentions pagination, result size, or whether the whole dataset is dumped in one response.

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?

Headings make it scannable and the key point is front-loaded, but the content is padded for a no-argument tool: the 'Quick Start' paragraph largely restates the Overview and 'What You Get' sections, so several sentences do not earn their place.

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 'What You Get' section appropriately carries the burden of describing the return payload, and no parameters need explaining. The main gap is the absence of any note on result volume or pagination for an unbounded 'all redemptions' query.

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 states 'No parameters required,' which matches the empty schema, and adds no misleading parameter claims.

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 description states a specific verb and resource: 'Get a complete history of all voucher redemptions across your system, showing which vouchers were used, when, and for which bookings.' This distinguishes it from voucher-definition siblings like get_vouchers and get_vouchers_voucherid by emphasizing redemption records, though no sibling is named explicitly.

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 scenarios (usage analytics, performance reporting, audit trail, marketing insights) that imply context, but these are generic business purposes rather than decision guidance. It never says when to prefer this over get_vouchers_voucherid for a single voucher or get_guests_guestid_vouchers for per-guest usage.

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