Skip to main content
Glama

Analyze Trend Media

analyze_trend_media
Destructive

[write] Send posts of a trend source to content analysis (at most 5 per call): a video goes to the video analyzers, an image post to the image analyzer. source names the platform (today: "tiktok"); media_ids are the posts' ids on it (TikTok: the aweme_ids of search_tt_videos). It only queues them; the answer comes later - call get_tt_trend_analysis with the returned trend_analyzer_ids. language is the spoken language of the posts (two letters); brief says what the analysis is for.

Input Schema

NameRequiredDescriptionDefault
briefNo
sourceYes
languageNo
media_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 write, destructive, open-world, and non-idempotent behavior. The description adds important context beyond that: it only queues analysis, returns trend_analyzer_ids for later retrieval, routes video vs. image posts, and caps calls at 5 items. It does not elaborate on destructive effects, auth, or broader rate limits, so it is strong but not exhaustive.

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?

The description is front-loaded with the write action and remains reasonably tight for the amount of workflow detail it covers. The semicolon-heavy parenthetical style makes it slightly less scannable, but no sentence is clearly wasted.

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 four-parameter asynchronous write tool with no output schema, the description covers the essential call behavior, inputs, batch limit, prerequisites, and follow-up retrieval. It could say more about the exact response shape beyond returned trend_analyzer_ids, but it is complete enough to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. It does so for all four parameters: source is the platform (today TikTok), media_ids are post IDs such as TikTok aweme_ids, language is the two-letter spoken language, and brief states the analysis purpose.

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: sending trend-source posts to content analysis, with video vs. image routing. It explicitly contrasts with the follow-up get_tt_trend_analysis tool, but does not name or differentiate the sibling analyze_tt_trend_media, leaving some ambiguity.

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 clearly explains prerequisites (media_ids are TikTok aweme_ids from search_tt_videos) and the follow-up step (call get_tt_trend_analysis with returned trend_analyzer_ids). It also gives a batch limit of 5 per call, but does not explicitly state when to choose this over the sibling analyze_tt_trend_media.

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.