Skip to main content
Glama

Create Multiple-Choice Quiz

create_mcq

Generate a set of multiple-choice questions (usually 3 to 6, each with options and explanations) when the user asks for multiple choice or MCQ. Generates from an existing unit (unit_id) or from sources (title + notes/webpage/youtube/documents/images/audio/ai_research/ai_chat_context).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_mcq"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoText notes to include in content
titleNoTitle for standalone content generation (required when using sources)
unit_idNoUnit ID to generate content for (optional - use this OR provide sources)
course_idNoCourse ID for unit completion tracking (optional - passed from course-syllabus widget)
audio_urlsNoAudio URLs (MP3, WAV)
image_urlsNoImage URLs (JPEG, PNG, WEBP, GIF)
ai_researchNoAI-generated research content based on the topic - the more comprehensive, the better the output
descriptionNoDescription for standalone content generation
webpage_urlNoWebpage URL to extract content from
youtube_linkNoYouTube video URL as content source (video will be processed for learning content)
auto_researchNoAuto-generate research content if no sources provided. Defaults to true when only title is given (no sources), false otherwise. Set explicitly to false to require manual sources.
document_urlsNoDocument URLs (PDF, DOCX, TXT, etc.)
ai_chat_contextNoShort summary of the points from this chat the user wants covered, not a transcript

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavior — expected question count and per-question structure — but says nothing about whether the quiz is persisted, whether generation is slow/costly, or what comes back. Since it is a non-destructive but open-world generation call, more disclosure about side effects and latency would help.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

Two sentences, front-loaded with the what and the trigger, then the sourcing modes. The long slash-delimited source list is dense but scannable and avoids a paragraph of prose. Nothing is clearly redundant, though the parenthetical question-count detail could be tighter.

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

Completeness3/5

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

For a 13-parameter, zero-required generation tool with no output schema, the description covers the input model but leaves the return contract undefined — an agent cannot tell whether questions are returned inline, persisted to a unit, or both. Course/unit-completion behavior via course_id is also unaddressed. Adequate but with clear gaps for a tool this configurable.

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 baseline is 3; the description earns a bump by grouping the 13 params into a coherent mental model — unit_id mode vs. a sources mode (title + notes/webpage/youtube/documents/images/audio/ai_research/ai_chat_context) — and stating they are alternatives. It does not explain precedence when both unit_id and sources are supplied, nor the auto_research default, which the schema handles on its own.

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?

Specific verb (Generate) plus resource (multiple-choice questions) with a concrete output shape: usually 3 to 6 questions, each with options and explanations. It also names the trigger ('when the user asks for multiple choice or MCQ'). It stops short of distinguishing itself from the sibling create_quiz, so an agent still has to guess which quiz-creation tool fits.

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?

Gives a real usage trigger (user asks for MCQ) and lays out two input paths: an existing unit_id or standalone sources. But it never says when NOT to use it — notably no pointer to create_quiz, edit_mcq, or change_quiz_settings for the adjacent cases an agent is likely to confuse it with. Usage is implied by the trigger rather than fully guided.

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.