Skip to main content
Glama

Lemmy Posts

lemmy_posts
Read-onlyIdempotent

List Lemmy posts (federated Reddit-alternative; ActivityPub) from a community or feed. Sort by Active / Hot / New / TopDay / TopWeek / etc. Returns post title, body, author, upvotes, comment count. Use for federated open-source discussion forum content.

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": "Hot",
      "limit": 10,
      "community": "asklemmy@lemmy.world"
    },
    "name": "lemmy_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
sortNoActive | Hot | New | Old | TopDay | TopWeek | TopMonth | TopYear | TopAll | MostComments | NewComments
limitNo
type_NoAll | Local | Subscribed
instanceNo
communityNoCommunity name (e.g. "asklemmy@lemmy.world") or id.

Output Schema

NameRequiredDescriptionDefault
postsNoList of posts

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, and open-world behavior, so the safety profile is covered. The description adds useful context that results are federated ActivityPub content and lists returned fields, but says nothing about pagination behavior, default limits, or federation/latency caveats that matter for an open-world source.

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 compact sentences, front-loaded with what the tool does, then sort options, then return shape. Minor filler in the parenthetical explanation ('federated Reddit-alternative; ActivityPub') and the trailing 'Use for...' sentence, but nothing is seriously 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?

With an output schema present, the description needn't explain return values, and annotations carry safety; what remains missing is pagination semantics and the meaning of instance/type_, which are the non-obvious parts of a 6-parameter open-world list tool. Adequate but with clear gaps.

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 only 50%, and the description only reinforces the sort values already present in the schema's sort enum (Active/Hot/New/TopDay/TopWeek). It adds nothing about page, limit, instance, or type_ (Local/Subscribed), so the undocumented half of the parameters stays unexplained.

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 ('List Lemmy posts') plus source scope ('from a community or feed') and enumerates the sort modes and returned fields. It implicitly separates itself from 'lemmy_post' by being a list operation, but it never names or contrasts any sibling explicitly, which keeps it at 4 rather than 5.

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?

'Use for federated open-source discussion forum content' gestures at the domain of use but gives no when-to-use vs. when-not guidance, no mention of when to prefer lemmy_post (single post) or lemmy_search. Usage must be inferred from the tool name and the word '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.