Skip to main content
Glama

Rafid Intelligence Network

flight_search

Read-onlyIdempotent

Search current flight offers and return normalized prices, itineraries, stops and timing. When: Use when an agent needs flight search from current travel offers. Selection: supporting; prefer for Use when an agent needs flight 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
sortNoprice
limitNo
adultsNo
originYes
infantsNoInfant pricing is not supported by this adapter.
childrenNo
currencyNoUSD
maxStopsNo
cabinClassNoeconomy
returnDateNo
destinationYes
departureDateYes

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"
      -      },
      -      "offers": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "airlines": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "arrivalAt": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "baggage": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "departureAt": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "durationMinutes": {
      -              "anyOf": [
      -                {
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "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"
      -              ]
      -            },
      -            "reliability": {
      -              "anyOf": [
      -                {
      -                  "maximum": 1,
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "segments": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "airline": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "arrivalAt": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "departureAt": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "destination": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "origin": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "origin",
      -                  "destination",
      -                  "departureAt",
      -                  "arrivalAt",
      -                  "airline"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "selfTransfer": {
      -              "type": "boolean"
      -            },
      -            "splitTicket": {
      -              "type": "boolean"
      -            },
      -            "stops": {
      -              "anyOf": [
      -                {
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "transferProtection": {
      -              "anyOf": [
      -                {
      -                  "enum": [
      -                    "protected",
      -                    "unprotected"
      -                  ],
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "price",
      -            "airlines",
      -            "segments",
      -            "stops",
      -            "durationMinutes",
      -            "departureAt",
      -            "arrivalAt",
      -            "reliability",
      -            "refundable",
      -            "baggage",
      -            "splitTicket",
      -            "selfTransfer",
      -            "provider"
      -          ],
      -          "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"
      -      },
      -      "query": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "adults": {
      -            "default": 1,
      -            "maximum": 9,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "cabinClass": {
      -            "default": "economy",
      -            "enum": [
      -              "economy",
      -              "premium_economy",
      -              "business",
      -              "first"
      -            ],
      -            "type": "string"
      -          },
      -          "children": {
      -            "default": 0,
      -            "maximum": 8,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "currency": {
      -            "default": "USD",
      -            "pattern": "^[A-Z]{3}$",
      -            "type": "string"
      -          },
      -          "departureDate": {
      -            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -            "type": "string"
      -          },
      -          "destination": {
      -            "maxLength": 100,
      -            "minLength": 2,
      -            "pattern": "^[\\p{L}\\p{N} .,'()-]+$",
      -            "type": "string"
      -          },
      -          "infants": {
      -            "const": 0,
      -            "default": 0,
      -            "description": "Infant pricing is not supported by this adapter.",
      -            "type": "number"
      -          },
      -          "limit": {
      -            "default": 20,
      -            "maximum": 50,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "maxStops": {
      -            "maximum": 3,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "origin": {
      -            "maxLength": 100,
      -            "minLength": 2,
      -            "pattern": "^[\\p{L}\\p{N} .,'()-]+$",
      -            "type": "string"
      -          },
      -          "returnDate": {
      -            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      -            "type": "string"
      -          },
      -          "sort": {
      -            "default": "price",
      -            "enum": [
      -              "price",
      -              "duration",
      -              "stops"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "origin",
      -          "destination",
      -          "departureDate",
      -          "adults",
      -          "children",
      -          "infants",
      -          "cabinClass",
      -          "currency",
      -          "limit",
      -          "sort"
      -        ],
      -        "type": "object"
      -      },
      -      "searchedAt": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "query",
      -      "offers",
      -      "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"
      +      },
      +      "offers": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "airlines": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "arrivalAt": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "baggage": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "departureAt": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "durationMinutes": {
      +              "anyOf": [
      +                {
      +                  "minimum": 0,
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "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"
      +              ]
      +            },
      +            "reliability": {
      +              "anyOf": [
      +                {
      +                  "maximum": 1,
      +                  "minimum": 0,
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "segments": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "airline": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "arrivalAt": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "departureAt": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "destination": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "origin": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "origin",
      +                  "destination",
      +                  "departureAt",
      +                  "arrivalAt",
      +                  "airline"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "selfTransfer": {
      +              "type": "boolean"
      +            },
      +            "splitTicket": {
      +              "type": "boolean"
      +            },
      +            "stops": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "transferProtection": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "protected",
      +                    "unprotected"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "price",
      +            "airlines",
      +            "segments",
      +            "stops",
      +            "durationMinutes",
      +            "departureAt",
      +            "arrivalAt",
      +            "reliability",
      +            "refundable",
      +            "baggage",
      +            "splitTicket",
      +            "selfTransfer",
      +            "provider"
      +          ],
      +          "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"
      +      },
      +      "query": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "adults": {
      +            "default": 1,
      +            "maximum": 9,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "cabinClass": {
      +            "default": "economy",
      +            "enum": [
      +              "economy",
      +              "premium_economy",
      +              "business",
      +              "first"
      +            ],
      +            "type": "string"
      +          },
      +          "children": {
      +            "default": 0,
      +            "maximum": 8,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "currency": {
      +            "default": "USD",
      +            "pattern": "^[A-Z]{3}$",
      +            "type": "string"
      +          },
      +          "departureDate": {
      +            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +            "type": "string"
      +          },
      +          "destination": {
      +            "maxLength": 100,
      +            "minLength": 2,
      +            "pattern": "^[\\p{L}\\p{N} .,'()-]+$",
      +            "type": "string"
      +          },
      +          "infants": {
      +            "const": 0,
      +            "default": 0,
      +            "description": "Infant pricing is not supported by this adapter.",
      +            "type": "number"
      +          },
      +          "limit": {
      +            "default": 20,
      +            "maximum": 50,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "maxStops": {
      +            "maximum": 3,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "origin": {
      +            "maxLength": 100,
      +            "minLength": 2,
      +            "pattern": "^[\\p{L}\\p{N} .,'()-]+$",
      +            "type": "string"
      +          },
      +          "returnDate": {
      +            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +            "type": "string"
      +          },
      +          "sort": {
      +            "default": "price",
      +            "enum": [
      +              "price",
      +              "duration",
      +              "stops"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "origin",
      +          "destination",
      +          "departureDate",
      +          "adults",
      +          "children",
      +          "infants",
      +          "cabinClass",
      +          "currency",
      +          "limit",
      +          "sort"
      +        ],
      +        "type": "object"
      +      },
      +      "searchedAt": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "query",
      +      "offers",
      +      "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 already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuine behavioral context beyond them: per-call pricing ($0.10 USD), the x402 paid-execution model, the preview_capability free-preview path, and the fact that unpaid calls return payment instructions. This is exactly the kind of non-obvious operational detail descriptors should surface.

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?

The purpose is front-loaded and the payment paragraph is worth its space, but the 'When/Selection' block contains a duplicated sentence and a broken fragment ('prefer for Use when...'), which is avoidable noise in an otherwise short description.

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 no explanation, and the payment model is well covered. But for a 12-parameter tool with almost no schema descriptions and no meaningful alternative-routing guidance, the definition leaves an agent under-equipped to select and parameterize it correctly.

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 only 8% across 12 parameters, so the description carries the burden of explaining them — yet it says nothing beyond 'Input is a strict JSON object; see the schema.' Required/optional fields, the origin/destination format, sort semantics, and passenger constraints are left entirely unexplained.

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?

The opening sentence states a specific verb and resource ('Search current flight offers') and enumerates the returned artifacts (normalized prices, itineraries, stops, timing). It does not, however, distinguish itself from the sibling 'flight_compare', which an agent would reasonably confuse with this tool.

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 merely restates the purpose ('Use when an agent needs flight search from current travel offers'), and the 'Selection: supporting; prefer for ...' fragment is garbled, repeating the same phrase verbatim. There is no real condition separating this from flight_compare or trip_cost_estimate.

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.