Skip to main content
Glama

Read Topic

discourse_read_topic
Read-onlyIdempotent

Retrieve Discourse topic content, metadata, and posts with pagination support for comprehensive forum reading.

Instructions

Read a Discourse topic including its metadata (title, category, tags) and posts. Supports pagination for long topics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topic_idYesThe numeric ID of the topic to read (e.g., 12345 from URL /t/topic-slug/12345)
post_limitNoMaximum number of posts to retrieve (1-100). Default: 5
start_post_numberNoStart reading from this post number (1-based). Use for pagination through long topics
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, and idempotentHint=true, covering safety and idempotency. The description adds valuable context beyond annotations by specifying that it 'Supports pagination for long topics,' which is a key behavioral trait not captured in annotations.

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?

The description is two sentences, front-loaded with the core purpose and followed by a key feature (pagination). Every sentence earns its place with no wasted words, making it highly efficient.

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?

Given the tool's moderate complexity (3 parameters, no output schema) and rich annotations (covering safety and idempotency), the description is mostly complete. It adds useful context like pagination support but could benefit from mentioning response format or error handling, though not strictly required.

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 description coverage is 100%, with each parameter well-documented in the schema (e.g., topic_id includes an example, post_limit specifies default and range). The description mentions pagination, which aligns with start_post_number but does not add significant meaning beyond what the schema provides.

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?

The description clearly states the verb ('Read') and resource ('Discourse topic') with specific details about what is included ('metadata (title, category, tags) and posts'). It distinguishes from siblings like discourse_read_post (which reads a single post) and discourse_filter_topics (which lists topics).

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?

The description implies usage for reading topics with pagination support, which differentiates it from list tools like discourse_list_categories. However, it does not explicitly state when to use this tool versus alternatives like discourse_search or discourse_read_post, nor does it provide exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/king-of-the-grackles/discourse-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server