Skip to main content
Glama
stayReview.ts763 B
// Models and validation for stay reviews import { z } from 'zod'; export const stayReviewSchema = z.object({ stay_id: z.string().describe('Duffel stay/hotel ID (e.g., acc_0000AWr2VsUNIF1Vl91xg0)'), after: z.string().optional().describe('Pagination cursor: after'), before: z.string().optional().describe('Pagination cursor: before'), limit: z.number().int().min(1).max(200).optional().describe('Max reviews to return (1-200)'), }); export type StayReviewRequest = z.infer<typeof stayReviewSchema>; export interface StayReview { text: string; score: number; reviewer_name: string; created_at: string; } export interface StayReviewResponse { meta: { limit: number; after?: string; before?: string; }; reviews: StayReview[]; }

Implementation Reference

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/clockworked247/flights-mcp-ts'

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