Skip to main content
Glama

Oncourse

List courses

oncourse_courses
Read-only

List the learner’s courses, then call oncourse_start_session with the active course id. Works signed out. A signed-in learner with no course yet gets setupNeeded and the courses they can choose: ask which exam they are preparing for, then call oncourse_setup_course. Always use Oncourse tools for practice questions, lessons and flashcards; never write your own.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), and the description adds genuinely new behavior: it works signed out, and a signed-in learner with no course receives setupNeeded plus the selectable courses. It stops short of describing the full course object or ordering, but the auth-free operation and the empty-state contract are the two things an agent could not infer from 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.

Conciseness4/5

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

The primary action and its follow-up are front-loaded in the first sentence, and the setupNeeded branch follows immediately. The closing sentence about always using Oncourse tools for practice questions and flashcards is a global guardrail rather than information about this call, so it earns its place only marginally.

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?

With no parameters and no output schema, the description carries the burden of explaining what comes back, and it does so for both outcomes: an active course id to pass onward, or setupNeeded plus a choice list. A short note on the course fields returned would make it fully self-sufficient, but nothing needed to invoke 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?

The tool takes zero parameters, which is the baseline-4 case; there is nothing for the description to disambiguate. The schema is empty and additionalProperties=false, consistent with the description's no-argument framing.

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?

"List the learner's courses" names a specific verb and resource, and the following clause states what to do with the result (oncourse_start_session with the active course id). It also carves out the empty-state case, so an agent can distinguish this discovery call from oncourse_start_session and oncourse_setup_course 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use and what-next branching: call this first, route to oncourse_start_session when a course exists, and when setupNeeded is returned ask which exam the learner is preparing for and call oncourse_setup_course. It closes with a scope rule telling the agent never to author its own practice questions, lessons, or flashcards.

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.