Skip to main content
Glama

datasets_reddit_trending_facets

Read-only

Return up to 50 facet buckets with counts for one Reddit trending field using the filters from datasets_reddit_trending_search. facet accepts subreddit, domain, or snapshot_date; page and page_size do not change counts; sort is validated but does not change bucket order. A snapshot_date facet without date spans all history. Other facets use the same search date scope: latest snapshot by default, full history for app_id or sort=date_desc, and only the requested day when date is supplied. Use datasets_reddit_trending_search to find trending posts.

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_reddit_trending_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text query over the post title, max 256 characters.
dateNoOptional snapshot date filter, yyyy-MM-dd. Defaults to the latest available snapshot (today's trending).
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: rank (trending order), date_desc (a subreddit's history over time). Defaults to rank.
facetYesrequired,Required facet. Allowed values: subreddit, domain, snapshot_date.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
subredditNoOptional exact subreddit-name filter (case-sensitive as tracked, e.g. webscraping).

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.5/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-idempotent, but the description adds genuinely non-obvious behavior: a hard 50-bucket cap, that page/page_size do not change counts, and that sort is validated but does not change bucket order. The one blemish is the reference to 'app_id', a filter that does not exist in this tool's schema, which leaves an unexplained term in the behavior rules.

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?

Front-loaded with the output shape and cap, then facet options, then the caveats that matter. It is dense but nearly every clause carries information; the only soft spot is the 'app_id or sort=date_desc' clause, which introduces a term the reader cannot resolve from this definition.

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 an output schema present, return values need not be described, and the description still covers the cap, ordering, paging inertness, and per-facet date scope. The lone gap is the unexplained 'app_id' branch, which an agent cannot map to any parameter in this tool.

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 100%, so the baseline is 3, but the description earns above it by explaining consequences the schema does not: page/page_size are inert for counts, sort affects validation only, and a snapshot_date facet without a date spans all history. It stops short of 5 because the date-scope sentence is partly muddled by the out-of-schema 'app_id' reference.

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 ('Return up to 50 facet buckets with counts for one Reddit trending field') and immediately scopes it against the sibling by saying the filters come from datasets_reddit_trending_search. An agent can distinguish this aggregation tool from the post-listing sibling 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 Guidelines5/5

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

Explicitly routes the agent: this tool produces facet counts, and 'Use datasets_reddit_trending_search to find trending posts' names the alternative and the condition that selects it. It also gives the per-facet date-scope rules, so the agent knows which filter combinations produce which time window.

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.