Skip to main content
Glama

Mastodon Search

mastodon_search
Read-onlyIdempotent

Search Mastodon for accounts, statuses, or hashtags. Returns matching profiles, posts, and tags with follower counts and engagement metrics.

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": {
      "query": "climate change"
    },
    "name": "mastodon_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoType of results: accounts, statuses, or hashtags (default: statuses)
limitNoNumber of results to return (default: 10, max: 40)
queryYesSearch query string

Output Schema

NameRequiredDescriptionDefault
typeYesType of results returned: accounts, statuses, or hashtags
queryYesThe search query string used
accountsYesMatching Mastodon accounts
hashtagsYesMatching hashtags
statusesYesMatching posts/statuses

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this read-only, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds that results include follower counts and engagement metrics, but that overlaps with the existing output schema and says nothing about pagination, query semantics, or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the resource and search scope front-loaded, followed by the result payload. There is no filler, hedging, or repetition.

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 simple three-parameter read tool with rich annotations, full schema coverage, and an existing output schema, the description is nearly complete. A brief note on default result type (statuses) surfaced in prose or on matching behavior would close the remaining 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 description coverage is 100% — type, limit, and query are all documented with defaults and a max — so the schema carries the parameter burden. The description's mention of 'accounts, statuses, or hashtags' only echoes the type enum and adds no new meaning (no query syntax or matching 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 gives a specific verb and resource ('Search Mastodon for accounts, statuses, or hashtags') and enumerates the three result kinds, so an agent immediately knows the scope. It does not explicitly contrast itself with neighboring tools like mastodon_get_timeline or mastodon_get_trending, but the search framing is distinct enough on its own.

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 through the word 'Search' and the result-type list; there is no statement of when to prefer this over timeline/trending siblings or when not to use it. No prerequisites (e.g., instance or auth context) are mentioned.

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.