Skip to main content
Glama

MAQAMI Travel

get_vouchers_voucherid

Read-onlyIdempotent

Overview

Get complete details for a specific voucher by its ID, including discount rules, validity, and usage information.

When to Use

  • Voucher lookup - Find details for a specific voucher code

  • Validation - Verify voucher details before applying to bookings

  • Details display - Show voucher information to customers

  • Support - Look up voucher information during customer service

What You Get

  • Complete voucher details - All information about the voucher

  • Discount rules - Type, value, minimum spend, maximum discount

  • Validity information - Start/end dates and current status

  • Usage data - Current usage count and remaining uses

Quick Start

Provide the voucher ID in the URL path. Returns complete voucher information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
voucherIDYesUnique identifier of the voucher to retrieve

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered structurally. The description adds useful content disclosure ('What You Get') but no behavioral traits such as error cases, missing-ID behavior, or permission requirements beyond what annotations provide.

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 front-loaded and clearly sectioned, which helps scanning, but it is over-sized for a single-parameter lookup and contains tautological filler such as 'Complete voucher details - All information about the voucher' that duplicates the heading.

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 read-only lookup with no output schema and one fully documented parameter, the description's 'What You Get' section usefully enumerates the expected return fields (discount rules, validity, usage counts). Nothing essential is missing, though pagination/error behavior is not addressed.

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?

There is a single required parameter at 100% schema description coverage, so the schema fully documents voucherID. The 'Quick Start' line ('Provide the voucher ID in the URL path') only restates that it is a path parameter and adds no format or constraint detail beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 ('Get complete details for a specific voucher by its ID') and enumerates the content scope (discount rules, validity, usage). This clearly distinguishes it from the sibling list tool get_vouchers and the history tool get_vouchers_history.

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 four scenarios, but they are generic (lookup, validation, display, support) and read as filler rather than decision criteria. There is no guidance on when NOT to use it or when to prefer get_vouchers / get_vouchers_history instead.

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