Skip to main content
Glama

list_lemmy_communities

Read-onlyIdempotent

List eligible public communities hosted on one connected Lemmy API v3 instance. Returns communities (use the id as communityId) and nextCursor when more pages exist; follow it. Schedule with accountIds containing accountId and platformData.lemmy containing integrationId: accountId, communityId, title, and optional url. Connect manually in settings; never send session tokens through chat or MCP. CAPABILITY: read: side-effect-free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "accountId": "<accountId>"
    },
    "name": "list_lemmy_communities"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoPagination cursor: the nextCursor from the previous page. Omit for the first page.
accountIdYesLemmy integration id from list_integrations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / accountId / description
      Added value: +"Lemmy integration id from list_integrations."
    • addedInput schema / properties / cursor / description
      Added value: +"Pagination cursor: the nextCursor from the previous page. Omit for the first page."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description does add value beyond them: pagination via nextCursor, the fact that only eligible public communities are returned, and a security constraint about never passing session tokens through chat or MCP. It stops short of describing page size, ordering, or error behavior, which keeps it at a solid 3.

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?

Front-loaded with purpose, then return shape, then downstream usage, then the security caveat. Every sentence carries information, though the scheduling sentence ('accountIds containing accountId and platformData.lemmy containing integrationId...') is dense jargon that is harder to parse than the rest.

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?

There is no output schema, so the description correctly compensates by naming the return fields (communities, nextCursor) and the id-to-communityId mapping. Pagination, setup requirements, and safety are all covered; only ordering and error semantics are missing, which are minor for a read-only list tool.

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% and both parameters are documented, including that cursor comes from the previous page and accountId comes from list_integrations. The description adds only one thing beyond the schema — that the returned id should be used as communityId when scheduling — which is useful but marginal against a fully documented schema.

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 opens with a specific verb and resource: 'List eligible public communities hosted on one connected Lemmy API v3 instance.' The scope qualifiers ('eligible', 'public', 'one connected instance') let an agent distinguish it from list_integrations, though it never explicitly names an alternative.

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?

It gives real operational guidance: omit the cursor for the first page, follow nextCursor when more pages exist, and connect the integration manually in settings rather than sending session tokens. What it lacks is an explicit statement of when to prefer this over a sibling such as list_integrations, so the routing is implied rather than stated.

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.