Skip to main content
Glama
reddit-mcp-server

reddit-mcp-server

Get Post Flairs

get_post_flairs
Read-only

Fetch a subreddit's selectable link flairs and their IDs so you can apply the correct flair when creating a post.

Instructions

List a subreddit's selectable link flairs (flair text + flair_id) for use with create_post. Read-only, but requires user credentials; many subreddits expose flairs only to members, so this can 403 or return empty without credentials. Pass a returned flair_id (and flair_text for text-editable flairs) to create_post. For the subreddit's posting rules use get_subreddit_rules instead.

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": {
      "subreddit_name": "<subreddit_name>"
    },
    "name": "get_post_flairs"
  }
}

Input Schema

NameRequiredDescriptionDefault
subreddit_nameYesThe subreddit name, without the r/ prefix (e.g. 'gadgets').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely new behavioral context — credential requirements, the fact that many subreddits expose flairs only to members, and concrete failure modes (403 or empty result). It stops short of describing pagination or response shape, but for a read-only list tool the auth and failure disclosure is the valuable part.

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?

Three tight sentences with no filler: what it returns first, then the auth caveat, then the downstream usage, then the sibling pointer. Every sentence carries distinct information an agent needs.

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?

No output schema exists, and the description compensates by naming the returned fields (flair text + flair_id). Combined with the auth caveat and the create_post handoff, nothing an agent needs to call this correctly 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 parameter with 100% schema description coverage, including the 'without the r/ prefix' formatting rule, so the schema carries the semantics. The description adds no additional meaning about subreddit_name beyond what the schema already says; baseline 3 applies when coverage is high.

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 ('List a subreddit's selectable link flairs') and immediately names the return payload (flair text + flair_id) and the consumer tool (create_post). An agent can distinguish this from get_subreddit_rules and browse_subreddit without opening any 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?

Explicitly routes the agent: use this when you need a flair_id for create_post, and use get_subreddit_rules instead when you want posting rules. The follow-up step ('Pass a returned flair_id ... to create_post') is spelled out rather than left to inference.

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