Skip to main content
Glama

mt_travel_verify

Validate travel reservations by verifying agent credentials, checking authorization levels, confirming segment permissions, and ensuring spend limit and currency compliance through DID-based authentication.

Instructions

Verify a travel booking against a TravelAgentCredential.

Runs a 10-step verification pipeline: VC signature, expiry, agent DID match, segment authorization, spend limit, currency, daily cap, trust score, delegation chain, and traveler binding.

Args: agent_did: DID of the booking agent (e.g. "did:base:0x...") vc_json: The TravelAgentCredential as a JSON string merchant: Merchant domain (e.g. "hilton.com") segment: Booking segment: hotel, flight, car_rental, or rail amount: Booking amount currency: Currency code (e.g. "USDC")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_didYes
vc_jsonYes
merchantYes
segmentYes
amountYes
currencyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses detailed internal verification pipeline (VC signature, spend limits, delegation chain, etc.) providing transparency into validation logic beyond simple 'verify' label.

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?

Well-structured with purpose front-loaded; 10-step list is verbose but adds necessary behavioral detail; Args section efficiently compensates for schema gaps.

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?

Comprehensive given complexity: documents all parameters sufficiently, mentions output schema exists so return value description unnecessary, though could note idempotency/read-only nature.

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?

With 0% schema description coverage, the Args section provides critical semantic context including data types, formats (DID, JSON), and valid enum values for all 6 parameters.

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?

States specific action (verify) and target (travel booking against TravelAgentCredential), with detailed 10-step pipeline distinguishing it from issuance siblings.

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

Usage Guidelines2/5

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

No explicit guidance on when to use verification versus issuance (mt_travel_issue_vc) or info retrieval (mt_travel_info); agent must infer from verb.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MoltyCel/mol-trust'

If you have feedback or need assistance with the MCP directory API, please join our Discord server