Skip to main content
Glama

LowCost Europe Trips

Meet halfway: same dates from two cities

meet_halfway
Read-onlyIdempotent

Two people in two European cities: finds destinations where both can fly directly on overlapping dates, with each person's verified round-trip price and the total. Use for 'where can my friend in Warsaw and I in Berlin meet', long-distance couples, family or friends meeting up.

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": {
      "city_a": "<city_a>",
      "city_b": "<city_b>"
    },
    "name": "meet_halfway"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the user's message (en, de, es, it, fr, pl, ro). Other languages: en.
monthNoMonth YYYY-MM (optional).
city_aYesFirst person's city or airport (English name or IATA).
city_bYesSecond person's city or airport (English name or IATA).
date_toNoYYYY-MM-DD
date_fromNoYYYY-MM-DD

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?

Annotations already cover read-only, idempotent, open-world, non-destructive behavior, so the bar is lower. The description still adds real behavior: results are restricted to direct flights, dates must overlap, and prices are 'verified' round-trips reported per person plus a total.

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?

Two sentences, front-loaded with the capability and followed by routing examples; nothing is padded. The second sentence is entirely examples but they do earn their place for intent matching.

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?

No output schema exists, and the description partially compensates by saying results include destinations with per-person and total prices. It leaves open how month interacts with date_from/date_to, result-count limits, and whether lang changes output language – gaps that matter for a 6-parameter search tool.

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

Parameters3/5

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

Schema coverage is 100%, so the baseline is 3. The description adds only light meaning beyond the schema – that city_a/city_b are the two travelers' origins and that the date range is intersected for both – without clarifying month vs. date_from/date_to precedence.

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 a concrete verb and resource: finds destinations where two people in two European cities can both fly directly on overlapping dates, with per-person round-trip price and total. That scope implicitly separates it from a single-origin tool like cheapest_from, though no sibling is named explicitly.

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

Usage Guidelines4/5

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

The second sentence supplies clear use contexts, including a literal user phrasing ('where can my friend in Warsaw and I in Berlin meet') plus couples and family/friend meetups, which helps intent routing. It stops short of stating when NOT to use it or naming an alternative tool.

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.

Resources