# find_connections

Multi-stop itineraries from an origin airport to either a destination airport or to any airport in a country. Returns airport paths with every airline flying each leg. Airline entries carry their alliance and, when service is not plain scheduled, a kind field (seasonal, charter or suspended). Suspended legs are included and flagged, not excluded; pass exclude_kinds to drop them. Seasonal and charter service carries no operating dates and there is no frequency or days-of-week data, so treat every match as unverified for specific travel dates. Provide exactly one of destination or to_country.

Agent View of the PolicyLayer registry record for `find_connections`. HTML page: https://policylayer.com/tools/com-flywhereto-mcp/find-connections

## Facts

- Tool: `find_connections`
- Server: Fly Where To? (`https://flywhereto.com/api/mcp`) — https://policylayer.com/tools/com-flywhereto-mcp.md
- Homepage: https://github.com/https://flywhereto.com/api/mcp
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 6 (1 required)
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `origin` | string | yes | Three-letter IATA airport code, e.g. "IST" |
| `max_stops` | integer | no | Maximum intermediate stops (default 2; country searches cap at 2) |
| `to_country` | string | no | ISO 3166-1 alpha-2 country code goal, e.g. "CR" for Costa Rica |
| `destination` | string | no | Three-letter IATA airport code, e.g. "IST" |
| `same_airline` | boolean | no | Require one single airline to operate every leg |
| `exclude_kinds` | array | no | Drop legs whose service kind is in this list, e.g. ["suspended"] or ["suspended","charter"] for currently bookable routes only |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "find_connections",
    "arguments": {
      "origin": "<origin>"
    }
  }
}
```

## Why find_connections is rated Low

Even though find_connections only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.

Risk signals: Accepts file system path (destination) · Bulk/mass operation — affects multiple targets

## Use case

AI agents call find_connections to retrieve information from Fly Where To? without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Fly Where To?:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "find_connections": {}
  }
}
```

## Other tools on Fly Where To? (7)

- `airline_routes` — Read — https://policylayer.com/tools/com-flywhereto-mcp/airline-routes.md
- `destinations_from` — Read — https://policylayer.com/tools/com-flywhereto-mcp/destinations-from.md
- `find_airport` — Read — https://policylayer.com/tools/com-flywhereto-mcp/find-airport.md
- `find_meetup` — Read — https://policylayer.com/tools/com-flywhereto-mcp/find-meetup.md
- `most_connected_airports` — Read — https://policylayer.com/tools/com-flywhereto-mcp/most-connected-airports.md
- `reachable_from` — Read — https://policylayer.com/tools/com-flywhereto-mcp/reachable-from.md
- `route_details` — Read — https://policylayer.com/tools/com-flywhereto-mcp/route-details.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-flywhereto-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-flywhereto-mcp
