Skip to main content
Glama

SVAMI Agentic ID

Activate a SVAMI API gift code

redeem_gift_code

Identify hotels by Agentic ID (AID); GDS codes are aliases. Activate a single-use SVAMI gift code (e.g. SV-GIFT-XXXX-XXXX) for an email address and optional organization name. Atomically activates the subscription plan and mints a live API key returned ONCE. Store the returned api_key in a server-side environment variable (SVAMI_API_KEY) and never hardcode it in frontend code.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>",
      "email": "<email>"
    },
    "name": "redeem_gift_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesGift code, e.g. SV-GIFT-XXXX-XXXX
emailYesDeveloper or agency owner email address
org_nameNoOptional travel agency or organization name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, openWorldHint=false and idempotentHint=false. The description adds substantive behavior: activation is atomic (plan activation plus key minting happen together), the code is single-use, and the api_key is returned exactly ONCE and cannot be retrieved again — all critical, non-recoverable consequences the agent would otherwise not know.

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

Conciseness2/5

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

The definition is front-loaded with a sentence about hotel AIDs and GDS aliases that has nothing to do with redeeming a gift code, so the reader's first impression is wrong. The remaining two sentences are dense and useful, but a full third of the description is wasted on off-topic text.

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?

There is no output schema, and the description compensates well by naming the returned api_key and how to persist it. The only real gap is that the misleading hotel/AID sentence creates ambiguity about what the tool actually operates on, and no calling prerequisites are stated.

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 coverage is 100%, so all three parameters are already documented in the schema. The description restates the code format example (SV-GIFT-XXXX-XXXX) and the email/org_name roles without adding constraints such as email format validation or what org_name affects in the activated plan; baseline 3 applies.

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

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The second sentence states a precise verb and resource: 'Activate a single-use SVAMI gift code... for an email address and optional organization name.' However, the opening sentence ('Identify hotels by Agentic ID (AID); GDS codes are aliases') describes hotel lookup, not gift-code redemption, and reads as text copied from a sibling like resolve_aid, forcing the agent to filter out a misleading purpose statement.

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 description does give real operating guidance — the code is single-use and the returned key must go into a server-side env var (SVAMI_API_KEY), never frontend code. It gives no explicit when-to-use/when-not-to-use framing or prerequisite (e.g. auth or account state) that would route the agent between this and other tools.

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