Skip to main content
Glama

Get Training Module

get_module
Read-onlyIdempotent

One module with its questions. By default this INCLUDES the answer keys — pass forLearner: true for the version without them, and use that for anything a learner will see.

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": {
      "moduleId": "<moduleId>"
    },
    "name": "get_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
moduleIdYes
forLearnerNoStrip correct answers and explanations

Output Schema

NameRequiredDescriptionDefault
idNo
quizNo
typeNo
stateNo
titleNo
lockedNo
updatedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish the safe read-only, idempotent profile, but the description adds the non-obvious and important fact that the default response exposes answer keys, plus the mechanism to strip them. It does not cover failure behavior for an unknown moduleId or permission requirements, which keeps it below a 5.

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?

Two short sentences, zero filler, and the most consequential detail (answer keys included by default) is front-loaded before the opt-out flag. Every clause carries information an agent needs.

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?

An output schema exists, so return-value structure need not be explained, and the description covers the one semantic trap in the tool. What is missing is minor: identifier expectations and what happens when the module is not found. Adequate for a two-parameter read tool.

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?

With only 50% schema coverage, the description supplies the missing meaning for forLearner: its default is false, meaning answer keys are included, and true strips them. The moduleId parameter remains undocumented in both schema and description, but its name is self-explanatory.

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 names a specific resource and scope: one training module together with its questions, which separates it from listing or aggregate siblings such as list_module_translations or get_module_results. It stops short of explicitly contrasting against a neighbouring retrieval tool like get_course, so it is clear but not sibling-differentiated by name.

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 gives concrete conditional guidance: use the default when you need answers, and pass forLearner: true for 'anything a learner will see.' That is an actionable rule tied to a real context of use, though it guides parameter choice within the tool rather than routing between sibling tools.

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