Skip to main content
Glama

One trend

trends_get
Read-only

Retrieve details for a hashtag or sound in a region's Discover list, including listing status, 90-day daily history, hashtag description and sample videos, returned as JSON with provenance.

Instructions

One hashtag or sound of a region's Discover list: the list fields, whether it is still listed (onList; status: dropped otherwise), its daily history over 90 days, the hashtag's description and TikTok's sample videos. Needs API key scope trend:read. Costs credits from the workspace wallet (billed as a cached read). Returns the API answer as JSON, with provenance (freshness, coverage, source).

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": {
      "trend_type": "<trend_type>",
      "trend_id": "<trend_id>"
    },
    "name": "trends_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoISO 3166-1 alpha-2 region code (default `US`).
trend_idYesHashtag name without `#` (`trendId` in `trends_list`), or the sound id.
trend_typeYes`hashtag` or `sound`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description goes well beyond by naming the required API key scope (`trend:read`), disclosing that calls cost wallet credits billed as a cached read, and explaining the `onList`/`status: dropped` semantics plus the 90-day history window. Missing only error/failure behavior or rate limits to reach a 5.

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?

Two sentences, front-loaded with the resource and its scope before the cost/access details. Dense but nearly every clause carries information; the parenthetical `onList`/`status: dropped` and the provenance note both earn their space. Slightly overpacked into one opening sentence.

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 no output schema, the description does the work of describing the return payload (list fields, daily history, hashtag description, sample videos) and the `provenance` envelope. Combined with the auth scope and billing note, an agent has what it needs to call this correctly; only edge-case behavior for missing/dropped trends is unaddressed.

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 coverage is 100%, so the schema already documents all three parameters including the region default and the enum for trend_type, making 3 the baseline. The description adds no format or edge-case guidance for trend_id (e.g. whether the sound id is numeric, precedence when the same string exists as both types).

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?

Opens with a concrete noun phrase — 'One hashtag or sound of a region's Discover list' — that pins the resource and its scope, and the singular phrasing implicitly sets it apart from trends_list (which the schema also references via 'trendId in trends_list'). The action verb ('get/retrieve') is only implied, which keeps it just short of a 5.

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?

Usage is only implied: an agent can infer this is the detail-lookup counterpart to trends_list, and the schema's 'trendId in trends_list' hint reinforces the chaining. But the description never explicitly says when to pick this over trends_list, nor does it state any exclusion such as 'use trends_list first to discover IDs'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.