Skip to main content
Glama

Aurinia — book across venues via your AI assistant

book

REAL action: book at a network venue on the user's behalf. provider_id + item (the venue interprets it). Doctor: item={date,time}. Hostel: item={check_in,check_out,guests,promo_code?} — do NOT ask for name/contact: identity comes from a one-time Telegram consent. Spa: item={date,time,procedure}. Hostel: book returns a HOLD with payment_url; the booking is finalized by PAYMENT, not by this call. CONSENT: do NOT ask for approval up front — just call book. ONLY if the call returns consent_url/telegram.consent_url (linked=false = not yet authorized at this venue) do you show that link to the user for a one-tap approval in Telegram, then retry. If consent_url_native (tg://...) is present, try to open it on the user's device (open/xdg-open/Start-Process — launches Telegram directly if installed). BUT tg:// fails SILENTLY without Telegram — so ALWAYS also show the user consent_url (https): t.me opens the app or offers to install it. Open once, then retry. If already authorized (consent given earlier) book succeeds IMMEDIATELY, with no prompts. Never ask for consent when you already have it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYesDoctor/spa: date,time. Hostel: check_in,check_out,guests,promo_code? (no contact needed — identity via Telegram consent).
provider_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / item / description
      Previous value: -"Лікар/спа: date,time. Хостел: check_in,check_out,guests,promo_code? (контакт не потрібен — ідентичність через Telegram-згоду)."New value: +"Doctor/spa: date,time. Hostel: check_in,check_out,guests,promo_code? (no contact needed — identity via Telegram consent)."
  2. Changed1 schema field changed
    • changedInput schema / properties / item / description
      Previous value: -"Хостел вимагає guest:{name,contact}. Лікар/спа — date/time."New value: +"Лікар/спа: date,time. Хостел: check_in,check_out,guests,promo_code? (контакт не потрібен — ідентичність через Telegram-згоду)."
  3. Changed1 schema field changed
    • addedInput schema / properties / item / description
      Added value: +"Хостел вимагає guest:{name,contact}. Лікар/спа — date/time."
  4. First observed

TDQS

A5/5.0
Behavior5/5

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

Beyond annotations (readOnlyHint=false, idempotentHint=false, destructiveHint=false), the description discloses critical behavioral traits: the consent gating mechanism, the fact that hostel bookings are HOLDs needing payment, the silent failure of tg:// links, and that identity comes from Telegram consent rather than collected fields. This is a wealth of behavior not inferable from annotations alone.

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

Conciseness5/5

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

While lengthy, the description is front-loaded with an action statement, then uses labeled sections (Doctor:, Hostel:, Spa:, CONSENT:) to organize dense but necessary information. Every sentence adds critical operational detail, so the length is justified.

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?

With no output schema, the description must explain return values, and it does: consent_url/telegram.consent_url, consent_url_native, payment_url, and the immediate-success case. It also covers edge cases (silent tg:// failure, already-authorized retry), making it complete for a complex booking tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema lists only provider_id and item, with 50% description coverage (provider_id undocummented). The description compensates by explaining provider_id + item semantics, detailing item structures per venue type (doctor, hostel, spa), and explicitly warning not to ask for name/contact. This fully bridges the gap left by the schema.

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 description states the tool's primary action clearly: 'REAL action: book at a network venue on the user's behalf.' It distinguishes from siblings like cancel, reschedule, and find_providers by being the actual booking action. It also specifies different item structures for doctor, hostel, and spa, leaving no ambiguity about what the tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides an explicit workflow: call book directly, handle consent flow if consent_url is returned, retry after consent, and for hostels, note that booking returns a HOLD finalized by payment. It also explains when NOT to prompt for consent (if already authorized) and how to handle consent_url_native. This is superior guidance beyond simple 'use for booking'.

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