Skip to main content
Glama

Lesson content

get_lesson
Read-only

Fetch a lesson level's questions, trainers, and answer options using its fileId to see what the lesson asks; use progress data separately to review a child's results.

Instructions

Returns the content of one lesson level: its questions, trainers and answer options. Takes the fileId of the level as get_topic_blocks lists it in levels[].fileId, like "level/...". Use it to see what a lesson asks; for how a child did on it use get_level_progress.

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": {
      "fileId": "<fileId>"
    },
    "name": "get_lesson"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYesFile id of the level from get_topic_blocks (levels[].fileId), with or without the "level/" prefix

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • changedInput schema / properties / fileId / description
      Previous value: -"Level file path (with or without the \"level/\" prefix)"New value: +"File id of the level from get_topic_blocks (levels[].fileId), with or without the \"level/\" prefix"
  2. First observedv1.5.1

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds behavior beyond that by specifying the shape of the returned content (questions, trainers, answer options), which tells the agent what a call will surface. It stops short of describing depth or size of the payload, but with annotations present the bar is lower.

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?

Three short clauses, each doing work: what is returned, where the parameter comes from, and which sibling handles the other question. The return content is front-loaded and nothing is repeated from the schema verbatim.

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?

For a single-parameter, read-only retrieval tool with full schema coverage and no output schema, the description covers purpose, input provenance, return content, and the sibling alternative. Nothing an agent needs to call it correctly is missing.

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% and already documents that the "level/" prefix is optional, so the schema carries most of the weight. The description still adds value by tracing fileId to a specific source field (get_topic_blocks levels[].fileId), helping the agent chain calls correctly.

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?

"Returns the content of one lesson level" is a specific verb plus resource, and the description enumerates what that content consists of (questions, trainers, answer options). It also explicitly distinguishes itself from get_level_progress, so an agent can separate content retrieval from performance reporting without opening either 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?

"Use it to see what a lesson asks; for how a child did on it use get_level_progress" states the use case and names the alternative with the condition that selects it. It also tells the agent where the required identifier comes from (get_topic_blocks), which functions as a prerequisite.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.