Skip to main content
Glama

Mastodon Get Trending

mastodon_get_trending
Read-onlyIdempotent

Get currently trending posts on Mastodon. Returns popular statuses with engagement counts, authors, and trending tags.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of trending statuses to return (default: 10, max: 40)

Output Schema

NameRequiredDescriptionDefault
countYesNumber of trending statuses returned
statusesYesTrending posts

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered and the description need not repeat it. The description adds useful context about the result contents ('engagement counts, authors, and trending tags'), but says nothing about scope (which Mastodon instance, whether it is local or federated trending) or how frequently the data refreshes.

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 short, front-loaded sentences with no filler. The second sentence is arguably redundant against the output schema, but it is brief and informative rather than wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only tool with full annotation coverage, a fully documented schema and an output schema, the description covers the essentials. What is missing is the instance/federation scope of 'trending', which materially affects what the agent gets back and cannot be derived from structured fields.

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%: the single 'limit' parameter is documented with default (10) and maximum (40) in the schema itself. The description neither mentions 'limit' nor adds any formatting or range detail beyond it, so the baseline of 3 applies.

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 ('Get currently trending posts on Mastodon'), which distinguishes it in kind from a timeline or search tool. It stops short of explicitly naming the sibling tools it differs from, but the intent is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as mastodon_get_timeline or mastodon_search. The agent must infer that 'trending' is the selection criterion purely from the wording.

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.