Skip to main content
Glama

List sessions

list_sessions
Read-only

List class sessions. Optionally filter by date range, instructor, or location.

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_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 25).
end_dateNoISO date/timestamp — end of range.
start_dateNoISO date/timestamp — start of range.
location_idNo
instructor_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered structurally. The description adds nothing about ordering, pagination behavior, or how results are scoped, so it contributes only the filter note on top of the annotations.

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 short sentences with the purpose front-loaded and no filler. It is efficient, though the second sentence is a parameter hint rather than usage context.

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?

With no output schema and five optional parameters, the description would ideally cover return shape and ordering, which it does not. For a simple read-only list tool it is adequate but leaves gaps in exactly the areas the structured fields do not address.

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 60%: limit, start_date, and end_date are documented in the schema, while location_id and instructor_id are not. The description names instructor and location as filters, which partially fills that gap, but it gives no hint about identifier formats or how dates should be expressed.

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 gives a specific verb and resource ("List class sessions") that an agent can act on directly. It does not distinguish this tool from similarly-named siblings such as list_bookings or list_calendar_events, so the reader must infer the boundary from the name alone.

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?

"Optionally filter by" describes parameter usage rather than when to choose this tool over an alternative. There is no statement of context, prerequisites, or exclusions, so an agent knowing only this text gets no routing 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.

Resources