Skip to main content
Glama

delete_seat_offering

DestructiveIdempotent

Permanently remove a specific seat offering from your LearnWorlds school using its unique ID. Confirm with the user first, as this action cannot be undone.

Instructions

๐Ÿ”ด DESTRUCTIVE ยท deletes ยท DELETE /v2/seats/{id}

Deletes a specific seat offering asynchronously. This endpoint removes a seat offering identified by its unique ID. The deletion request is processed asynchronously, meaning the operation may continue after the initial request is accepted.

Behavior: permanently removes the addressed record from the live school โ€” no undo from this server. 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. Returns: HTTP 200/204, with a body that is usually empty on success. 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 after the user confirms the removal. To merely revoke access or deactivate, use the matching ๐ŸŸก update or unenroll tool instead. Related Multiple seats tools: add_user_seat_offering, get_specific_seat_offering, get_users_seat_offering, remove_user_seat, update_seat_offering.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe unique identifier of the seat offering

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already carry readOnlyHint=false, destructiveHint=true, and idempotentHint=true, and the description aligns with and substantially extends them. It discloses permanent destruction ('no undo from this server'), async continuation after the initial response, server-side auth injection, throttling under the 30-per-10s cap, retry on 429/5xx, and per-status-code error semantics โ€” exactly the behavioral context the annotations alone do not provide.

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 long but deliberately structured with labeled sections (Behavior, Returns, Use when) and a front-loaded destructive warning. Nearly every sentence carries operational value for a destructive, asynchronous, rate-limited call; the error-code enumeration is slightly verbose but aids agent-side error diagnosis.

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?

With no output schema present, the description correctly compensates by disclosing success status codes, empty-on-success body, and how non-2xx replies surface as tool errors. For a one-parameter destructive tool, it covers prerequisites (user confirmation), auth model, rate limits, retry policy, alternatives, and related tools โ€” nothing an agent needs to invoke 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 id parameter is fully documented in the schema itself. The description only restates that the record is 'identified by its unique ID,' adding no format, syntax, or constraint detail beyond the schema. Baseline 3 is appropriate when the schema carries the full load.

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 uses specific action verbs ('Deletes', 'removes') with an explicit resource ('specific seat offering') and scope ('identified by its unique ID'), and discloses the asynchronous execution mode. It clearly distinguishes from siblings by naming update_seat_offering and remove_user_seat as different operations, so an agent can disambiguate without opening other tool definitions.

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?

Contains an explicit 'Use when' clause with a hard gate ('only after the user confirms the removal'), plus an explicit exclusion condition ('To merely revoke access or deactivate, use the matching update or unenroll tool instead'). It also lists the related multi-seat sibling tools, giving the agent concrete routing alternatives.

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