Skip to main content
Glama
Marc-Lou-Org

@datafast/mcp-server

by Marc-Lou-Org

Get Visitors by City

get_cities

Retrieve visitor counts and revenue by city, with flexible filters for date, device, source, and geography to analyze website performance.

Instructions

Get visitor counts and revenue broken down by city.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
osNoFilter by operating system
refNoFilter by ref parameter
viaNoFilter by via parameter
cityNoFilter by city
pageNoFilter by page path
endAtNoEnd date in ISO 8601 format (e.g. 2025-01-31T23:59:59Z)
limitNoNumber of results to return (1-1000, default: 100)
deviceNoFilter by device type (desktop, mobile, tablet)
offsetNoNumber of results to skip (default: 0)
regionNoFilter by region
sourceNoFilter by source parameter
browserNoFilter by browser (e.g. Chrome, Safari)
countryNoFilter by country code (e.g. US, GB)
startAtNoStart date in ISO 8601 format (e.g. 2025-01-01T00:00:00Z)
hostnameNoFilter by hostname
referrerNoFilter by referrer URL
timezoneNoIANA timezone (e.g. America/New_York). Defaults to website timezone
utm_termNoFilter by UTM term
entry_pageNoFilter by entry page path
utm_mediumNoFilter by UTM medium
utm_sourceNoFilter by UTM source
utm_contentNoFilter by UTM content
utm_campaignNoFilter by UTM campaign
Behavior3/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. It implies a read-only operation via the verb 'get' and clarifies output metrics ('visitor counts and revenue'), but it does not disclose pagination behavior, result grouping beyond 'by city,' or any rate/limit caveats. The description adds value by specifying the output, but gaps remain.

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, front-loaded sentence that conveys the core purpose without superfluous words. It efficiently communicates the resource and breakdown, making it easy for an agent to parse quickly.

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?

For a tool with 23 parameters, no output schema, and no annotations, the description provides minimal context. It states the metrics returned but does not explain the response structure, that results are likely aggregated per city with count/revenue, or whether any filters are required. It is adequate for a simple read tool but leaves gaps for complex usage.

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 documents all 23 parameters with descriptions (100% coverage), so the baseline is 3. The description adds no parameter-level details, but it doesn't need to since the schema covers the filters, pagination, and date range fields adequately.

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 returns 'visitor counts and revenue broken down by city,' providing a specific verb, resource, and breakdown dimension. This distinguishes it from sibling tools like get_countries and get_region, which focus on different geographical breakdowns.

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

Usage Guidelines2/5

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

The description offers no guidance on when to use this tool versus alternatives. It does not mention that it complements or differs from similar get_* breakdown tools, nor does it provide any context about prerequisites or use cases beyond the definition itself.

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/Marc-Lou-Org/datafast-mcp-server'

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