Skip to main content
Glama

List topics

list_topics
Read-only

Lists a course's topics (chapters) with titles and 0-based indices for browsing, so you can choose a topic and retrieve its blocks by index or title.

Instructions

Lists the topics (chapters) of one course with their titles and 0-based indices, without blocks and levels. Use it after list_plans to browse a course; then get_topic_blocks with the index or title for the blocks of one topic.

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": {
      "project": "<project>"
    },
    "name": "list_topics"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesCourse project ID, e.g. "c-mat-4" or "c-natdeu-2"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: the payload contains titles and 0-based indices only, with blocks and levels deliberately omitted, which sets expectations about result size and shape. It stops short of noting pagination or behavior for an invalid project ID, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, and the return-shape constraint is front-loaded before the workflow guidance. Every clause earns its place: what it returns, what it omits, and where it sits in the call sequence.

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

Completeness5/5

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

For a single-parameter, read-only listing tool with no output schema, the description supplies everything an agent needs: the resource, the exact return fields, the deliberate exclusions, and both the upstream and downstream calls. Nothing material 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?

There is a single required parameter, project, and schema description coverage is 100% with concrete example IDs ("c-mat-4", "c-natdeu-2"). The description adds no meaning beyond the schema, so the baseline 3 applies.

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 ("Lists the topics (chapters) of one course") and immediately scopes the output: titles and 0-based indices, explicitly "without blocks and levels." That exclusion distinguishes it cleanly from get_topic_blocks, so an agent can route without opening either schema.

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 explicit sequencing: call after list_plans to browse a course, then use get_topic_blocks with the index or title for a topic's blocks. Both the prerequisite and the follow-up alternative are named, and the handoff mechanic (index or title) is spelled out.

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