Skip to main content
Glama
reddit-search
by mattlau1

get_thread

Retrieve a Reddit post and its comment tree from a URL or post ID to uncover answers and threaded discussion context.

Instructions

Get a post and its comment tree from a reddit URL or post id. The comments hold the answers.

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": {
      "post_id_or_url": "<post_id_or_url>"
    },
    "name": "get_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_commentsNo
post_id_or_urlYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing: it does not say the call is read-only (implied but unstated), what happens when max_comments truncates the tree, whether large threads are paginated, or what errors arise from a malformed URL. Only the vague 'comments hold the answers' sentence adds anything beyond the name.

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 core action front-loaded. The second sentence is essentially filler marketing copy rather than information, but it costs little.

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?

An output schema exists, so return shape need not be explained. Still, for a 2-parameter scraping-style tool with zero schema coverage and no annotations, the gaps around max_comments semantics and failure modes leave the definition adequate but incomplete.

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 0%, so the description must compensate. It does partly by clarifying that post_id_or_url accepts either a full Reddit URL or a bare id, which the schema title alone leaves ambiguous. However, max_comments (default 100) is never explained, so truncation behavior for the second parameter remains undocumented.

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: fetching a post plus its comment tree, and names the accepted input forms (reddit URL or post id). This clearly separates it from search_posts and search_comments, which look for content rather than retrieve a known thread, though the description never explicitly draws that contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Use is only implied: 'The comments hold the answers' hints that this is the tool for reading discussion on an already-identified post. There is no explicit when-to-use or when-not guidance, and no mention of what to do if only a topic, not an id, is known (the search_* siblings).

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