Skip to main content
Glama

Delete theme

delete_theme
DestructiveIdempotent

Deletes a theme by id. Courses assigned to it fall back to no theme. Requires the Build plan or higher.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe theme id, as returned by list_themes or create_theme.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe id of what was deleted.
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuine value beyond that: the cascade consequence that 'courses assigned to it fall back to no theme' and the plan-level entitlement requirement.

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?

Three short sentences with zero filler, leading with the core action and following with consequence and prerequisite in order of importance.

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

Completeness4/5

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

With annotations covering destructiveness/idempotency, an output schema present, and 100% parameter schema coverage, the description needs only to add side effects and prerequisites — both are present. Coverage is solid, with only minor gaps like explicit irreversibility wording.

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% and the single 'id' parameter is already documented (including where it comes from), so the description's 'by id' adds nothing new. Baseline 3 applies when the schema does the heavy lifting.

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?

The description gives a specific verb and resource ('Deletes a theme by id'), and the target identifier is unambiguous. It is clearly distinguishable from update_theme/get_theme/list_themes via the verb, though it does not explicitly name any sibling to contrast against.

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

Usage Guidelines3/5

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

It provides a prerequisite ('Requires the Build plan or higher'), which is useful usage context, but gives no guidance on when to delete versus update or on alternatives for preserving assignments. Usage is implied rather than spelled out.

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.

Resources