Skip to main content
Glama

Top apps in a category chart

category_top_apps
Read-only

List the apps at the top of a category chart (top free, top grossing, top paid) in a country. Use it to see who leads a category; list_categories has the valid tags. Costs 5 credits.

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": {
      "store": "<store>",
      "country": "<country>"
    },
    "name": "category_top_apps"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoChart date, YYYY-MM-DD. Defaults to the latest.
limitNoHow many apps, up to 200. Leave it out for the top 25; set it only when the user asks for a number.
storeYesWhich app store: "android" (Google Play) or "ios" (App Store).
countryYesTwo-letter ISO country code, e.g. "US", "GB", "DE".
categoryNoCategory tag from list_categories, never a guessed name. Tags differ by store: the App Store numbers them ("6014" Games, "6015" Finance), Google Play names them in capitals ("GAME", "FINANCE").
extendedNoFull app profiles (name, developer, icon) instead of bare ids. On by default, at no extra cost.
show_diffNoInclude each app's movement since the previous chart.
sub_categoryNoChart inside the category: "topselling_free", "topgrossing", "topselling_paid" on Google Play; "top-free", "top-paid", "top-grossing" on the App Store. Required by category_top_apps. list_categories has the valid tags.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Category tag from list_categories."New value: +"Category tag from list_categories, never a guessed name. Tags differ by store: the App Store numbers them (\"6014\" Games, \"6015\" Finance), Google Play names them in capitals (\"GAME\", \"FINANCE\")."
    • changedInput schema / properties / extended / description
      Previous value: -"Return full app profiles instead of package ids and ranks."New value: +"Full app profiles (name, developer, icon) instead of bare ids. On by default, at no extra cost."
    • changedInput schema / properties / limit / description
      Previous value: -"How many rows to return, up to 200."New value: +"How many apps, up to 200. Leave it out for the top 25; set it only when the user asks for a number."
    • changedInput schema / properties / sub_category / description
      Previous value: -"Chart inside the category: \"topselling_free\", \"topgrossing\", \"topselling_paid\" on Google Play; \"top-free\", \"top-paid\" on the App Store. list_categories has the valid tags."New value: +"Chart inside the category: \"topselling_free\", \"topgrossing\", \"topselling_paid\" on Google Play; \"top-free\", \"top-paid\", \"top-grossing\" on the App Store. Required by category_top_apps. list_categories has the valid tags."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds a genuinely useful behavioral fact not present in structured data, namely that each call costs 5 credits. It does not say how fresh the chart is or how the default (latest) date is resolved, but that is a modest gap given the 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.

Conciseness5/5

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

Three short sentences, front-loaded with the action and resource, then the use case and prerequisite, then the cost. Every sentence carries information an agent would otherwise have to infer, and there is no padding.

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?

For an 8-parameter read-only listing tool with a fully annotated schema and no output schema, the description covers purpose, prerequisite (list_categories) and cost. It omits any statement about result ordering or size defaults (top 25), which is handled in the schema, so it is nearly complete.

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 every parameter including limit, date, extended and sub_category is already documented in detail. The description's parenthetical of chart types lightly echoes the sub_category enum and 'in a country' echoes the country param, adding little beyond the schema, so the baseline of 3 applies.

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 a specific verb and resource ('List the apps at the top of a category chart') and enumerates the chart types (top free, top grossing, top paid) plus the country scoping, which lets an agent picture the output. It stops short of differentiating from the similarly-named siblings such as keyword_top_apps or app_category_rankings, so the boundary is inferred rather than stated.

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?

'Use it to see who leads a category' gives a concrete use case, and 'list_categories has the valid tags' points to the prerequisite tool for the category/sub_category tags. There is no guidance on when to prefer this over app_category_rankings or keyword_top_apps, and no exclusions, so the guidance is implied rather than complete.

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.