Skip to main content
Glama

List Lemmy instance moderation log

lemmy_modlog_list
Read-onlyIdempotent

List the Lemmy moderation log by kind, community or moderator. Requires instance. Returns a list (use cursor when paginated). Costs credits; see meta.creditsCharged.

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": {
      "instance": "<instance>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "lemmy_modlog_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoKind of moderation action. `all` returns every kind in one answer; with it, `limit` applies to each kind and is at most 10. Omit it with `community` to get every kind for that community, up to 20 each.
pageNoPage number, 1 to 100. Default: 1. An instance refuses pages past 100. Lemmy pages by number over a live order, so new or re-ranked items can shift a row onto the next page. Remove repeats by `id`.
limitNoRows per kind, 1 to 50. Default: 10. With `kind=all`, or with no kind or community, at most 10; with a community but no kind, at most 20. One page can carry up to 15 times the limit across the kinds.
cursorNoPass `page.nextCursor` from the previous response to get the next page. It only works with the same filters; do not send it with `page`.
contextYesDescribe the user's underlying goal in one sentence, not the tool you are calling.
instanceYesRequired. The Lemmy instance, e.g. `lemmy.world`. A URL on the instance is also accepted. Ids and counts belong to this instance.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess.
communityIdNoOnly this community's moderation log, by its numeric id.
modPersonIdNoOnly actions taken by this moderator or administrator.
otherPersonIdNoOnly actions whose subject is this person.
conversation_idNoEcho the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive/openWorld, so the safety profile is covered without the text. The description adds genuine non-annotation context: the call consumes credits and the charge is reported in `meta.creditsCharged`, and that the result is a list requiring cursor traversal when paginated. It does not describe failure modes or how partial pages behave.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, each with a distinct job: what it lists, the hard prerequisite, the return/pagination shape, and the billing note. Nothing is padded and the core purpose is front-loaded.

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 an 11-parameter tool with conditional limit rules and no output schema, the description covers the prerequisite instance, the filter axes, pagination mechanics, and cost — the highest-risk omissions for an agent. The remaining depth (conditional caps, `conversation_id` echo) lives in the schema, so this is close to sufficient, though a note on what a returned entry contains would help without an output schema.

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 100%, including detailed enum semantics, per-kind limit caps, and cursor/page exclusivity, so the schema already carries the parameter burden. The description only restates the instance requirement and mentions cursor use; it adds no filtering syntax or id-resolution guidance beyond the schema, which is the expected baseline here.

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 names a specific verb and resource ('List the Lemmy moderation log') and enumerates the three filter axes (kind, community, moderator), which makes it distinguishable from the posts/comments/communities list siblings. It stops short of naming any alternative tool, so it falls just below the top mark.

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 by the filter enumeration; there is no explicit statement of when to reach for this tool versus lemmy_search or lemmy_community_get, and no exclusions. The only concrete procedural guidance is the cursor-vs-page note, which is a technique rather than a selection rule.

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.