Skip to main content
Glama

Rafid Intelligence Network

hotel_search

Read-onlyIdempotent

Search current hotel inventory and return normalized full-stay room rates and cancellation information. When: Use when an agent needs hotel search from current travel offers. Selection: supporting; prefer for Use when an agent needs hotel search from current travel offers.. Input is a strict JSON object; see the schema. Price: $0.10 USD per call. A free preview is available through preview_capability before payment. Full execution is paid per call via x402; an unpaid MCP call returns payment instructions.

Input Schema

NameRequiredDescriptionDefault
limitNo
adultsNo
checkInYes
checkOutYes
childrenNo
currencyNoUSD
childAgesNo
destinationYes
nationalityYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "count": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "dataMode": {
      -        "const": "live",
      -        "type": "string"
      -      },
      -      "destination": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "query": {
      -            "type": "string"
      -          },
      -          "resolvedName": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "query",
      -          "resolvedName"
      -        ],
      -        "type": "object"
      -      },
      -      "hotels": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "id": {
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "offers": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "cancellationPolicy": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "freeCancellationUntil": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "id": {
      -                    "type": "string"
      -                  },
      -                  "price": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "amount": {
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      "currency": {
      -                        "pattern": "^[A-Z]{3}$",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "amount",
      -                      "currency"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "provider": {
      -                    "const": "letsfg",
      -                    "type": "string"
      -                  },
      -                  "refundable": {
      -                    "type": [
      -                      "boolean",
      -                      "null"
      -                    ]
      -                  },
      -                  "roomName": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "id",
      -                  "roomName",
      -                  "price",
      -                  "refundable",
      -                  "freeCancellationUntil",
      -                  "cancellationPolicy",
      -                  "provider"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "stars": {
      -              "anyOf": [
      -                {
      -                  "maximum": 5,
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "name",
      -            "stars",
      -            "offers"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "provider": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "name": {
      -            "const": "letsfg",
      -            "type": "string"
      -          },
      -          "status": {
      -            "const": "ok",
      -            "type": "string"
      -          },
      -          "upstreamLatencyMs": {
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "status",
      -          "upstreamLatencyMs"
      -        ],
      -        "type": "object"
      -      },
      -      "searchedAt": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "destination",
      -      "hotels",
      -      "count",
      -      "searchedAt",
      -      "provider",
      -      "dataMode"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "nextAction": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "instruction": {
      -            "type": "string"
      -          },
      -          "target": {
      -            "const": "x402_endpoint",
      -            "type": "string"
      -          },
      -          "type": {
      -            "const": "pay_and_retry",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "type",
      -          "target",
      -          "instruction"
      -        ],
      -        "type": "object"
      -      },
      -      "payment": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "endpoint": {
      -            "type": "string"
      -          },
      -          "method": {
      -            "const": "POST",
      -            "type": "string"
      -          },
      -          "retrySameBody": {
      -            "const": true,
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "endpoint",
      -          "method",
      -          "retrySameBody"
      -        ],
      -        "type": "object"
      -      },
      -      "preview": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "fullResultAvailable": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "inputAccepted": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "summary": {
      -            "type": "string"
      -          },
      -          "useCases": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "inputAccepted",
      -          "fullResultAvailable",
      -          "summary",
      -          "useCases"
      -        ],
      -        "type": "object"
      -      },
      -      "price": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "amount": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "currency": {
      -            "type": "string"
      -          },
      -          "protocol": {
      -            "const": "x402",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "amount",
      -          "currency",
      -          "protocol"
      -        ],
      -        "type": "object"
      -      },
      -      "requestId": {
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "payment_required",
      -        "type": "string"
      -      },
      -      "tool": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "tool",
      -      "requestId",
      -      "price",
      -      "preview",
      -      "payment",
      -      "nextAction"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "count": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "dataMode": {
      +        "const": "live",
      +        "type": "string"
      +      },
      +      "destination": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "query": {
      +            "type": "string"
      +          },
      +          "resolvedName": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "query",
      +          "resolvedName"
      +        ],
      +        "type": "object"
      +      },
      +      "hotels": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "id": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "offers": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "cancellationPolicy": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "freeCancellationUntil": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "price": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "amount": {
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "currency": {
      +                        "pattern": "^[A-Z]{3}$",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "amount",
      +                      "currency"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "provider": {
      +                    "const": "letsfg",
      +                    "type": "string"
      +                  },
      +                  "refundable": {
      +                    "type": [
      +                      "boolean",
      +                      "null"
      +                    ]
      +                  },
      +                  "roomName": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "roomName",
      +                  "price",
      +                  "refundable",
      +                  "freeCancellationUntil",
      +                  "cancellationPolicy",
      +                  "provider"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "stars": {
      +              "anyOf": [
      +                {
      +                  "maximum": 5,
      +                  "minimum": 0,
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "name",
      +            "stars",
      +            "offers"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "provider": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "name": {
      +            "const": "letsfg",
      +            "type": "string"
      +          },
      +          "status": {
      +            "const": "ok",
      +            "type": "string"
      +          },
      +          "upstreamLatencyMs": {
      +            "minimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "status",
      +          "upstreamLatencyMs"
      +        ],
      +        "type": "object"
      +      },
      +      "searchedAt": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "destination",
      +      "hotels",
      +      "count",
      +      "searchedAt",
      +      "provider",
      +      "dataMode"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "nextAction": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "instruction": {
      +            "type": "string"
      +          },
      +          "target": {
      +            "enum": [
      +              "x402_endpoint",
      +              "mcp_credits_endpoint",
      +              "payment_endpoint",
      +              "unavailable"
      +            ],
      +            "type": "string"
      +          },
      +          "type": {
      +            "enum": [
      +              "pay_and_retry",
      +              "authorize_and_use_mcp_credits",
      +              "payment_unavailable"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "target",
      +          "instruction"
      +        ],
      +        "type": "object"
      +      },
      +      "payment": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "endpoint": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "method": {
      +            "const": "POST",
      +            "type": "string"
      +          },
      +          "retrySameBody": {
      +            "const": true,
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "endpoint",
      +          "method",
      +          "retrySameBody"
      +        ],
      +        "type": "object"
      +      },
      +      "paymentGuidance": {},
      +      "preview": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "fullResultAvailable": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "inputAccepted": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "useCases": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "inputAccepted",
      +          "fullResultAvailable",
      +          "summary",
      +          "useCases"
      +        ],
      +        "type": "object"
      +      },
      +      "price": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "amount": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "currency": {
      +            "type": "string"
      +          },
      +          "protocol": {
      +            "enum": [
      +              "x402",
      +              "api_credits",
      +              "subscription",
      +              "l402",
      +              "mpp",
      +              "unavailable"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "amount",
      +          "currency",
      +          "protocol"
      +        ],
      +        "type": "object"
      +      },
      +      "requestId": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "payment_required",
      +        "type": "string"
      +      },
      +      "tool": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "tool",
      +      "requestId",
      +      "price",
      +      "preview",
      +      "payment",
      +      "nextAction"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Added

TDQS

B3.1/5.0
Behavior4/5

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

Annotations cover the safety profile (read-only, idempotent, non-destructive), and the description adds genuinely non-obvious behavior annotations do not carry: a $0.10 USD per-call cost, x402 payment flow, a free preview via preview_capability, and the fact that an unpaid call returns payment instructions instead of results. That payment/auth context is exactly what an agent needs before invoking. Minor tension: annotations declare openWorldHint=false while the description advertises live 'current inventory' and 'current travel offers', though openWorld semantics are fuzzy enough that I do not treat this as a hard contradiction.

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

Conciseness3/5

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

Purpose is correctly front-loaded and the pricing/preview sentences earn their place, but the 'When' and 'Selection' clauses are duplicated boilerplate — 'prefer for Use when an agent needs hotel search from current travel offers..' is garbled and repeats the When line verbatim. Two of the roughly five sentences could be deleted with no loss.

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?

An output schema exists, so return values need not be re-explained, and the description does cover the money/preview dimension that matters most for a paid tool. However, with 4 required and 9 total undocumented parameters and no stated alternatives in a 70+ tool sibling set, an agent still lacks enough to fill the call correctly or route confidently.

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

Parameters2/5

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

Schema description coverage is 0% across 9 parameters, and the description offers nothing beyond 'Input is a strict JSON object; see the schema'. It never explains destination format, checkIn/checkOut date format, nationality as ISO-2, the childAges/children coupling, or currency. Parameter names are partly self-explanatory and the schema carries patterns/constraints, but the description fails to compensate for the coverage gap.

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+resource: 'Search current hotel inventory' with a stated return payload ('normalized full-stay room rates and cancellation information'), which separates it from flight_search/flight_compare siblings by domain. The mangled 'Selection: supporting; prefer for ...' line is circular and adds no differentiation, but the core purpose sentence is unambiguous.

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?

The 'When' clause is a tautology ('Use when an agent needs hotel search from current travel offers') — it restates the tool's own name rather than describing a triggering situation. No alternatives are named (compare_properties, trip_cost_estimate, flight_search), and no exclusions or prerequisites are given for what is presumably part of a travel-offer pipeline.

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.