Skip to main content
Glama

Lemmy Comments

lemmy_comments
Read-onlyIdempotent

List Lemmy comments under a post or thread. Returns author, body, score, parent, posted date. Use to read discussion threads on federated Reddit-alternative communities.

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": 20,
      "post_id": 12345
    },
    "name": "lemmy_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
sortNo
limitNo
post_idNo
instanceNo
communityNo
max_depthNo
parent_idNo

Output Schema

NameRequiredDescriptionDefault
commentsNoList of comments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/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 the returned fields and the federated-community context, but says nothing about pagination despite a `page` parameter, sort defaults, or how max_depth controls traversal.

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 short sentences, front-loaded with the action and scope, with no filler. The only mild redundancy is enumerating 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.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with zero schema description coverage, the definition leaves most parameters undefined and doesn't explain the nesting behavior implied by parent_id and max_depth. An agent could call it with just post_id, but would be guessing at depth/pagination behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters, and the description only implicitly gestures at `post_id` and `parent_id` via "under a post or thread." Nothing explains `page`, `sort`, `limit`, `max_depth`, `instance`, or `community`, and the examples alone don't clarify max_depth versus parent_id semantics.

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 Lemmy comments under a post or thread." That distinguishes it from sibling post-level tools like lemmy_post or lemmy_posts, which an agent can infer fetch posts rather than discussion comments. It stops just short of explicitly naming the boundary, but the resource is unambiguous.

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 to read discussion threads on federated Reddit-alternative communities" gives a usage context but no when-not conditions and no alternative named among siblings. An agent knows why it exists but not what to pick when it wants a post body instead of comments.

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.