Skip to main content
Glama
billylo1

aptabase-mcp

by billylo1

get_top_countries

Get top countries by unique sessions for any period, with optional filters for OS, event, or version.

Instructions

Top countries by unique sessions for the period.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesAptabase app id (from list_apps)
osNameNoFilter by OS name (e.g. iOS, Android, macOS)
periodNoDashboard period preset. Prefer this over startDate/endDate. Defaults to 24h for stats tools when neither period nor dates are set.
endDateNoISO end datetime (use with startDate if not using period)
buildModeNoRelease or debug build mode (debug queries appId_DEBUG)release
eventNameNoFilter by event name
startDateNoISO start datetime (use with endDate if not using period)
appVersionNoFilter by app version
countryCodeNoFilter by ISO country code
deviceModelNoFilter by device model
granularityNoOverride bucket size; auto-derived from period/range when omitted
Behavior2/5

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

No annotations are present, so the description must carry behavioral disclosure. It only restates the high-level concept of 'top countries by unique sessions' without explaining return format, sorting, default period behavior, or how filters interact. This is minimal value beyond the tool name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single vague sentence. While it is technically concise, it is under-specified for an 11-parameter analytics tool. It lacks a verb, any structural breakdown, or useful details, making it more of an underspecification than a well-structured summary.

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

Completeness1/5

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

With 11 parameters, no output schema, and no annotations, this tool needs a much richer description. The one-line summary does not explain return values, default time periods, filtering semantics, or relationship to sibling tools, leaving the agent with insufficient context for correct invocation.

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%, with all 11 parameters described in the input schema. The baseline for high coverage is 3. The description itself adds no parameter semantics, but it doesn't need to because the schema already provides detailed explanations.

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 states the resource (countries), metric (unique sessions), and time context (period). It is clear about what the tool returns, but it lacks a verb and does not differentiate from sibling tools like get_top_regions, so it stops short of a full 5.

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?

No guidance is provided on when to use this tool versus alternatives. There is no mention of the required appId, how country differs from region, or when to prefer this over other top-N tools. The description gives no usage context or exclusions.

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/billylo1/aptabase-mcp'

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