Skip to main content
Glama

s21_generate_practice_quiz

Generate practice quizzes with multiple-choice questions and theoretical justifications from official Canvas readings. Prepare for API exams by creating interactive simulations for any course, module, or reading.

Instructions

Genera un simulacro de examen tipo API/parcial con preguntas multiple choice y justificaciones teóricas basado en la lectura oficial de Canvas. DIRECTIVA DE FLUJO: Cuando el usuario solicite preparar, rendir o entrenar para un examen interactivo, genera las preguntas con distractores y explicaciones académicas, guárdalas en SQLite con 's21_save_questions_to_bank' e invoca 's21_open_exam_simulator' con el 'course_id' correspondiente y 'start_exam': true para ofrecer la experiencia de examen interactiva.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
course_idYesID de la materia en Canvas.
module_numberYesNúmero de módulo (1, 2, 3 o 4).
question_countNoCantidad de preguntas a generar (por defecto 5).
reading_numberYesNúmero de lectura (1, 2, 3 o 4).

Schema Changelog

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

  1. First observedv1.0.1

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations present, the description carries the burden of disclosing side effects, and it does: it states questions are saved to SQLite and that the exam simulator must be invoked with start_exam: true. It stops short of specifying the tool's return value or how duplicate/overwrite behavior is handled, but the core write and orchestration behavior is explicit.

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?

The description is front-loaded with a clear purpose and then provides a dense but compact workflow directive. There is a minor redundancy between 'multiple choice and theoretical justifications' and 'distractors and academic explanations,' but the overall length is appropriate for a tool with orchestration behavior.

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?

For a side-effectful generation tool with no annotations and no output schema, the description covers the trigger, content, source material, persistence step, and downstream simulator launch. The main omissions are the tool's return shape and what happens if the question bank already contains questions for the same course/reading.

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 description coverage is 100%, so the schema already documents each parameter. The description adds marginal context by relating course_id to the downstream simulator call and the reading to the official Canvas reading, but it does not explain parameter syntax, defaults, or constraints beyond the schema.

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 precise action (generates a practice/mock exam), the content format (multiple choice with distractors and theoretical explanations), and the input source (the official Canvas reading). It clearly differentiates this from siblings like s21_get_bank_questions or s21_open_exam_simulator by presenting generation as the first step of a workflow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The DIRECTIVA DE FLUJO gives an explicit trigger condition: when the user asks to prepare, take, or train for an interactive exam, generate questions, save them, and launch the simulator. It does not explicitly list when not to use the tool, such as when the user only wants to retrieve existing bank questions, so it misses the exclusion part of a perfect usage guideline.

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

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/omniboyOK/siglo21-canvas-mcp'

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