Skip to main content
Glama

Skool MCP Server and API by Cotlet

Publish course

set_course_published
Destructive

Publish a draft course to members, or turn it back into a draft. Admins only. Publishes a Classroom course so members who have access see it, or turns it back into a draft only admins see, as the course's Published switch does. Members' progress is kept. Publishing shows the course to members, so by default you confirm each call; you can switch that off for this tool. Waits for the owner's approval.

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": {
      "group": "<group>",
      "course_id": "<course_id>",
      "published": "<published>"
    },
    "name": "set_course_published"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupYesGroup URL name, e.g. 'yourgroup' for skool.com/yourgroup.
course_idYescourse_id from list_courses or create_course.
publishedYestrue publishes, false turns it back into a draft.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds real context beyond the annotations: members' progress is preserved across unpublish, publishing is member-visible so each call is confirmed by default with an opt-out, and the call waits for the owner's approval. These details about confirmation and approval flow are not encoded in 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.

Conciseness3/5

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

Front-loaded with the core action, but the second sentence largely restates the first ('Publishes a Classroom course so members ... see it') and the repeated visibility explanation is redundant. The confirmation/approval sentences carry the unique value.

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 3-required-param mutation with no output schema, the description covers permissions (admins only), side effects on member visibility and progress, confirmation behavior, and an approval wait. An agent has everything needed to call it correctly.

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 coverage is 100%, so group, course_id, and published are already documented. The description only echoes the boolean semantics of 'published' and adds no format or edge-case guidance beyond the schema, which is the expected baseline.

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?

States a specific verb+resource (publish/unpublish a course) with both directions of the operation spelled out: makes members see it, or reverts so only admins see it. It is immediately distinguishable from sibling tools like update_course or create_course.

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?

Explains the conditions that select each direction (publishing makes the course visible to members; unpublishing hides it to admins) and notes admins-only access. It does not name an alternative tool for editing course content instead, so it falls short of explicit when-not guidance.

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.