Skip to main content
Glama

update_questions

Update existing questions in batches with partial edits; omitted attributes are preserved, while answers and type/quiz/bank assignments remain immutable.

Instructions

Update one or more existing questions. This is a BATCH operation.

    Each item needs an `id`. This is a PARTIAL update: an attribute you omit is
    PRESERVED, not cleared.

    ANSWERS ARE IMMUTABLE. There is no `answers` field - to change a question's
    answers, delete it with `delete_questions` and create a replacement. Do not
    report an answer change as done unless you did that.

    `question_type`, `quiz_id`, `question_bank_id` and `order` are read-only: a
    question cannot change type and cannot move between a quiz and a bank.

    A flag that conflicts with the question's STORED type - `case_sensitive` on a
    multiple-choice question, say - fails THAT ROW inside the batch rather than the
    whole call, because the check needs the stored value.

    Requires `question-banks:write` OR `quizzes:write`.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
questionsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
noteYes
totalYes
failedYes
succeededYes
Install Server

TDQS

A4.8/5.0
Behavior5/5

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

The annotations only say the tool is not read-only, not idempotent, and not destructive. The description goes far beyond that: it discloses partial-update preservation, immutable answers, read-only fields, per-row failure behavior for conflicting flags, and the permission requirement. This is exactly the kind of behavioral context that 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is detailed but every sentence carries operational value. It is front-loaded with the core purpose and batch nature, then systematically covers preservation semantics, immutability, read-only fields, per-row error handling, and permissions. No filler or redundancy.

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?

Given the tool's complexity and the extremely minimal input schema, the description is quite complete: it explains the batch contract, id requirement, partial-update semantics, immutable answers, read-only fields, failure behavior, and auth scope. It does not enumerate every possible question attribute, but the open `additionalProperties` schema plus an output schema makes that less critical. Some guidance on the expected success response shape would fully close the gap.

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 description coverage is 0% and the `questions` items allow `additionalProperties: true`, so the schema conveys almost nothing about parameters. The description compensates by stating that each item needs an `id`, that there is no `answers` field, and that certain fields are read-only. It does not enumerate all possible updatable attributes, but for an open-object batch update it covers the most critical constraints an agent must know.

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 clearly states a specific verb and resource: 'Update one or more existing questions.' It also identifies this as a BATCH operation, which differentiates it from single-item update tools and sibling tools like create_questions and delete_questions. The agent knows exactly what the tool does without opening the schema.

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 provides strong usage guidance: it explains the batch nature, the need for an `id` per item, the partial-update semantics, and explicitly routes answer changes to `delete_questions` plus create. It also names the required permissions (question-banks:write OR quizzes:write), so an agent can decide whether this tool is appropriate and authorized.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/CloudSecurityAlliance/csa-skilljar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server