Skip to main content
Glama

question_bank_delete

Destructive

Deletes a question bank or ONE of its items - "target" says which, and nothing else deletes either. target "bank" removes the bank and every item it holds (its tags cleaned up exactly as question_bank_tag(action: "remove") does), and is rejected with QUESTION_BANK_INTERDEPENDENCY while a Riddle of the bank's own project still references it - counting the DRAFT and, on a published Riddle, the live version too, so a block removed from a draft does not release the bank until that Riddle is republished; read "deletingABank" in riddle://reference/question-bank/overview before deleting one. target "item" takes questionBankItemId and touches nothing else: on a never-published item the delete is immediate and permanent, on a published one it only leaves the DRAFT - a live Riddle keeps drawing that item until question_bank_manage(action: "publish") purges it, and question_bank_discard_changes brings it back until then. Both are permanent for the caller: there is no trash and no restore. Rejected for a public template id - a template is copied with question_bank_manage(action: "duplicate"), never deleted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesWhat to delete: "bank" (the bank itself and every item in it) or "item" (one question of it).
questionBankIdYesThe ID of the question bank to delete, or of the bank the item belongs to.
questionBankItemIdNoThe ID of the item to delete, as returned by question_bank_get_items or question_bank_item(action: "add"). Required for target "item", rejected for "bank".

Schema Changelog

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

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true, but the description adds extensive behavioral detail: cascading bank deletion, tag cleanup semantics, interdependency rejection, draft vs live riddle behavior, publish purging, and discard_changes restoration. This goes well beyond what the structured annotations provide and aligns with the destructive hint.

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?

The description is front-loaded with the core purpose, but it is one long, dense run-on sentence that is harder to parse than necessary. Every piece of information is relevant, and no fluff exists, but the structure could be broken into clearer steps or bullets.

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?

Given the destructive nature, the complex edge cases around riddle interdependency and published vs draft items, and no output schema, the description is remarkably complete. It tells the agent what will happen, when it will be rejected, and how items can be restored, leaving little ambiguity.

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?

The input schema already describes all three parameters with 100% coverage, so the baseline is 3. The description adds useful semantic meaning by explicitly tying target values to which parameter is required/rejected and by describing the real-world consequences of passing each target.

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 a specific verb ('Deletes') and resource ('question bank or ONE of its items'), and explicitly differentiates the two deletion targets. It also distinguishes this tool from siblings by noting that 'nothing else deletes either' and by referencing related question-bank tools.

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?

The description explicitly states when to use target 'bank' vs target 'item', warns about interdependency risks, and references a documentation resource before deleting a bank. It also links to the publish and discard_changes siblings for the lifecycle behavior of item deletion.

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