Skip to main content
Glama

Learn API

Learn integration guide

learn_guide
Read-onlyIdempotent

Read the Learn API integration guide (snapshot of 2026-11-30, learn-mcp 0.1.13), whole or by topic, or one of its runnable examples. Runnable examples are here; a kit's finished code is in learn_starter_file. 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. For exact request and response fields, use learn_contract. Answer only from what it says; if it does not cover something, say so instead of guessing. Topics: access, setup, content, display-name, learner, learner-id, controls, diagnostic, files, turn, safety, team, receipts, timing, saved, open-session, long-sessions, recovery, errors, privacy, price, examples. Examples: README.md, prepare.mjs, quest.ts, quest.py, quest.sh, server.ts. Other guide pages, with page: performance (Fast today. Faster every release., https://developers.foreverlearning.ai/docs/performance/; topics: expect, by-turn-type, edge-cases, faster, checked-first, wait); pricing (Pay only for what you use., https://developers.foreverlearning.ai/pricing/; topics: 5-per-turn-that-succeeds, 3-per-text-turn, memory-that-outlives-the-session, safety-that-reads-the-whole-conversation, understand-what-youll-pay, an-api-built-for-your-organization); security (Build the boundary into your integration., https://developers.foreverlearning.ai/security/; topics: keep-secrets-on-the-server, protect-account-changes, respect-the-person-behind-the-conversation, make-escalation-explicit, report-a-concern); changelog (Know what the contract says., https://developers.foreverlearning.ai/changelog/; topics: 100-free-attempts-with-learn-and-conversations, learn-replies-arrive-as-soon-as-they-are-checked, fifty-free-attempts-with-learn-and-conversations, learn-learning-sessions, replies-regenerate-before-a-turn-fails, failed-turns-resolve-cleanly, characters-that-carry-the-moment, conversations-api-released, current-conversation-contract-documented). Read performance for what to expect from turn times and how to design the wait, pricing for what each API costs, security for keys, account changes, end users and escalation, changelog for what changed in the API and when.

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
pageNoAnother guide page to read instead of the integration guide: "performance", "pricing", "security", "changelog"; with topic, one of its sections.
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 observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so this is clearly a safe read. The description adds genuinely non-structured context: the snapshot date, the underlying learn-mcp version, and a grounding constraint that answers must come from the text. It stops short of saying what the returned document looks like (markdown, size, whether a topic returns a section or the whole page), which is the remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well front-loaded: purpose, routing to siblings, then the enumerations that make the parameters usable. But it carries avoidable bloat, notably marketing taglines and URLs for each alternate page ('Fast today. Faster every release., https://...'), which do not help the agent choose or call the tool.

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 read-only documentation-retrieval tool with three optional string parameters, the description supplies everything needed: what the content is, its version/snapshot, valid values for every parameter, sibling routing, and a grounding rule for gaps. No output schema is needed since the return is prose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema says 'a topic id from the list' but never supplies the list; the description does, enumerating all topics (access, setup, turn, safety, receipts, recovery, etc.) and all example filenames (README.md, prepare.mjs, quest.ts, quest.py, quest.sh, server.ts). It also expands the page parameter by listing each alternate page's sections, which the schema only names as four bare strings.

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') plus its three modes: whole, by topic, or one runnable example. It also explicitly distinguishes itself from learn_starter_file ('a kit's finished code is in learn_starter_file') and learn_contract ('For exact request and response fields, use learn_contract'), so an agent can route between siblings without opening schemas.

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?

Gives an explicit trigger ('Use it for any question about building with the Learn API') and enumerates the question types it covers: session prep, the four kinds of help, turn acceptance, safety status, receipts, errors, recovery. It names the alternative tool for exact field lookups and adds a fallback rule ('if it does not cover something, say so instead of guessing').

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.