Skip to main content
Glama

get_community_posts

Read-onlyIdempotent

Fetch paginated community posts, newest first, with filters for author, space, course, or mentions. Use for read-only lookup and reporting in your LearnWorlds school.

Instructions

๐ŸŸข READ-ONLY ยท GET /v2/community/posts

Get community posts. Returns a list with all the posts of the school community. The post are in sorted order, with the most recently created post appearing first, and the list is paginated, with a default limit of 10 posts per page. To refine the list of posts, there are a number of query params outlined in the following section; In case more than one Query param is provided, then all of them will be applied (AND operator).

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged โ€” walk them with page and size each page with items_per_page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload โ€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything โ€” use the matching ๐ŸŸก write tool. Related Community tools: get_community_post, add_invite_users_community_space, create_community_space, delete_community_space, get_community_collections.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoFilter by the page number. In case page number is higher than the maximum one, the results of last page will be returned
user_idNoFilter by the post author. Can be a unique identifier or email
mentionsNoFilter by the unique identifier of the user a post mentions
space_idNoFilter by the unique identifier of the space in which the post was made
course_idNoFilter by the unique identifier of the course discussion the post was made
items_per_pageNoFilter by the items per page number

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

The description clearly states read-only behavior, that auth is injected server-side, that calls are throttled and retried on 429/5xx, and how non-2xx responses surface as tool errors. This adds meaningful behavioral context beyond the annotations, and does not contradict readOnlyHint or idempotentHint.

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?

The description is well-structured with labeled sections and front-loaded with the endpoint and read-only signal. It is slightly redundant with 'read-only' appearing both in the header and the Behavior section, but every other sentence serves a purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

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

For a tool with six optional parameters and no output schema, the description covers the essential call semantics: filtering behavior, sorting, pagination, authentication, throttling, retries, and error responses. An agent has enough information to invoke the tool correctly and understand the result envelope.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds value by explaining that multiple query params are combined with an AND operator and that pagination is done by walking pages with `page` and sizing with `items_per_page`. This goes beyond the individual parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Get community posts' via GET /v2/community/posts. It clearly explains what the returned list contains, the sort order, and pagination, which distinguishes it from singular/other community tools like get_community_post.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly provides a 'Use when' section: 'safe to call speculatively for lookups and reporting.' It also states what the tool is not for: 'Not for changing anything โ€” use the matching ๐ŸŸก write tool,' and lists related Community tools, giving the agent clear routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ohneben/Learnworlds-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server