Skip to main content
Glama

reddit_posts_by_subredditurl

Destructive

输入 subreddit,拿到 Reddit 帖子信息(posts),含子版块分类、话题热度与置顶内容 采集方式:通过subreddit url采集 示例参数:url=https://www.reddit.com/r/battlefield2042 必填参数:url

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": {
      "url": "<url>"
    },
    "name": "reddit_posts_by_subredditurl"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYessubreddit url:该参数用于指定采集 Reddit 帖子的 subreddit URL。
sort_byNo排序方式:该参数用于指定采集帖子的排序方式,包括Hot、Top、New、Rising。注意:使用 Hot 和 New 排序时,时间字段不生效。
file_nameNoBuilder 输出文件名,不传时使用 {{TasksID}}。{{TasksID}}
num_of_postsNo最大帖子数:该参数用于指定采集帖子的最大数量。
sort_by_timeNo时间排序:该参数用于指定采集帖子的时间排序方式,包括Now、Today、This Week、This Month、This Year、All Time。注意:使用 Hot 和 New 排序时,时间字段不生效。All Time

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the agent is warned that this is not a harmless read-only call. The description adds useful context about what post data is collected, but it does not explain the file output behavior or what the destructive side effect actually is.

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?

The description is short and front-loads the main purpose before listing collection method and required input. It includes minor redundancy such as restating the required parameter, but it remains efficient overall.

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?

For a five-parameter scraping tool with no output schema and destructiveHint=true, the description covers the core purpose and input example. It leaves out important operational context such as output file creation/overwrite behavior and any rate or authentication constraints.

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%, so all parameters including sort_by, sort_by_time, num_of_posts, and file_name are already documented in the input schema. The description only repeats the required url parameter and provides an example URL; it adds no meaning for the optional parameters beyond the schema.

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 clearly states that it retrieves Reddit posts from a subreddit URL, including subreddit classification, topic heat, and pinned content. The collection method and example URL make the specific resource and input clear. It does not explicitly contrast itself with sibling tools such as keyword-based Reddit search, so it stops short of a 5.

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?

Usage is implied by 'Input a subreddit' and 'collect via subreddit url', and the example URL shows the expected input shape. However, there is no explicit guidance on when to choose this tool over reddit_posts_by_keywords or reddit_posts_by_url, nor any stated 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.

Resources