Skip to main content
Glama

Create Match-Pairs Quiz

create_match_pair

Generate AI-powered match-pair questions from either an existing unit (unit_id) or custom sources (title + notes/webpage/youtube/documents/images/audio/ai_research/ai_chat_context). Students match left items with corresponding right items, in sets of up to 5 pairs. Supports both course-based (unit_id) and standalone (sources) modes.

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_match_pair"
  }
}

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.9/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 agent knows this is a non-destructive write that reaches external content. The description adds that generation is AI-powered and that pairs are capped at 5, which is useful, but it says nothing about cost, latency, or failure behavior of AI generation over URLs — the main risk here.

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 compact sentences with the capability and the mode split front-loaded; no filler. The parenthetical source enumeration is somewhat redundant with the schema and slightly bloats the sentence, keeping it short of a perfect score.

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 13-parameter, zero-required tool with no output schema, the description covers the essential decisions: which mode to use, what the output looks like, and the size cap. Gaps remain around what is returned (quiz ID? widget URL?) and the auto_research fallback, though the schema covers the latter and annotations cover the safety profile.

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 carries per-parameter meaning and this sets the baseline at 3. The description adds some grouping value by enumerating which fields count as 'sources' and restating that title is required in standalone mode, but it does not explain the auto_research default or the course_id tracking side effect beyond what the schema already states.

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 gives a specific verb ('Generate') and a specific artifact ('match-pair questions' where students match left items to right items in sets of up to 5 pairs), plus the two input modes (unit_id vs. custom sources). That output shape is distinct enough from siblings like create_mcq or create_flashcards that an agent can select this tool 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 Guidelines4/5

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

It clearly frames the two operating modes — course-based via unit_id versus standalone via title + sources — which is the main selection decision an agent faces when invoking this tool. It does not, however, name alternatives (e.g., that editing an existing pair set belongs to edit_match_pair, or when to prefer create_quiz over this), so guidance on when-not-to-use is absent.

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.