Skip to main content
Glama

Read or save the trend niches

trend_niches
Idempotent

Save, retrieve, or clear up to three confirmed trend niches for UGC ad targeting, with suggestions from analyzed creators and your primary niche listed first.

Instructions

Free. Alone: the saved niches, the first the primary, and suggested ones from analysed creators; none: extract_brand on the user's site. niches: save the user's confirmed list, at most 3, replacing it; [] clears it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "trend_niches"
  }
}

Input Schema

NameRequiredDescriptionDefault
nichesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.56.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a mutating but idempotent, non-destructive operation, and the description adds real context beyond them: the call is free, passing a list replaces the existing one, a maximum of three applies, and an empty array clears the saved list. The clearing behavior sits slightly at odds with the benign framing, and the description never states what authentication or scope the save affects.

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?

There is little wasted text, but the structure is fragmented and front-loading is weak: the reader hits the bare word 'Free.' and then a subjunctive 'Alone:' clause before learning what the tool does. A short declarative sentence on the two modes would make the same content far easier to parse.

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 single-parameter tool with no output schema, the description covers the read return shape, the write/replace/clear semantics, the cap, and the fallback to another tool. What remains missing is the internal meaning of the nested entry fields, which matters because no schema text or output schema fills that gap.

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 0%, and the tool's one parameter is a nested object whose sub-fields (keywords, language, platform) have no descriptions anywhere. The description does explain the parameter's overall role, the max-three limit, replace semantics, and the [] clearing case, which partially compensates, but it says nothing about what the nested entries mean or how `language`/`platform` affect behavior.

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 conveys both modes of a dual-purpose tool: called with no arguments it returns the saved niches (first = primary) plus suggestions, and called with `niches` it saves the user's confirmed list. The job is identifiable, but the telegraphic labels ('Alone:', 'none:') force the reader to decode the structure rather than stating the purpose plainly.

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?

Mode selection is explicit: no argument means read, providing `niches` means save, and when there are none it points to `extract_brand` on the user's site as the next step. That is genuine when-to-use routing against a named sibling. It doesn't cover when to avoid overwriting an existing list or how suggestions should be confirmed.

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