Skip to main content
Glama

get_course

Read-onlyIdempotent

Retrieve a course's sections and visible modules, including IDs, types, names, and URLs, to inspect course structure. Optionally include label texts and section summaries with one extra page load.

Instructions

Sections of a course with their visible modules (cmid, type, name, url).

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": {
      "course_id": "<course_id>"
    },
    "name": "get_course"
  }
}

Input Schema

NameRequiredDescriptionDefault
course_idYes
include_textNoAlso read label texts and section summaries (one extra page load)

Output Schema

NameRequiredDescriptionDefault
sectionsYes
course_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact: only visible modules are returned, which tells the agent hidden content is silently excluded. It says nothing about pagination or result size, even though the schema hints that include_text costs 'one extra page load'.

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?

A single compact sentence with the resource and returned fields front-loaded; no filler. It is a sentence fragment rather than a full statement, which slightly weakens readability without adding length.

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?

An output schema exists, so return values need not be explained, and a two-parameter tool is simple. Still, the undocumented required course_id and the absence of any usage routing leave the definition only minimally sufficient.

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

Parameters2/5

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

Schema coverage is only 50%: course_id has no description anywhere, while include_text is well documented in the schema itself. The description does not compensate at all, adding no detail about what course_id expects or how include_text changes the result shape beyond the field list already implied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource unambiguously: sections of a course plus their modules, along with the fields returned (cmid, type, name, url). It implies a single-course scope via course_id, which distinguishes it from list_courses and get_module. It lacks an explicit verb and leaves 'visible' undefined, so it is clear but not maximally sharp.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance, no statement of when to prefer this over get_module or list_courses, and no prerequisites or exclusions. The agent must infer from the name alone that this is the tool for browsing a course's structure.

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