Skip to main content
Glama

Lemmy Communities

lemmy_communities
Read-onlyIdempotent

List communities on a Lemmy instance (default lemmy.world), sortable by Active/Hot/New/TopMonth/etc. and filterable by type (All/Local/Subscribed). Returns community name, description, and subscriber count.

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": {
      "sort": "Active",
      "limit": 25
    },
    "name": "lemmy_communities"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
sortNo
limitNo
type_No
instanceNo

Output Schema

NameRequiredDescriptionDefault
communitiesNoList of communities

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds one useful behavioral fact — the default instance is lemmy.world when omitted — but says nothing about pagination behavior, result caps, or rate limits, which matter for a paginated list tool.

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 tight sentences, front-loaded with the core action and followed by a return-value note. No filler; the only mild redundancy is describing return fields when an output schema already exists.

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?

An output schema exists, so omitting detailed return values is fine. However, with five parameters at 0% schema description coverage and two of them (page, limit) undocumented anywhere, the definition falls short of fully equipping an agent to paginate correctly.

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%, so the description carries the burden. It successfully documents the sort values (Active/Hot/New/TopMonth), the type values (All/Local/Subscribed), and the instance default, but leaves 'page' and 'limit' completely unexplained in both schema and description.

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 ('List communities on a Lemmy instance') plus scope details (default instance, sort and filter capabilities). It is clearly distinct from siblings like lemmy_posts or community, though it never names an alternative explicitly.

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?

The description implies the use case (browsing/discovering communities with sorting and filtering) but gives no explicit when-to-use or when-not-to-use guidance relative to siblings such as lemmy_search or community. Usage must be inferred from the capability list.

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.