Skip to main content
Glama

question_bank_item_update

Destructive

Replaces the content of ONE existing question/item of a question bank entirely - not a merge: blockType, category, difficulty and columns must all be sent even when unchanged, and a column or value left out is gone from the draft. blockType is immutable: a different value is rejected rather than retyping the item (delete it with question_bank_item_delete and add a new one instead). Read the item with question_bank_get_items first and send it back with its value ids intact. The change lands in the bank's DRAFT - question_bank_publish makes it live, question_bank_discard_changes throws every unpublished change away again. "hasChanges" in the response says whether the bank now has unpublished changes. Rejected for a public template id. Needs full access: riddle://reference/concepts/access.

Input Schema

NameRequiredDescriptionDefault
columnsYesThe question content, as {columnName: [values]}. This replaces the content entirely rather than merging: send every column, and hand question_bank_get_items output straight back with its {"id", "value"} objects intact - keeping those ids is what edits the stored values instead of replacing them with a fresh set.
categoryYesThe item's category - free text, used to filter what a QuestionBank block draws.
blockTypeYesThe item's current block type, sent back unchanged (question_bank_get_items returns it). Immutable: a different value is rejected.
difficultyYesThe item's difficulty, 1-10 - also used to filter what a QuestionBank block draws.
questionBankIdYesThe ID of the question bank the item belongs to.
questionBankItemIdYesThe ID of the item to update, as returned by question_bank_item_add/question_bank_get_items.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations mark the tool destructive and non-idempotent, and the description adds substantial context beyond that: omitted columns or values are deleted, blockType is immutable, changes land only in the draft, and hasChanges indicates whether unpublished changes exist. It also discloses access requirements and public-template rejection.

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 dense but front-loaded with the core replace-not-merge behavior, then covers prerequisites, immutability, draft workflow, and access constraints. Every sentence contributes operational detail without redundant repetition.

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 destructive mutation tool with no output schema, the description is complete enough: it explains replacement semantics, required fields, draft visibility, publish/discard lifecycle, immutable blockType, response hasChanges, access needs, and template restrictions.

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?

Schema coverage is 100%, so the schema already carries most parameter meaning. The description still adds useful semantics by emphasizing that all four content fields must be sent even when unchanged, that omitted values are removed, and that value ids must be preserved to edit existing values rather than replace them.

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 states a specific verb and resource: it replaces the content of ONE existing question bank item entirely, and explicitly says this is not a merge. It distinguishes the operation from alternatives such as question_bank_item_delete plus question_bank_item_add when blockType must change.

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?

It gives clear usage instructions: read with question_bank_get_items first, send back every field and value id, use question_bank_publish to make changes live, and use question_bank_discard_changes to throw away unpublished changes. It also names the alternative workflow for immutable blockType changes and notes rejection for public template ids.

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