Skip to main content
Glama

Zenserp MCP by usefulapi

Search Google Flights

zenserp_flights
Destructive

Google Flights options. Best: origin and destination as 3-letter airport codes plus departure_date (dates and curr are honoured only then). A free-text q or a tfs string from a Google Flights URL also works. SPENDS 1 request of the monthly quota per successful call (failed calls are not charged); do not repeat a call needlessly. GET /v1/flights.

Input Schema

NameRequiredDescriptionDefault
qNoFree-text flight query, used when no airport codes are given (no dates, no curr).
tfsNoGoogle Flights search string copied from a Google Flights URL (full filters).
currNo3-letter currency code for the prices, e.g. USD.
cacheNotrue = serve a stored copy when one exists (kept 24 h, NOT charged) and store the reply when not. Default false: every call is fetched live and charged.
fieldsNoOnly return these top-level keys of the reply (for example organic, paid_results, related_searches). Saves context; the call is charged the same.
originNoDeparture airport code, e.g. JFK. Name one airport, not a city.
destinationNoArrival airport code, e.g. LHR.
return_dateNoReturn date, yyyy-mm-dd. Omit for one-way.
departure_dateNoDeparture date, yyyy-mm-dd. Needs origin and destination.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare the safety profile (readOnlyHint=false, destructiveHint=true, idempotentHint=false, openWorldHint=true); the description adds the material operational fact that each successful call SPENDS 1 request of the monthly quota and that failed calls are not charged. That cost/quota disclosure is genuinely useful and not present in the structured data. It does not explain the surprisingly destructive hint for a GET endpoint, but it does not contradict it either.

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?

Four short clauses, all load-bearing: the resource, the recommended parameter combination, the alternatives, and the cost warning. The quota warning is placed after the usage guidance but before the endpoint, which is a reasonable order, though the trailing 'GET /v1/flights.' adds little for an agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 9 optional params, no required fields, no output schema and full schema coverage, the description covers the two things an agent can't infer: the correct input mode and the billing consequence. The only real gap is what the response contains (top-level keys the 'fields' param can trim), which is left unexplained.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3, and the description goes beyond it by stating the cross-parameter rule that 'dates and curr are honoured only then' — i.e. only when origin/destination airport codes are supplied. That conditional interaction is the highest-risk gotcha for this tool and is surfaced explicitly.

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 description plus title make the resource and action unmistakable: it queries Google Flights options, which cleanly separates it from siblings like zenserp_hotels or zenserp_maps_search. The opening 'Google Flights options.' is terse rather than a stated verb, so it stops just short of a 5, but an agent can route to it without opening the schema.

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?

It gives a clear preferred invocation ('origin and destination as 3-letter airport codes plus departure_date') and explains the two fallback modes (free-text q, or tfs copied from a Google Flights URL). It also warns not to repeat calls needlessly. It stops short of a 5 because it never names a sibling tool as the alternative for non-flight needs.

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.