Skip to main content
Glama

Sessions

get_sessions
Read-onlyIdempotent

Lists a Course's Sessions with their dates and places. With a sessionId, reads that Session's own page once it is open to the person (the Course's main page is get_course_page).

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

Input Schema

NameRequiredDescriptionDefault
courseIdYesThe Course's id, from list_courses
sessionIdNoA Session's id, from a first call without it, to read its page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the description needn't repeat safety. It adds real context beyond them: the per-person visibility caveat ('once it is open to the person') and the fact that a sessionId normally comes from a prior call. No return format, but the tool is a simple read.

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?

Two sentences, zero filler, with the primary list behavior front-loaded and the alternate mode plus the sibling pointer trailing. The phrase 'once it is open to the person' is slightly awkward, but every clause carries information.

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?

For a two-parameter, read-only, closed-world tool with no output schema, the definition covers both modes, the source of the id, a visibility caveat, and the nearest alternative. Only a hint about what a session page returns is absent, which is minor for this complexity.

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 100%, so both parameters already carry descriptions, including that sessionId comes from a first call. The description reinforces that sessionId switches the tool into read-one mode, which is useful framing but largely duplicates the schema. Baseline 3 applies.

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?

States a specific verb and resource (lists a Course's Sessions with dates and places) and covers the second mode (reads a Session's own page when a sessionId is given). It also names get_course_page as the sibling for the Course's main page, so the boundary is explicit. The dual list/read behavior is compressed into one sentence, which is slightly dense but unambiguous.

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?

Implicitly but clearly routes the agent: call with only courseId to enumerate sessions, call with sessionId to open an individual session, and use get_course_page for the Course main page. No explicit exclusions or error conditions, but the mode selection is derivable without guesswork.

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.