Skip to main content
Glama

Oncourse

Set up a course

oncourse_setup_course

Set up the first Oncourse course for a signed-in learner who has none yet (oncourse_courses returned setupNeeded). Use the learner’s own answer about which exam they are preparing for; never guess. examIds are their picks from the course’s choose lists; activeExamId is the exam they are studying now when the course lists studyNow (any of its core exams, or the discipline they picked). Course changes after setup happen in the Oncourse app.

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": {
      "courseId": "<courseId>"
    },
    "name": "oncourse_setup_course"
  }
}

Input Schema

NameRequiredDescriptionDefault
examIdsNo
courseIdYes
activeExamIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description is not burdened with safety disclosure. It adds real context beyond that: the one-time setup precondition, the prohibition on guessing, and the fact that later changes happen outside this tool. It does not state what happens on a repeat call or what the response confirms, which keeps it from a 5.

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?

Four sentences with the precondition front-loaded, then the no-guessing rule, then parameter semantics. Each sentence carries information, though the parameter sentence is dense and would read better broken out.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A mutating tool with no output schema and 0% schema coverage needs the description to cover all three parameters and the outcome. It covers the two optional parameters well but omits the required courseId and never states what a successful setup returns or confirms.

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 0%, so the description must carry the load. It meaningfully explains examIds (the learner's picks from the course's choose lists) and activeExamId (the exam being studied now when the course lists studyNow, any core exam or the discipline picked). However, the required courseId is never described, and the string format of the exam IDs is left implicit.

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 ('Set up the first Oncourse course') and pins the exact scope: a signed-in learner who has none yet. The parenthetical '(oncourse_courses returned setupNeeded)' makes it instantly distinguishable from the sibling listing tool.

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 both the trigger condition (learner has no course, oncourse_courses returned setupNeeded) and the exclusion (course changes after setup happen in the Oncourse app). It also adds a decision rule — use the learner's own answer, never guess — which is explicit when-to-use guidance.

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.