Skip to main content
Glama

Cubite LMS: Learning Management System

Get quiz settings

quiz_settings_get
Read-only

Read one graded quiz's pass mark and attempt limit, and the course's completion rule, without loading the whole course. The quiz id is the id of a block of type "quiz" in course_content_get (outcome quizzes, type "scoreQuiz", have no pass mark). Returns {courseId, quizBlockId, title, passMarkPercent, maxAttempts (0 means unlimited), completeOnlyOnPass, completionRule {type: "all_content", "quiz_passed" or "progress_pct" with minProgressPct}, courseQuizCount (graded quizzes that count toward completion), version (the content version read)}. An id that is not a graded quiz in the course's current content is a not-found error that lists the course's quiz ids and titles. Change these values with quiz_settings_update.

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>",
      "quizBlockId": "<quizBlockId>"
    },
    "name": "quiz_settings_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseIdYesCourse id, as returned by course_list.
quizBlockIdYesThe quiz block's `id` from course_content_get (a block of type "quiz").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/openWorldHint=false, so the description carries the rest and does so well: it discloses the not-found error behavior ("lists the course's quiz ids and titles"), the meaning of 0 for maxAttempts, and which quiz types are unsupported. This is behavior beyond what the annotations provide.

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 long but dense sentences that front-load the purpose before the return shape. The inline enumeration of return fields is verbose but justified because no output schema exists; nothing is genuinely redundant, though the result block could be formatted more scannably.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and only annotations covering the safety profile, the description compensates by documenting the full return shape, the semantics of sentinel values, and the error case. An agent has everything needed to call this correctly and interpret the result.

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 the baseline is 3; the description earns a bump by restating the provenance chain for quizBlockId (an `id` from course_content_get for a block of type "quiz") and by clarifying that outcome quizzes are not valid inputs. courseId adds little beyond the schema's own pointer to course_list.

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: "Read one graded quiz's pass mark and attempt limit, and the course's completion rule." It scopes the tool against course_content_get ("without loading the whole course") and explicitly excludes outcome quizzes, so an agent can distinguish it from siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It states exactly when to use this tool (fetch one graded quiz's settings cheaply), how to source the id ("the `id` of a block of type \"quiz\" in course_content_get"), and where to go to modify values ("Change these values with quiz_settings_update"). It also names a when-not case: outcome quizzes of type "scoreQuiz" have no pass mark.

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