Skip to main content
Glama

reddit_posts_by_keywords

Destructive

输入 subreddit,拿到 Reddit 帖子信息(posts),含子版块分类、话题热度与置顶内容 采集方式:通过关键词采集 示例参数:keyword=datascience 必填参数:keyword

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": {
      "keyword": "<keyword>"
    },
    "name": "reddit_posts_by_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo日期:该参数用于指定采集帖子的时间限制条件,包括:All time、Past year、Past month、Past week、Today、Past hour。注意:使用 Hot 和 New 排序时,时间字段不生效。All time
keywordYesReddit 关键词:该参数用于指定采集 Reddit 帖子 的搜索关键词。
sort_byNo排序方式:该参数用于指定采集帖子的排序方式,包括Relevance、Hot、Top、New、Comment count。注意:使用 Hot 和 New 排序时,时间字段不生效。
file_nameNoBuilder 输出文件名,不传时使用 {{TasksID}}。{{TasksID}}
num_of_postsNo最大帖子数:该参数用于指定采集帖子的最大数量。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, openWorldHint=true and readOnlyHint=false, yet the description never explains that collecting posts produces an output file (only the file_name parameter's schema hints at this) or what side effects occur. It adds no behavioral context beyond restating the collection method, so it fails to compensate for the non-read-only profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

It is short and front-loaded, but space is spent restating the required parameter twice while the leading subreddit claim is misleading. Minor redundancy and one contradictory opening line keep it from earning a higher score.

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?

With five parameters fully described in the schema and no output schema, most invocation detail is covered elsewhere. Still, for a tool annotated as destructive and open-world, the description omits what the collection produces and how the file output works, and its subreddit framing is a real source of confusion.

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 the enum options, date filtering and the Hot/New caveat are already fully documented in the schema. The description only adds a single example value and repeats that keyword is required, which is baseline value at best.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states it retrieves Reddit post information including subreddit classification, topic heat and pinned content, and identifies the collection mode as keyword-based. However the opening line says "输入 subreddit" (input a subreddit), which conflicts with the keyword-driven collection it actually performs and with the required parameter, leaving the agent unsure what actually drives the search.

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

Usage Guidelines2/5

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

It gives an example parameter (keyword=datascience) and restates that keyword is required, which is mild usage framing. There is no indication of when to choose this tool over the subreddit/URL based siblings, nor any exclusion or precondition guidance, so an agent must guess between keyword, subreddit-URL and post-URL variants.

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