Skip to main content
Glama

update_community_space

Idempotent

Update community space details in LearnWorlds by supplying the space ID and fields to change. Modify title, access, permissions, sorting, or visibility without recreating the space.

Instructions

🟡 WRITE · updates data · PUT /v2/community/spaces/{id}

Updates the community space specified by the provided space id. The endpoint response is the updated community space resource.

Behavior: replaces the fields you send on an existing record in the live school. Idempotent: repeating it leaves the same state. 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: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). 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: only when the user asked to change an existing record. Read it first so you overwrite just the fields you mean to; use the create tool if it does not exist yet. Related Community tools: add_invite_users_community_space, delete_community_space, get_community_space, get_users_community_space, remove_user_community_space.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUnique identifier of the community space
bodyNoRequest body (application/json).

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A5/5.0
Behavior5/5

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

Beyond the annotations, the description explains that the endpoint 'replaces the fields you send on an existing record in the live school,' that auth is 'injected server-side, never by the model,' and that calls are throttled and retried on 429/5xx. It also details the return format and maps common HTTP error statuses to causes. This adds substantial behavioral context beyond the structured annotations.

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?

The description is lengthier than average, but it is tightly structured with labeled sections: Behavior, Parameters, Returns, Use when. Each sentence carries operational value—auth, throttling, retries, error mapping, and tool selection—so the length is justified and every part is front-loaded for quick scanning.

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?

There is no output schema, but the description compensates fully by stating the return as 'HTTP <status> followed by the LearnWorlds JSON response body' and describing error conditions. It covers usage conditions, parameter nuances, authentication, rate limiting, retries, and related tools. An agent has everything needed to call this tool correctly.

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

Parameters5/5

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

Schema description coverage is 100%, but the description adds important operational nuance: the entire JSON payload goes in the single `body` argument, is forwarded verbatim, and although the spec marks `body` optional, this endpoint expects one. This prevents a likely misuse that the raw schema alone would not.

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 opens with '🟡 WRITE · updates data · PUT /v2/community/spaces/{id}' and states 'Updates the community space specified by the provided space id.' This is a specific verb+resource pairing. It also differentiates from sibling tools by explicitly saying 'use the create tool if it does not exist yet' and listing related Community tools.

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?

There is an explicit 'Use when: only when the user asked to change an existing record' statement. It provides concrete guidance to 'Read it first so you overwrite just the fields you mean to' and directs to the create tool when the record does not exist. This clearly routes an agent to the correct alternative.

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