Skip to main content
Glama
tarun101

Google Flights Policy Recommender (MCP)

by tarun101

Search and filter by policy in one step

find_compliant_flights

Search Google Flights and retrieve only policy-compliant options sorted by price, with a summary of rejected flights and reasons.

Instructions

Searches Google Flights and evaluates every result against a policy file, returning only compliant options (plus a summary of how many were rejected and why), sorted by price.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cabinNoeconomy
adultsNo
originYesOrigin city or airport, e.g. 'New York' or 'JFK'
departDateYesDeparture date, YYYY-MM-DD
policyPathNo./policy.json
returnDateNoReturn date, YYYY-MM-DD. Omit for one-way
destinationYesDestination city or airport, e.g. 'Los Angeles' or 'LAX'
Behavior4/5

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

With no annotations, the description provides good behavioral context: it performs a search, applies policy filtering, and returns a summary. However, it does not disclose potential rate limits, authentication needs, or behavior if the policy file is missing.

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?

The description is a single informative sentence that packs key details. It is front-loaded but could be improved with structured bullet points. No unnecessary words.

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?

Given no output schema and 7 parameters, the description covers core functionality but lacks return value structure details. It mentions a summary of rejections but no specifics. Sibling differentiation is absent, leaving some gaps.

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 description coverage is 57% (4 of 7 parameters have descriptions). The description itself does not add significant parameter details beyond the schema, such as mentioning policyPath. Baseline 3 is appropriate as schema does moderate work.

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?

The description clearly states it searches Google Flights, evaluates against a policy file, returns only compliant options with a rejection summary, sorted by price. This specific verb+resource+output distinguishes it from siblings like search_flights.

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 description implies usage when policy compliance is needed, but lacks explicit when-to-use or when-not-to-use guidance. Siblings like search_flights and check_policy suggest alternatives, but no comparison is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/tarun101/google-flights-policy-mcp'

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