Skip to main content
Glama

haggl_hotel_cashback_get

Read-onlyIdempotent

Read a hotel cashback claim made with the user's haggl ID: its status and what comes next.

Input Schema

NameRequiredDescriptionDefault
claim_idYesThe claim_id.
haggl_idYesThe user's haggl ID.

Output Schema

NameRequiredDescriptionDefault
codeNoPresent only when the call failed: a machine-readable error code, e.g. quote_uncertain or rate_limited.
nextNoWhat happens next.
claimNoA hotel cashback claim.
errorNoPresent only when the call failed: what went wrong.
recoveryNoWhen the outcome is uncertain: the tool and session_id to read before retrying.
retryableNoWhether the same call may be retried.
retry_after_secondsNoWhen rate limited: seconds to wait before retrying.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 and destructiveHint=false, so the safety profile is fully covered structurally. The description adds that the call yields a status plus next-step information, which is modest extra value; it says nothing about authorization requirements or what happens for an unknown claim_id.

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

Conciseness4/5

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

A single front-loaded sentence with no filler; the resource and outcome are stated immediately. It is arguably slightly too terse for a tool with two required identifiers, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a rich annotation set and an output schema, the description needn't explain return fields, and it correctly signals the response concept (status, next steps). However, for a tool sitting among many cashback siblings, it leaves the agent without enough to know when this is the right call versus claim/quote/stay.

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% for both parameters, so the baseline of 3 applies. The description only echoes that the claim is made 'with the user's haggl ID' and adds no format, sourcing or relationship detail for claim_id beyond what the schema states.

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?

Specific verb ('Read') plus a specific resource ('a hotel cashback claim') scoped by the user's haggl ID. It doesn't name or contrast any of the nearby siblings (haggl_hotel_cashback_claim, _quote, _stay), so the differentiation comes only from the noun phrase, not explicit routing.

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 phrase 'its status and what comes next' implies this is a follow-up lookup on an existing claim, but there is no explicit when-to-use or when-not-to-use guidance, and no mention of the alternative siblings that create or advance a claim.

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