Skip to main content
Glama

Got a Plan Trip Planner

Flight link on Trip.com

flight_link
Read-only

Makes a link to a Trip.com search for a route and dates, where the traveller can compare live prices from airlines and agencies and book. The link carries Got a Plan's Travelpayouts partner ID, so Got a Plan may earn a commission on a booking; the price is the same either way.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "from": "<from>",
      "to": "<to>",
      "depart": "<depart>"
    },
    "name": "flight_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
adultsNo
departYes
returnNo
infantsNoChildren under 2, flying on a lap
childrenNoChildren aged 2 to 17 travelling besides the adults

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With readOnlyHint and openWorldHint already declared, the description adds genuinely new context: the link carries a Travelpayouts partner ID and may earn a commission, while the fare is unchanged. That monetization/external-navigation disclosure is real value beyond the annotations, though it says nothing about the returned link's form or whether parameters are validated.

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?

Two tight clauses: the function is front-loaded, and the affiliate disclosure follows economically. No filler or redundant restatement of the title.

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?

For a read-only link generator with no output schema, the missing pieces are the return value ('a link' is implied but never said to be a URL string) and the airport-code / date formats that would prevent malformed calls. The disclosure of the partner ID is a good completeness signal; the input-format gaps keep it at minimum viable.

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 coverage is only 29%, and the description adds no parameter detail beyond 'route and dates' — it never states that from/to are three-letter airport codes, that depart/return are YYYY-MM-DD, or what the adult/child/infant counts mean. With low coverage the description should compensate, and it does not.

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?

States a specific verb and resource: it 'makes a link to a Trip.com search for a route and dates' that supports price comparison and booking. This is plainly distinguishable from siblings like hotel_link, add_booked_flight, or choose_flight without opening any schema.

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

Usage Guidelines3/5

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

The comparison-and-booking framing implies when the tool is useful (a traveller weighing live fares), but there is no explicit when-to-use or when-not guidance and no mention of siblings such as add_booked_flight or start_trip_from_flight. The agent must infer the boundary between generating a link and recording a chosen flight.

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.