Skip to main content
Glama

Get quiz

get_quiz
Read-onlyIdempotent

Load an existing quiz of a course (or one named quiz of that course) so the user can take it again, with its questions and answer options. Spends no AI quota.

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": {
      "courseId": "<courseId>"
    },
    "name": "get_quiz"
  }
}

Input Schema

NameRequiredDescriptionDefault
quizIdNoQuiz id of a specific quiz in that course
courseIdYesCourse id

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?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the description need not repeat safety. It adds useful behavioral context by stating the tool 'Spends no AI quota' and that it returns the quiz with questions and answer options.

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?

A single front-loaded sentence conveys the core action, the optional quiz selection, the returned content, and the quota behavior. There is no filler or redundancy.

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 simple two-parameter read tool with rich annotations and full schema coverage, the description covers the action, optional selection, return content, and quota cost. It could be slightly richer about return shape, but no output schema exists and the essentials are present.

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 100%, so both parameters are already documented. The description adds selection semantics by clarifying that omitting quizId loads the course quiz and providing quizId loads one named quiz of that course.

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 gives a specific verb and resource: 'Load an existing quiz of a course' with an optional named quiz. This clearly distinguishes retrieving a single quiz from list-style siblings like list_quizzes, though it does not explicitly name those alternatives.

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 'so the user can take it again' implies the use case, and the parenthetical clarifies that quizId selects one named quiz. However, there is no explicit guidance on when to use this versus list_quizzes, get_quiz_job, or export_quiz.

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