Skip to main content
Glama

datasets_apps_facets

Read-only

Return up to 50 facet buckets with counts for one apps field using the filters from datasets_apps_search. facet accepts store, platforms, category, country, developer, or free; page and page_size do not change counts; sort is validated but does not change bucket order. Use datasets_apps_search to find app records.

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": {
      "facet": "<facet>"
    },
    "name": "datasets_apps_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text query over app title, developer and category, max 256 characters.
freeNoOptional price filter; true keeps only free apps, false only paid.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, rating_desc, reviews_desc, installs_desc, updated_at_desc, popularity_desc. popularity_desc ranks by Popularity (ratings count times average stars). Defaults to relevance with q, otherwise reviews_desc.
facetYesrequired,Required facet. Allowed values: store, platforms, category, country, developer, free.
storeNoOptional store filter. Allowed values: ios, android, both.
countryNoOptional exact storefront country filter, max 128 characters, e.g. us.
categoryNoOptional exact app-store category filter, max 128 characters, e.g. Productivity.
developerNoOptional exact developer/publisher name filter, max 128 characters.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
platformsNoOptional repeatable device-platform filter; matches apps confirmed on AT LEAST ONE (OR) of the given values, e.g. platforms=mac&platforms=tv. Allowed values: phone, pad, tablet, mac, tv, chromebook, watch, vision, xr, car, windows. Platform coverage is still being backfilled so omitting this returns the full corpus regardless of platform.
min_ratingNoOptional minimum store rating, from 0 through 5.
min_reviewsNoOptional minimum ratings/review count, must be 0 or greater.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/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 behavior the annotations cannot convey: a hard cap of 50 buckets, that page/page_size do not alter counts, and that sort is validated but does not reorder buckets. It does not explain what page/page_size actually do (truncation behavior) or how counts relate to the returned buckets, leaving a small gap.

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?

Three sentences, front-loaded with the core capability before the facet enumeration and the caveats about pagination and sort. Slightly dense with semicolons, but no sentence is filler; the trailing pointer to datasets_apps_search is short and purposeful.

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 13-parameter aggregation tool with an output schema and full annotation coverage, the description covers the essential unknowns: bucket cap, facet field values, and the fact that pagination and sort do not affect counts. The main residual ambiguity is what page/page_size change if they do not change counts, but that is a minor omission given the richness of the structured fields.

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 100%, so the baseline is 3. The description earns an extra point by documenting semantics absent from the schema: page and page_size are inert with respect to counts, and sort affects validation only, not bucket ordering. It also implies the full search filter set applies to facet computation, which frames how the other eleven parameters interact.

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?

Opens with a specific verb and resource: 'Return up to 50 facet buckets with counts for one apps field.' It names the accepted facet values and explicitly separates this aggregation tool from datasets_apps_search, so an agent can distinguish it from the sibling search tool without opening either 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?

States the tool is fed by 'the filters from datasets_apps_search' and closes with 'Use datasets_apps_search to find app records,' which clearly routes record retrieval elsewhere. It also tells the agent that page and page_size need not be tuned for counts, a useful usage rule. It stops short of explicit when-not-to-use guidance for the sibling facet tools (reviews, charts), but context names alone do not establish those alternatives' behavior.

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.