Skip to main content
Glama
MobileAction MCP Server

MobileAction MCP Server

by asyau

get_top_charts

Retrieves top chart rankings for a given app category, country, ranking type, device, and date to support App Store market analysis.

Instructions

Get top charts information for given category, country, ranking type and device.

Args: version: 'v1' or 'v2' category_id: Integer category id country_code: Two letter country code ranking_type: FREE, PAID, GROSSING target_device: IPHONE, IPAD date: YYYY-MM-DD formatted date

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "version": "<version>",
      "category_id": "<category_id>",
      "country_code": "<country_code>",
      "ranking_type": "<ranking_type>",
      "target_device": "<target_device>",
      "date": "<date>"
    },
    "name": "get_top_charts"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
versionYes
category_idYes
country_codeYes
ranking_typeYes
target_deviceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it says nothing about behavior beyond inputs: no note on rate limits, result caps, whether v1 and v2 return different data shapes, or whether historical dates are available. Because an output schema exists, return format needn't be explained, but the v1/v2 behavioral distinction is a real gap for a read tool with zero annotation coverage.

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

Conciseness4/5

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

The lead sentence is front-loaded and states the purpose in one line, followed by a tight Args block with one clause per parameter. Nothing is padded, though the Args block largely restates parameter names and types, and the literal-value information would be easier to scan if formatted as a list rather than free text.

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?

With six required parameters, no annotations, and 0% schema coverage, the description does the minimum viable job: it documents every input's accepted values and formats. What's missing is the selection logic (v1 vs v2, and how this differs from the sibling ranking tools), which matters given the crowded ranking-tool namespace. The existence of an output schema relieves it of explaining return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description compensates well by giving the accepted literal values for ranking_type (FREE, PAID, GROSSING) and target_device (IPHONE, IPAD) plus the expected formats for country_code (two letters), date (YYYY-MM-DD), and version (v1/v2). These enumerations are absent from the schema, so this is genuine added meaning. It loses a point for never explaining what distinguishes v1 from v2 or how a category_id is obtained.

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 names a specific resource ('top charts information') and enumerates the dimensions that scope it (category, country, ranking type, device). An agent can tell this is a chart-listing retrieval tool. It stops short of distinguishing itself from near-neighbors such as get_category_ranking or get_global_last_day_category_rankings, so it lands at 4 rather than 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?

There is no statement of when to use this tool, no exclusions, and no pointer to alternatives among the many ranking-related siblings. The only implicit guidance is the parameter list itself, which merely implies 'use this to look up charts' without any decision criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.