Skip to main content
Glama
MobileAction MCP Server

MobileAction MCP Server

by asyau

get_keyword_history

Retrieve up to 30 days of App Store keyword ranking history for an app track ID, keyword, and country to monitor ranking changes over a date range.

Instructions

Get historic keyword ranking for a given keyword and track id of an app in AppStore (max 30 days).

Args: track_id: AppStore track id of the app country_code: Two letter country code (e.g. US) keyword: Keyword to get ranking history start_date: YYYY-MM-DD formatted start date (inclusive) end_date: YYYY-MM-DD formatted end date (inclusive) query: Optional natural language query to extract missing arguments

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": {
      "track_id": "<track_id>"
    },
    "name": "get_keyword_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
keywordNo
end_dateNo
track_idYes
start_dateNo
country_codeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the 30-day history limit, but says nothing about authentication, rate limits, or what the ranking series looks like beyond the existence of an output schema.

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 front-loads the purpose and the 30-day cap, then the parameter list is compact and earns its place given the 0% schema coverage. Slight redundancy with the schema titles, but no wasted prose.

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 six-parameter read tool with no annotations, the definition covers the what and the parameter formats, and an output schema exists so return values need not be described. Missing are optionality semantics (only track_id is required), defaults, and how 'query' interacts with explicitly supplied arguments.

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%, so the description must compensate, and it largely does: it explains all six parameters and supplies formats (two-letter country code, YYYY-MM-DD inclusive dates) and the purpose of 'query' as natural-language argument extraction. It falls short of stating that only track_id is required or what behavior to expect when keyword is omitted.

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 opens with a specific verb and resource: 'Get historic keyword ranking for a given keyword and track id of an app in AppStore', and bounds it with a 'max 30 days' window. That clearly separates it from a current-ranking sibling like get_keyword_ranking, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

The only usage constraint given is the 30-day maximum history window, which is genuinely useful for deciding whether this tool fits a request. There is no explicit when-to-use guidance, no mention of the extract_keyword_history_args sibling for natural-language argument extraction, and no note on what happens when required data is absent.

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