Skip to main content
Glama
Marc-Lou-Org

@datafast/mcp-server

by Marc-Lou-Org

Get Visitors by Country

get_countries

Get visitor counts and revenue by country, with country names and flag images. Supports filtering by date, device, source, and other parameters to analyze geographic performance.

Instructions

Get visitor counts and revenue broken down by country. Returns country name, flag image URL, visitor count, and revenue.

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 the full burden. It discloses return fields (country name, flag URL, visitor count, revenue) but does not mention limitations, default behavior, or any caveats. For a simple read-only analytics tool, this is acceptable but not rich.

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 efficiently conveys the action, resource, and return fields. No wasted words; every part adds value.

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?

The description is minimally viable for a 23-parameter analytics tool without an output schema. It explains the purpose and return fields, and the schema covers all parameters. However, it lacks usage guidance, default behaviors (e.g., limit, date range), and any caveats about data granularity or time period, making it incomplete for fully autonomous agent decisions.

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 description coverage is 100%, so all 23 parameters are already documented in the input schema. The description adds no additional parameter semantics beyond what the schema provides, such as default limit or special filter behavior.

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 purpose: 'Get visitor counts and revenue broken down by country.' It uses a specific verb (get) and resource (visitor counts/revenue by country), and the country focus distinguishes it from sibling analytics tools like get_cities and get_regions.

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 implicitly conveys when to use this tool: when country-level visitor and revenue data is needed. While it doesn't explicitly mention alternatives, the country-specific wording provides clear context for selection among similar analytics getters.

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