Skip to main content
Glama

List the person's courses

list_courses
Read-onlyIdempotent

Read-only: the person's own courses, to find a course again or pick one to share. personal: courses in their soclever library (courseRef for preview_personal_share and get_personal_course). teaching: a teacher's own teaching courses (courseId for preview_share_recipient); a regular account has none. By default it lists ids, titles and lesson counts only (page size up to 20). With includeCounts: true it also gives each personal course's sharing state and each teaching course's lesson counts (published, held for review, waiting, taken down), on a page of at most 5. Page with offset. Course titles are under forThePerson: they come from the person's material. Teaching lesson counts: published is what a new student sees now. unpublished lessons are "taken down by the teacher"; held and notPublished lessons are "held for review / not published yet", which is different from taken down. In notYetAvailable, lessons_unpublished means taken down by the teacher; lessons_held and lessons_not_published mean held for review / not published yet.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
whichNo'personal', 'teaching' or 'both' (the default).both
offsetNo
includeCountsNoAlso each course's sharing state or lesson counts; the page is then at most 5.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive, yet the description still adds real behavior: the default projection (ids, titles, lesson counts), the page-size drop from 20 to 5 when includeCounts is set, offset paging, and that a regular account has no teaching courses. The lesson-state gloss (taken down vs held for review vs not published) and the note that titles come from the person's own material are genuinely extra context not in structured fields.

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?

Front-loads the safety hint and the two scopes, which is good structure, but the final third is repetitive: the held/notPublished distinction is stated twice with slightly different vocabulary (lessons_held, lessons_not_published), and 'Teaching lesson counts: published is what a new student sees now' is a run-on that buries the rule. The teaching-state vocabulary could be a compact mapping table instead of prose.

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 shape need not be described, yet the description still explains enough about scopes, paging, and count semantics for correct invocation, and it warns that regular accounts have no teaching courses. Minor gap: it never says what happens when both is selected with includeCounts on a mixed account, nor how to detect the end of a page.

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 coverage is 50% and the description does compensate substantially, explaining what 'which' selects per mode, what includeCounts returns, and that paging is by offset. However the limit and offset bounds (max 20, max 10000) are only enforced in the schema and never discussed, and the description's page-size statements duplicate schema constraints rather than clarifying new behavior.

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?

Opens with a specific verb+resource ('the person's own courses') and immediately splits the resource into two named scopes, personal and teaching, each with the identifier it returns (courseRef vs courseId). An agent can distinguish this list tool from get_personal_course or preview_* siblings without opening any schema.

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?

Gives explicit usage contexts ('to find a course again or pick one to share') and routes the agent forward by naming the exact consuming tools for each id type (preview_personal_share, get_personal_course, preview_share_recipient). It does not explicitly say when to prefer this over fetching a single course, so the exclusion side is only implied.

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