Skip to main content
Glama

MAQAMI Travel

get_loyalties

Read-onlyIdempotent

Overview

Retrieve your current loyalty program configuration, including whether it's active and what cashback rate is set.

When to Use

  • Settings display - Show current program configuration in admin panels

  • Status checks - Verify if the loyalty program is enabled

  • Rate verification - Check current cashback rates

  • Configuration review - Review program settings before making changes

What You Get

  • Program status - Whether the program is enabled or disabled

  • Cashback rate - Current percentage guests earn

  • Currency - Cashback currency setting

Quick Start

No parameters required. Returns current loyalty program settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/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 adds genuine value by enumerating the returned fields (program status, cashback rate, currency), though it says nothing about auth requirements or failure modes.

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?

Headers make it scannable and front-loaded, but the content is redundant for a no-argument getter: the Overview, the 'What You Get' list, and the Quick Start all restate that it returns program status and cashback rate. It is longer than the operation warrants.

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 carries the burden of describing return values and does so adequately by naming the three key fields. For a trivial zero-param read, this is sufficient, though it could note that config may be absent/disabled rather than just 'enabled or disabled'.

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 no parameters and the description correctly states 'No parameters required', so there is nothing further to disambiguate. Baseline for a zero-parameter tool 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?

States a specific verb and resource ('Retrieve your current loyalty program configuration') and immediately scopes it to active status and cashback rate. An agent can clearly distinguish this read tool from its write counterpart put_loyalties.

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 four concrete scenarios (settings display, status checks, rate verification, configuration review) and hints at sequencing before changes. It stops short of explicitly naming put_loyalties as the mutation alternative, so it is context-rich but not a full when/when-not routing rule.

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