Skip to main content
Glama

List courses

list_courses
Read-only

The seller's courses in their Hub: title, status (draft or live), how many students, and the outline, meaning each module with its id and its lessons' titles. Call this before add_lesson to find the course and module.

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

Input Schema

NameRequiredDescriptionDefault
accountNoOnly to work in a client's account: its id from list_accounts. Leave it out for your own account.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so safety is covered. The description goes beyond them by disclosing the returned data shape (status values draft/live, student counts, nested modules with ids and lesson titles), which is the main behavioral unknown for a listing tool with no output schema.

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 dense sentences, front-loaded with the resource and its fields, then the recommended follow-up call. The clause 'the outline, meaning each module with its id and its lessons' titles' is slightly convoluted but earns its place by clarifying a nested structure the agent must navigate.

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 one-optional-parameter read tool with no output schema, the description covers the essentials: what is listed, the fields returned including nesting, and why the agent would call it. Minor gaps remain around result size, ordering, and empty-state behavior, but nothing critical is missing.

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?

The single optional 'account' parameter is fully documented in the schema (100% coverage), including where to obtain the id from list_accounts, so the schema already carries the meaning. The description adds nothing about the parameter, nor about scope such as whether all courses are returned or pagination applies, leaving it at the baseline.

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?

Specific verb+resource ('The seller's courses in their Hub') plus an explicit enumeration of what each course record contains: title, status, student count, and module/lesson outline. An agent can immediately tell this is a read/list tool and what it will get back, which separates it from the mutating siblings like add_lesson.

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?

Names the concrete downstream use case: 'Call this before add_lesson to find the course and module,' which tells the agent both when to invoke it and what id/module values it produces for the next call. It stops short of stating when not to use it (e.g. when a course id is already known), so it is clear context without exclusions.

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.