Skip to main content
Glama

Create Ranking Quiz

create_ranking

Generate a set of AI-powered ranking questions (usually 3 to 5) from either an existing unit (unit_id) or custom sources (title + notes/webpage/youtube/documents/images/audio/ai_research/ai_chat_context). Students order items by specific criteria (chronological, size, importance, etc.). Each question has 4-6 items to rank. 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_ranking"
  }
}

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, openWorldHint=true, and destructiveHint=false, so the agent knows this is a non-destructive creation call against external content. The description adds useful output-shape detail (3–5 questions, 4–6 items each, ranking criteria), but says nothing about generation latency, cost, failure modes, or what happens if sources are unreadable — notable gaps for an open-world generation tool with 13 parameters.

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?

Four sentences, front-loaded with the core action, then the mode constraint, then the output shape. The closing 'Supports both course-based (unit_id) and standalone (sources) modes' restates the second sentence and could be dropped.

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 13 parameters, zero required fields, and no output schema, the description does the necessary work of explaining how the parameters group into two mutually exclusive modes and what the generated artifact looks like. The remaining ambiguity — conflicting combinations of unit_id plus sources, and auto_research default interaction — is partly covered by the schema itself.

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 every parameter is already documented in structured data; the description's contribution is mainly the mode framing (unit_id XOR title+sources). It does not, for example, clarify precedence if both unit_id and sources are supplied, or how multiple source types are combined — so it adds meaning but not much 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 opens with a specific verb and resource ('Generate a set of AI-powered ranking questions') and immediately scopes it (3–5 questions, 4–6 rankable items, ordered by chronological/size/importance criteria). This is enough to distinguish it from siblings like create_mcq or create_quiz, which produce different item formats.

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 lays out the two invocation modes — course-based via unit_id versus standalone via title plus sources — which tells an agent when each path applies. It stops short of naming alternative tools (e.g. create_quiz, create_mcq) or stating exclusions, so the routing guidance is contextual rather than comparative.

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.