Skip to main content
Glama

Learn integration guide

learn_guide
Read-onlyIdempotent

Read the Learn API integration guide by topic or as a whole, or open its runnable examples, to answer integration questions accurately without guessing.

Instructions

Read the Learn API integration guide (snapshot of 2026-11-26), whole or by topic, or one of its runnable examples. Use it for any question about building with the Learn API: preparing a session, the four kinds of help, sending a turn and accepting it only on its final done event, the safety status, receipts, errors and recovery. Answer only from what it says; if it does not cover something, say so instead of guessing. Topics: access, setup, display-name, learner, learner-id, controls, diagnostic, files, turn, safety, team, receipts, timing, saved, open-session, recovery, errors, privacy, price, examples. Examples: README.md, prepare.mjs, quest.ts, quest.py, quest.sh, server.ts.

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": "learn_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNoA topic id from the list (for example "turn", "safety", "errors") or words from its heading. Leave it out for the whole guide.
exampleNoA runnable example file to read instead, for example "quest.ts" or "README.md".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful behavior: the content is a dated snapshot (2026-11-26), so staleness is knowable, and it imposes an answer-only-from-source rule. It does not say what happens if a topic id is unknown or if both topic and example are supplied.

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?

Front-loaded with the purpose and usage scope in the first two sentences, then the enumerations. The long topic and example lists are bulky but earn their place as the only authoritative list of valid values; the grounding instruction could be tighter.

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 two-optional-parameter read tool with full schema coverage and an output-schema-free interface, the description is close to complete: it explains what content exists, in what form, and how to respond from it. The remaining gap is interaction semantics between the topic and example parameters and failure behavior on unmatched topics.

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 both optional parameters are already documented, making 3 the baseline. The description's enumerated topic and example lists do add meaning over the schema (which only shows three illustrative values), but since there is no enum in the schema the lists act as a de facto value set; it still omits precedence between the two parameters.

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?

States a specific verb and resource: read the Learn API integration guide, whole, by topic, or via a runnable example. It goes further by enumerating all 20 valid topics and the six example files, so an agent knows precisely the scope of content behind this tool.

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?

Explicitly says to use it 'for any question about building with the Learn API' and lists the subject areas (session prep, the four kinds of help, turn acceptance, safety status, receipts, errors/recovery). It also sets a grounding rule: answer only from the guide and admit gaps rather than guess. It does not name sibling tools or say when another tool is preferable.

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