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 Scale 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

A4.1/5.0
Behavior4/5

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

Annotations already indicate destructive and idempotent behavior, but the description adds valuable context beyond them: deleting a theme causes assigned courses to fall back to no theme, and the Scale plan requirement is disclosed. This gives the agent a clear picture of the operation's consequences without contradicting any annotation.

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 three short sentences with no filler. The core action comes first, followed by the important side effect and the plan requirement. Every sentence earns its place.

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 an output schema present, the description does not need to explain return values. The destructive side effect on courses and the plan prerequisite are both covered, and the annotations provide the safety and idempotency profile. This is complete enough for an agent to invoke the tool 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%, and the single 'id' parameter is already well described as 'The theme id, as returned by list_themes or create_theme.' The description only says 'by id', adding no meaningful semantic value beyond the schema, so the baseline score of 3 is appropriate.

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 a specific verb and resource: 'Deletes a theme by id.' This immediately distinguishes it from update_theme, create_theme, get_theme, and list_themes. The added side effect about courses falling back to no theme further clarifies the intended operation.

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?

The description implies the use case through 'Deletes a theme by id' and adds an explicit prerequisite: 'Requires the Scale plan or higher.' However, it does not explicitly name alternatives or state when not to use this tool, so usage guidance is adequate but not fully explicit.

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