Skip to main content
Glama

Get keyword history

get_keyword_history
Read-only

Daily rank, popularity and difficulty history of one tracked keyword (keywordId from get_app_keywords), oldest first; days without measurements are omitted. Free plan: last 7 days. Defaults to 30 points per page; use nextOffset for more.

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

Input Schema

NameRequiredDescriptionDefault
daysNoDays of history to return, or "all". Free plan: capped at 7.
appIdYesLocal app id from list_apps, not the App Store ID
limitNoResults per page (max 100)
offsetNoStart at this offset; use nextOffset from the previous response
keywordIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 30,
      +  "description": "Results per page (max 100)",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Start at this offset; use nextOffset from the previous response",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint; the description adds real behavior: results ordered oldest first, days without measurements omitted, free-plan truncation to 7 days, and default page size. It doesn't mention rate limits or what a missing keywordId returns, but the added context is substantial.

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?

A single front-loaded sentence carries the return content, ordering, identifier source and pagination, followed by one short plan-limit sentence. No filler.

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

Completeness4/5

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

With no output schema, the description usefully names the returned metrics, ordering, and gap behavior, and covers plan limits and paging. Only minor gaps remain, such as the shape of each history point and behavior when the keyword has no data.

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 coverage is 80%, but keywordId has no schema description and the description compensates by naming get_app_keywords as its source. It also restates the 30-point default page and nextOffset paging, which largely duplicate schema text but clarify how limit/offset combine.

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?

States a specific verb and resource: daily rank, popularity and difficulty history for one tracked keyword, plus the identifier's origin ('keywordId from get_app_keywords'). This clearly separates it from sibling tools like get_keyword_popularity and get_app_keywords.

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?

Explicitly routes the agent to get_app_keywords to obtain keywordId and covers pagination with nextOffset. It doesn't say when to prefer a sibling tool (e.g., get_keyword_popularity for a single current score), so guidance is clear but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources