Skip to main content
Glama

cities_visited

Retrieve cities visited during a specified period, including stay durations, visit counts, and specific days, to answer questions about past travel locations.

Instructions

Cities over a period, with time in each, how many separate times they were there, and which days. Use for 'which cities did I go to last spring'.

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.
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It discloses the return content (time in each city, number of separate visits, specific days), which is meaningful beyond the input schema. It does not mention read-only semantics explicitly, but no side effects are suggested.

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 a single, information-dense sentence with a practical example, no redundancy.

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?

For a read-only query tool with four optional parameters and no output schema, the description covers the output fields and a concrete use case. It omits sort order and timezone handling, but the schema fills in parameter semantics.

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 baseline is 3. The description's 'over a period' loosely maps to since/until/period, but it adds no parameter-specific detail beyond what the schema already provides.

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 clearly identifies the resource as cities visited within a time range and specifies the output dimensions (time spent, visit counts, days). The example 'which cities did I go to last spring' distinguishes it from sibling tools like countries_visited, though it lacks an explicit imperative verb.

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?

The description explicitly provides a concrete use case ('Use for...'), giving clear context for when to select this tool. It does not name sibling alternatives or state exclusions, but the example is sufficient to signal appropriate use.

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