Skip to main content
Glama

ai_quiz

Read-only

Quiz generator from text — Turns any text (notes, an article, a chapter, docs) into multiple-choice quiz questions grounded only in that text: question, four choices, the correct answer and index, and a one-line explanation. Choose 1-10 questions and easy, medium or hard. Price: $0.008 USDC (Base, via x402).

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": {
      "text": "<text>",
      "level": "<level>"
    },
    "name": "ai_quiz"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYessource text, 80-8000 characters
countNo1-10, default 5
levelYeseasy | medium | hard

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint, openWorldHint, destructiveHint), the description discloses two important operational traits: the output is strictly grounded in the supplied text (no outside knowledge), and the call is metered at $0.008 USDC on Base via x402. Those are material facts an agent would not otherwise know, though latency, rate limits, and failure behavior remain unstated.

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 core purpose and grounding constraint are front-loaded before configuration and pricing details, and the output shape is packed into one efficient clause. It is dense but every sentence carries information; only the pricing sentence sits somewhat apart from the rest of the flow.

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?

With no output schema, the description correctly compensates by describing the returned fields in detail, and it flags the payment requirement, which matters for invocation. For a three-parameter, non-nested tool this is close to complete, missing only error/timeout behavior.

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 'text', 'count', and 'level' with their ranges and defaults are already fully documented in the schema. The description restates the count range and level values but adds no new meaning such as character-limit implications or how level affects question difficulty phrasing, so the baseline 3 applies.

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 uses a specific verb and resource ('Quiz generator from text ... into multiple-choice quiz questions grounded only in that text') and enumerates the exact output shape: question, four choices, correct answer plus index, and a one-line explanation. That level of detail separates it cleanly from siblings like ai_qa, ai_classify, or ai_extract without opening any schema.

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?

It gives input-source examples ('notes, an article, a chapter, docs') and the grounding constraint, which implies appropriate usage, but it never states when to pick this over a sibling or when not to use it. There are no explicit alternatives or exclusions, so routing guidance is left to inference.

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