Skip to main content
Glama

generate_quiz

Create multiple-choice quiz questions from a YouTube video to test comprehension, including correct answers and explanations for each question.

Instructions

Generate quiz questions from a YouTube video to test comprehension.

Returns multiple-choice questions with correct answers and explanations. Costs 5 credits.

Args: video_url: YouTube video URL or video ID num_questions: Number of questions to generate (1-20, default: 5)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "video_url": "<video_url>"
    },
    "name": "generate_quiz"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_urlYes
num_questionsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does meaningful work: it discloses the credit cost (5 credits) and states what is returned (multiple-choice questions with correct answers and explanations). It omits failure behavior for invalid or inaccessible videos and whether the call is synchronous, which keeps it short of a 5.

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 definition is front-loaded with the core action and return shape in the first two sentences, then lists parameters compactly. Every line carries information; the Args block mildly duplicates the schema but is short and readable.

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 two-parameter tool, the description covers purpose, output shape, cost, and both parameters. An output schema exists so detailed return values are not required, and the only real gap is error handling for a bad video reference.

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 0%, so the description must compensate, and it does: video_url is clarified to accept either a full URL or a bare video ID, and num_questions gains a range (1-20) that the schema does not express. The default of 5 is duplicated from the schema rather than adding new information.

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?

The description names a specific verb and resource ('Generate quiz questions from a YouTube video') and adds the intent ('to test comprehension'), which is far more than a restatement of the name. It does not explicitly contrast with siblings such as summarize_video or chat_with_video, but the purpose is unambiguous enough to distinguish it in practice.

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?

The phrase 'to test comprehension' implies the use case, so an agent can infer when this tool fits. However, there is no explicit when-to-use/when-not guidance and no mention of alternatives for related tasks like summarization or Q&A over the same video.

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