Skip to main content
Glama

countries_visited

Retrieve countries visited over a period, including trips, time spent, distinct days, and cities. Optionally filter by country to get specific travel history.

Instructions

Countries over a period: separate trips there, time spent, distinct days, and the cities inside each. Pass country for one of them ('how many times have I been to Japan').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoStart, YYYY-MM-DD or an ISO timestamp.
untilNoEnd, exclusive. YYYY-MM-DD or ISO timestamp.
periodNoWindow to look at: today, yesterday, this_week, last_week, this_month, last_month, this_year, last_N_days, or all. Boundaries are local to where the user is, not UTC. Ignored when since/until are given.
countryNoFilter to one country, name or ISO code.
Behavior3/5

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

With no annotations, the description bears the burden of disclosure. It explains the output structure (separate trips, time spent, distinct days, cities) and the country filter, but does not mention default behavior with no parameters, ordering, or edge cases like ambiguous country names. It provides a functional overview but lacks depth.

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 concise (two sentences), front-loaded with the purpose, and every sentence adds value. The example with the country filter is useful without being verbose.

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?

Given no output schema, the description covers the key return elements (trips, time, days, cities) and the filtering behavior. It does not state the default when no country is provided or how the results are structured, but it is sufficiently complete for an agent to select and invoke the tool for common use cases.

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?

The input schema already provides 100% coverage of parameter meanings. The description adds a brief example for the country parameter, but since and until/period semantics are already well-documented in the schema, so minimal added value.

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: it provides country-level travel statistics over a period, including trips, time spent, distinct days, and cities. It also distinguishes itself from siblings like cities_visited and trips by focusing on countries as the aggregation unit.

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 for country-focused travel queries and gives a concrete example of filtering by country ('how many times have I been to Japan'). However, it does not explicitly contrast with alternatives such as cities_visited or trips, nor does it state when not to use this tool.

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/michelgrolet/tars-location-mcp'

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