Skip to main content
Glama

Update lesson

update_lesson

Update a lesson's title, text, or video link for admins; omitted fields remain unchanged and member completion status is preserved.

Instructions

Change a lesson's title, text or video link. Admins only.

Edits one lesson page, as its Edit does: fields you leave out stay, body replaces the whole text. Members who completed it keep it completed. Admins only. Runs without asking first: nobody is notified.

Input Schema

NameRequiredDescriptionDefault
bodyNoNew text, replacing the old.
groupYesGroup URL name, e.g. 'yourgroup' for skool.com/yourgroup.
titleNoNew title.
lesson_idYeslesson_id from get_course or create_lesson.
video_urlNoNew video link; empty string removes the video.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior5/5

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

Adds rich behavioral context beyond annotations: partial updates (fields left out stay), body replacement semantics, that members who completed the lesson keep their completion status, admin-only access, and that the operation runs without confirmation and notifies nobody. This far exceeds the minimal hints from annotations.

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?

Mostly front-loaded and efficient, but redundantly states 'Admins only' twice and uses slightly awkward phrasing ('as its Edit does'). Every sentence carries information, but the duplication is minor waste.

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 mutation tool with full schema coverage and no output schema, the description is complete: it covers authorization, partial update semantics, side effects on completions, and the lack of confirmation/notification. An agent has all needed context to call it correctly.

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?

With 100% schema coverage, baseline is 3, but the description adds meaningful detail: it clarifies that omitted fields remain unchanged and that body replaces the entire text, which is not fully captured by the schema descriptions. It also groups the three editable fields (title, text, video link) in the opening sentence.

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 (Change) and resource (lesson's title, text or video link), and clarifies it edits one lesson page. However, it does not differentiate from siblings like update_post or create_lesson, leaving the agent to infer that this is the lesson-specific update tool.

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

Usage Guidelines2/5

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

Provides some usage context (Admins only, edits one lesson page) but gives no explicit guidance on when to use this tool versus alternatives such as get_lesson or create_lesson. No when-not or alternative tool is mentioned.

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