Skip to main content
Glama

List niches

list_niches
Read-onlyIdempotent

Use this when the user wants to pick or browse a content niche before looking at trending videos, or asks which niches ViralDecoder tracks. Lists the niches (slug, name, group, number of trending videos). Use a slug as the niche argument of trending_videos. Read-only.

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": "list_niches"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so the trailing 'Read-only' sentence is redundant and earns no credit. The description does add value by disclosing the returned fields (slug, name, group, video count), which the annotations do not cover.

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?

Three short sentences, front-loaded with the triggering condition and the returned fields. The final 'Read-only.' sentence is redundant with the annotations, a minor bit of waste that keeps it from a 5.

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 correctly compensates by naming the returned fields, and it states the trigger condition and the next-tool handoff. Nothing essential for calling a zero-parameter read tool is missing.

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?

Zero parameters, so baseline is 4. The description goes slightly beyond by explaining the semantic role of the slug field — it is the value to feed into trending_videos' `niche` argument — which links the schema-less output to a downstream parameter.

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?

States a specific verb and resource ('Lists the niches') and enumerates the returned fields (slug, name, group, count), which is clearer than a bare 'list' statement. It does not sharply contrast itself against siblings in the purpose sentence itself — the differentiation lives in the usage sentence.

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?

Gives explicit context: use when the user wants to pick or browse a niche before looking at trending videos, or asks which niches are tracked. It also routes the agent forward by telling it to pass a slug to trending_videos. No when-not condition or named alternative is stated, which keeps it just 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.

Resources