Skip to main content
Glama

datasets_producthunt_trends_facets

Read-only

Returns suppressed distribution counts over the Product Hunt trends dataset (dataset id enum value producthunt-trends), honoring the same filters as search. Facet enum: topic, launch_year. facet: Required facet to aggregate. Allowed values: topic, launch_year. group_by: Aggregate cell dimension. Allowed values: topic_month, topic_year, topic. Defaults to topic_month. Use datasets_producthunt_trends_search to search the Product Hunt trends dataset.

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

Input Schema

NameRequiredDescriptionDefault
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: period_desc, period_asc, launch_count_desc, sum_votes_desc. Defaults to period_desc.
facetYesRequired facet to aggregate. Allowed values: topic, launch_year.
topicNoOptional exact topic-slug filter, e.g. artificial-intelligence.
group_byNoAggregate cell dimension. Allowed values: topic_month, topic_year, topic. Defaults to topic_month.
min_votesNoOptional minimum product upvotes, 0 or greater.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
min_launchesNoOptional minimum launches per cell; raises the small-cell suppression floor, which is never lowered below the built-in minimum.
launched_afterNoOptional lower bound on first-launch date, an ISO-8601 date (YYYY-MM-DD); only products first launched on or after it are counted.
launched_beforeNoOptional upper bound on first-launch date, an ISO-8601 date (YYYY-MM-DD); only products first launched on or before it are counted.

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. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only/open-world profile, but the description adds real behavioral context: results are suppression-aware and the small-cell floor is raised by min_launches yet 'never lowered below the built-in minimum'. That is non-obvious semantics not present in the annotations. It does not discuss pagination or rate limits, but the schema covers paging bounds.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The purpose and the sibling pointer are front-loaded, which is good, but the body degenerates into a schema echo — 'Facet enum: topic, launch_year' followed immediately by 'facet: Required facet to aggregate. Allowed values: topic, launch_year' is redundant. That duplication costs space without adding information.

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 and 10 fully described parameters, the description needn't explain return shape or paging, and it correctly focuses on the aggregation semantics and the search alternative. The only soft spot is 'honoring the same filters as search', which leaves the reader to infer that all filter params behave identically.

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 the schema already documents every parameter including the suppression floor. The description only restates the facet and group_by enum values verbatim (actually repeating the facet values twice) without adding format or interaction details. Baseline 3 is appropriate.

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 ('Returns suppressed distribution counts over the Product Hunt trends dataset') and pins the dataset id enum value, so an agent knows exactly what is computed. It is distinguishable from the sibling search tool, though the phrase 'suppressed distribution counts' is domain jargon that could slow a naive reader.

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?

It names the alternative explicitly ('Use datasets_producthunt_trends_search to search...') and implicitly frames this tool as the aggregation counterpart to search. There is no explicit when-not-to-use rule (e.g. when a simple listing is enough), so it falls 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.