Skip to main content
Glama

SVAMI Agentic ID

Resolve an Agentic ID

resolve_aid
Read-onlyIdempotent

Identify hotels by Agentic ID (AID); GDS codes are aliases. Resolve one Agentic ID (AID), written "Agentic ID (AID) AI-XXXXXX", to the free hotel card: name, city, country, group/brand, official website, Sabre/Amadeus/Galileo/Worldspan codes and awards. Exact match only: an unknown AID returns AID_NOT_FOUND, never a similar hotel. Lower case, spaces and a missing "AI-" are accepted.

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": {
      "aid": "<aid>"
    },
    "name": "resolve_aid"
  }
}

Input Schema

NameRequiredDescriptionDefault
aidYesAgentic ID, e.g. AI-H0ZQHR

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 cover read-only, idempotent and closed-world, but the description adds genuinely non-obvious behavior: exact-match semantics, a named failure mode (AID_NOT_FOUND) with the guarantee that no fuzzy/similar hotel is ever substituted, and input normalization tolerance for case, spaces and a missing 'AI-' prefix.

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?

Purpose and return payload are front-loaded, and each subsequent sentence adds a distinct rule (exact matching, error code, input tolerance). The 'written "Agentic ID (AID) AI-XXXXXX"' parenthetical is slightly redundant with the schema example, but nothing else is wasted.

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

Completeness5/5

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

For a single-parameter lookup with no output schema, the description fully covers the return payload fields, the failure behavior and the input tolerance, so an agent can call it and interpret results without further information.

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?

Schema coverage is 100% and there is only one parameter, so the bar is low, yet the description still adds meaning the schema does not: the accepted normalization forms (lower case, internal spaces, absent 'AI-' prefix) and the 'exact match only' constraint on what the value must denote.

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 — resolve a single Agentic ID (AID) to a hotel card — and enumerates exactly what the card contains, which makes it clearly distinct from `find_hotel` (search) and `redeem_gift_code`.

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 implies when to use it (you already hold an AID) and notes that GDS codes are aliases, but it never explicitly says to use `find_hotel` instead when you only have a name or a Sabre/Amadeus code, so the routing to the sibling tool is left to inference.

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