Skip to main content
Glama

Influence

Search Lemmy communities

lemmyCommunitySearch
Read-onlyIdempotent

Find a destination community matching nonempty search text. Requires an owned active account and current provider availability. Follow nextCursor until done, keeping the same connection and search fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesNonempty community search text
cursorNonextCursor from the previous page of this exact tool and input
connectionIdYesOwned connectionId returned by accountList

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "output": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "output": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "done": {
      -                "$ref": "#/$defs/__schema0"
      -              },
      -              "items": {
      -                "$ref": "#/$defs/__schema1"
      -              },
      -              "nextCursor": {
      -                "$ref": "#/$defs/__schema3"
      -              }
      -            },
      -            "required": [
      -              "done",
      -              "items"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "output"
      -        ],
      -        "type": "object"
      -      },
      -      "toolName": {
      -        "const": "lemmyCommunitySearch",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "output",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "INVALID_INPUT",
      -              "FORBIDDEN",
      -              "NOT_FOUND",
      -              "CONFLICT",
      -              "FEATURE_DISABLED",
      -              "CONFIRMATION_REQUIRED",
      -              "CONFIRMATION_INVALID",
      -              "UPSTREAM_FAILED",
      -              "NEEDS_REVIEW",
      -              "INTERNAL"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 2048,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "toolName": {
      -        "const": "lemmyCommunitySearch",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "ok",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "output": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "output": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "done": {
      +                "$ref": "#/$defs/__schema0"
      +              },
      +              "items": {
      +                "$ref": "#/$defs/__schema1"
      +              },
      +              "nextCursor": {
      +                "$ref": "#/$defs/__schema3"
      +              }
      +            },
      +            "required": [
      +              "done",
      +              "items"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "output"
      +        ],
      +        "type": "object"
      +      },
      +      "toolName": {
      +        "const": "lemmyCommunitySearch",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "output",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "AI_SCHEDULING_LIMIT_REACHED",
      +              "AI_SCHEDULING_UNAVAILABLE",
      +              "INVALID_INPUT",
      +              "FORBIDDEN",
      +              "NOT_FOUND",
      +              "CONFLICT",
      +              "FEATURE_DISABLED",
      +              "CONFIRMATION_REQUIRED",
      +              "CONFIRMATION_INVALID",
      +              "UPSTREAM_FAILED",
      +              "NEEDS_REVIEW",
      +              "INTERNAL"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 2048,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "toolName": {
      +        "const": "lemmyCommunitySearch",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "ok",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value beyond that: authentication prerequisites (owned active account), a provider-availability caveat, and a stability constraint that the connection and search fields must be held constant across cursor pages.

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 tight sentences with no filler; the core purpose is front-loaded and the constraint and pagination sentences each carry distinct, necessary information. Nothing is repeated and nothing is wasted.

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?

With an output schema present, the description need not explain return values, and it covers prerequisites plus pagination mechanics adequately. Minor gaps remain (what happens with zero matches, whether the search is exact or fuzzy), but nothing essential to invoking it correctly is missing.

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%, so the baseline is 3 and the schema already documents connectionId, q, and cursor in detail. The description only reinforces the nonempty q rule and the cursor continuation protocol, adding no format, length, or provenance detail beyond the 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?

States a specific verb and resource ('Find a destination community') scoped by 'nonempty search text', which is enough for an agent to know it is a discovery/lookup tool. It does not explicitly name the Lemmy platform or contrast itself with parallel siblings like redditSubredditSearch or wrapcastChannelSearch, so it stops short of the 5 level.

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?

Provides clear operating context: an owned active account and current provider availability are required, and it prescribes the pagination workflow ('Follow nextCursor until done, keeping the same connection and search fields'). No alternative tools or when-not-to-use conditions are named, so it lacks the explicit routing a 5 would require.

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.

Resources