Skip to main content
Glama

Lemmy Post

lemmy_post
Idempotent

Fetch a single Lemmy post by numeric id from the specified instance (default lemmy.world). Returns title, body, author, score, comment count, and community.

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": {
      "id": 12345
    },
    "name": "lemmy_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
instanceNo

Output Schema

NameRequiredDescriptionDefault
postNoPost object with id, name, url, body, etc.
countsNoPost statistics (upvotes, downvotes, comments)
creatorNoPost creator user object
communityNoCommunity object

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior1/5

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

The description frames the tool as a pure read ("Fetch ... Returns title, body, author, score, comment count, and community"), while the annotations declare readOnlyHint=false, meaning the call is not guaranteed to be non-mutating. That is a direct conflict between the described behavior and the supplied safety profile, so no credit is available for behavioral disclosure beyond annotations.

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?

A single front-loaded sentence with the resource and lookup key stated first, followed by the default-instance detail. The trailing enumeration of returned fields is somewhat redundant given an output schema exists, but it costs only a few words.

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 two-parameter, single-record fetch tool with an output schema already covering return values, the description covers identifier, host selection, and default instance. The only real gap is routing guidance versus the sibling list/search tools.

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 0%, so the description must carry parameter meaning: it clarifies that id is numeric and that instance selects the Lemmy host, and it supplies the default lemmy.world that the schema does not declare. It still gives no format expectations for the instance string (e.g., hostname vs URL), so the compensation is partial.

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?

"Fetch a single Lemmy post by numeric id from the specified instance" names a specific verb and resource and pins the scope to a single item, which implicitly separates it from plural listing siblings like lemmy_posts. It stops short of explicitly naming an alternative, so it is clear but not fully differentiated.

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: an agent can infer this is the tool for retrieving one known post id rather than browsing or searching. There is no explicit when-to-use clause, no statement about when to prefer lemmy_posts or lemmy_search instead, and no mention of what happens with an invalid id.

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.