Skip to main content
Glama

App rank in one category chart

app_category_rankings_single
Read-only

An app's current position in a single category chart. Use it when you know exactly which chart you mean; app_category_rankings lists every chart the app appears in. Costs 2 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>",
      "package": "<package>"
    },
    "name": "app_category_rankings_single"
  }
}

Input Schema

NameRequiredDescriptionDefault
cacheNoUse a cached result. True by default; false re-checks the store live (~7s).
storeYesWhich app store: "android" (Google Play) or "ios" (App Store).
countryYesTwo-letter ISO country code, e.g. "US", "GB", "DE".
packageYesApp package / bundle id, e.g. "com.discord" (Android) or a numeric App Store id. If you only have the app name, call app_search first to resolve it.
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").
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. Changed2 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 / 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

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds two things beyond that: the result is a *current* snapshot (contrasting with the history tool) and the call 'Costs 2 credits,' which is operationally important for call planning. It does not discuss freshness/caching behavior, though that is handled in the schema.

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?

Two short sentences, zero filler, with the core purpose front-loaded and the disambiguation plus cost stacked behind it. Every clause carries information an agent needs to make a selection decision.

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 a six-parameter, read-only lookup with full schema coverage and no output schema, the definition supplies purpose, alternative-routing, and cost. The only residual gap is what the response looks like (e.g., a single rank value vs. a rank record), which the agent must infer because no output schema exists.

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%, with detailed per-parameter text covering store, country, package, category, sub_category and cache. The description adds no parameter-level meaning — 'single category chart' only alludes to category/sub_category already documented in the schema — so the baseline 3 applies.

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?

The description states a specific resource and scope: an app's *current* position in a *single* category chart. That phrasing implicitly separates it from the history sibling and, together with the explicit mention of app_category_rankings (all charts), lets an agent distinguish this tool without opening any schema.

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?

Explicit selection guidance: 'Use it when you know exactly which chart you mean,' paired with the alternative app_category_rankings for the enumerate-everything case. The reverse condition (what to do when you don't know the category) is only covered by the schema's list_categories/app_search hints, not the description itself, so it stops short of a 5.

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.