Skip to main content
Glama

search_country_sweep

Cheapest live fares from one origin to every destination city in a whole country, in one call (e.g. London to all of Spain). Replaces dozens of route searches. Runs as a background job: returns a jobId; poll get_job_result until done.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datesYesDeparture dates YYYY-MM-DD. 1 to 31 dates per call; must be real calendar dates (2026-02-30 is rejected).
onewayNoDefault true
originYese.g. "London"
countryYesCountry or continent, e.g. "Spain"
nonstopNoDefault true

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool runs as a background job and requires polling, which is critical behavioral context. While it doesn't mention rate limits or authentication, the main workflow is well explained.

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?

The description is extremely concise: two sentences that front-load the purpose and benefit, then explain the execution model. Every word earns its place with no redundancy or fluff.

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

Completeness5/5

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

Given the tool's complexity (background job, many destinations), the description is complete: it specifies the scope, the return value (jobId), and how to get the final result. All 5 parameters are fully described in the schema, and no output schema exists, so the description covers the agent's needs.

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 schema already documents all parameters with descriptions. The description adds no additional per-parameter detail beyond the schema, meeting the baseline for a tool with full schema coverage.

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 the tool's function: finding cheapest live fares from one origin to every destination city in a whole country. It gives a concrete example (London to Spain) and distinguishes it from siblings by noting it replaces dozens of route searches.

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

Usage Guidelines5/5

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

The description explains when to use this tool (for country-wide searches) and provides explicit instructions on how to retrieve results: it returns a jobId and advises polling get_job_result until done. This leaves no ambiguity for the agent.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool serves a distinct purpose: background job polling, country-wide search, worldwide exploration, synchronous route search, and stopover itinerary generation. No overlap in functionality.

Naming Consistency5/5

All tools use snake_case with consistent verb_noun pattern: search_* for queries and get_job_result for polling. The naming is predictable and clear.

Tool Count5/5

Five tools is well-scoped for a flight search and stopover planner server. Each tool adds unique value without redundancy or unnecessary complexity.

Completeness4/5

The tool set covers core flight search needs (specific routes, country-wide, worldwide, stopovers) with both synchronous and asynchronous modes. Minor gaps like multi-origin search or advanced filters are beyond the stated purpose.

Resources