Skip to main content
Glama
mcp-reddit-brand-presence-mapper

mcp-reddit-brand-presence-mapper

Map Reddit Brand Presence

map_reddit_brand_presence
Idempotent

Map a company domain to its subreddit and measure posting cadence, recency, subscriber count, plus a sample of sitewide brand mentions, returning one Clay-ready row per company.

Instructions

Resolve a company domain to that company's subreddit and report its posting cadence, recency, and subscriber count, plus, with the caller's own Serper or Brave search key, a sample of site wide brand mentions. One flat Clay ready row per company. STATUS 12 November 2026: Reddit closed logged out search and ends RSS on 13 November 2026, so actor version 0.3 reads no RSS. The subreddit and its 25 newest posts come from Arctic Shift, a free public archive of Reddit (no key, about 15 minutes behind live Reddit, searches only inside a named subreddit). Mentions across all of Reddit need search_api_key. reddit_route picks the main route (arctic_shift, search_key, both); when it fails or cannot run and the other can, the run switches on its own and says so in route_note, and data_route names the source on every row. Reddit app credentials (redditClientId, redditClientSecret) give a live subscriber count only for apps Reddit approved before 2026-10-31; that route ends when Reddit closes its API by March 2027. A blocked run charges only the start fee. Read only; requires an APIFY_TOKEN and consumes Apify credits per call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "map_reddit_brand_presence"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleNoOptional. The subreddit name with or without the r/ prefix, for example stripe. Skips discovery. Read from Arctic Shift, no key needed.
skipCacheNoKept so saved calls still validate. Has no effect in actor version 0.3.
company_nameNoOptional. Improves search accuracy and is what the identity gate checks a discovered profile against, so supplying it reduces wrong matches.
mentionQueryNoWhat to search for site wide brand mentions. Needs search_api_key, because Arctic Shift searches only inside a named subreddit. Defaults to the domain in quotes, which is more precise than the brand name.
reddit_routeNoMain route. arctic_shift (default): free Arctic Shift archive, no key. search_key: the caller's Serper or Brave key searches site:reddit.com for the subreddit and mentions. both: use both and merge. The run falls back to the other route on its own when the main one fails and the other can run. With no key, every choice runs as arctic_shift.
company_domainNoBare company domain, for example shopify.com. Supply this or a handle. With a domain the actor runs full discovery; with a handle it skips straight to the fetch.
max_charge_usdNoOptional spending cap for this call, in USD, passed to the actor as max_charge_usd. The run stops before any charge that would take it past this amount and keeps every row already charged. Leave empty to rely only on the maximum charge per run set on your Apify account.
redditClientIdNoOptional. The caller's own Reddit app client id, for a live subscriber count and as a fallback when Arctic Shift fails. Only for apps Reddit approved before 2026-10-31, when Reddit stopped approving new apps; this route ends when Reddit closes its API by March 2027.
search_api_keyNoThe caller's own Serper or Brave Search API key. Needed for brand mentions across all of Reddit. Used for that run only, never stored, never written to a row. The provider bills the caller for up to 2 searches per company.
company_domainsNoOptional. A list of bare company domains. Each becomes its own row, so a list of 500 is one run and one start charge instead of 500.
includeMentionsNotrue (default) pulls a mention sample when a search key is given; without one the row says needs_search_key and charges nothing for mentions. false for the subreddit only.
search_providerNoThe provider of search_api_key: serper (serper.dev) or brave (Brave Search API). Defaults to serper when a key is given.
redditClientSecretNoThe caller's own Reddit app client secret, paired with the client id. Used for that run only and never stored.
includeFollowerCountsNoKept so saved calls still validate. Has no effect in actor version 0.3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv1.3.0
    • addedInput schema / properties / company_domains
      Added value: +{
      +  "description": "Optional. A list of bare company domains. Each becomes its own row, so a list of 500 is one run and one start charge instead of 500.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / handle / description
      Previous value: -"Optional. The subreddit name with or without the r/ prefix, for example stripe. Supplying it skips discovery."New value: +"Optional. The subreddit name with or without the r/ prefix, for example stripe. Skips discovery. Read from Arctic Shift, no key needed."
    • changedInput schema / properties / includeFollowerCounts / description
      Previous value: -"When \"true\" (default) the profile page is fetched and the counts are extracted. Set \"false\" to resolve the profile URL only, which is cheaper and needs no proxy. Sent as a string for Clay compatibility."New value: +"Kept so saved calls still validate. Has no effect in actor version 0.3."
    • changedInput schema / properties / includeMentions / description
      Previous value: -"When \"true\" (default) a site wide mention sample is pulled alongside the subreddit. Set \"false\" for the official subreddit only, which is one fetch instead of two. Sent as a string for Clay compatibility."New value: +"true (default) pulls a mention sample when a search key is given; without one the row says needs_search_key and charges nothing for mentions. false for the subreddit only."
    • addedInput schema / properties / max_charge_usd
      Added value: +{
      +  "description": "Optional spending cap for this call, in USD, passed to the actor as max_charge_usd. The run stops before any charge that would take it past this amount and keeps every row already charged. Leave empty to rely only on the maximum charge per run set on your Apify account.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / properties / mentionQuery / description
      Previous value: -"What to search Reddit for when measuring brand mentions. Defaults to your domain in quotes, which is measured far more precise than the brand name: a bare search for \"stripe\" returns r/Horses and r/MyHeroAcadamia because Reddit matches the English word, while \"stripe.com\" returns developer subreddits."New value: +"What to search for site wide brand mentions. Needs search_api_key, because Arctic Shift searches only inside a named subreddit. Defaults to the domain in quotes, which is more precise than the brand name."
    • changedInput schema / properties / redditClientId / description
      Previous value: -"YOUR OWN Reddit app client id. Free to create at reddit.com/prefs/apps. This is the only route to a subscriber count: Reddit returns 403 on every unauthenticated JSON route. Leave empty and everything else still works."New value: +"Optional. The caller's own Reddit app client id, for a live subscriber count and as a fallback when Arctic Shift fails. Only for apps Reddit approved before 2026-10-31, when Reddit stopped approving new apps; this route ends when Reddit closes its API by March 2027."
    • changedInput schema / properties / redditClientSecret / description
      Previous value: -"YOUR OWN Reddit app client secret, paired with the client id above. Used for your run only and never stored."New value: +"The caller's own Reddit app client secret, paired with the client id. Used for that run only and never stored."
    • addedInput schema / properties / reddit_route
      Added value: +{
      +  "description": "Main route. arctic_shift (default): free Arctic Shift archive, no key. search_key: the caller's Serper or Brave key searches site:reddit.com for the subreddit and mentions. both: use both and merge. The run falls back to the other route on its own when the main one fails and the other can run. With no key, every choice runs as arctic_shift.",
      +  "enum": [
      +    "arctic_shift",
      +    "search_key",
      +    "both"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / search_api_key
      Added value: +{
      +  "description": "The caller's own Serper or Brave Search API key. Needed for brand mentions across all of Reddit. Used for that run only, never stored, never written to a row. The provider bills the caller for up to 2 searches per company.",
      +  "type": "string"
      +}
    • addedInput schema / properties / search_provider
      Added value: +{
      +  "description": "The provider of search_api_key: serper (serper.dev) or brave (Brave Search API). Defaults to serper when a key is given.",
      +  "enum": [
      +    "serper",
      +    "brave"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / skipCache / description
      Previous value: -"When \"false\" (default) a successful lookup is cached for seven days and reused. Set \"true\" to force a fresh fetch. Sent as a string for Clay compatibility."New value: +"Kept so saved calls still validate. Has no effect in actor version 0.3."
  2. Changed1 schema field changedv1.1.1
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

It discloses cost behavior (per-call Apify credits, blocked runs charge only the start fee, max_charge_usd stops before an over-cap charge), auth requirements (APIFY_TOKEN, caller's own search/Reddit credentials, keys never stored), data provenance (Arctic Shift, ~15 minutes behind live Reddit, subreddit-internal searches only), and silent-fallback reporting via route_note/data_route. The one tension it does not reconcile is that annotations set readOnlyHint=false while the text says 'Read only' — a reader can infer this reflects credit spend rather than data mutation, but the description never says so.

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?

The first sentence is a long run-on that buries the core action behind a mention aside, and the status paragraph repeats route details already carried by the schema descriptions. Content is dense but the front-loading is weak: a dated deprecation notice occupies more prominence than the tool's primary job.

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?

For a 14-parameter tool with no output schema, the definition covers inputs, execution paths, provenance, cost model, fallback reporting, and result shape well enough that an agent can call it correctly and interpret the row. Nothing essential about invocation or interpretation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the prose adds interaction semantics the schema does not spell out: with no search key every reddit_route choice behaves as arctic_shift, domain versus handle changes the execution path, and mentionQuery defaults to the quoted domain for precision. Smaller gaps remain, such as how company_domains interacts with a handle in the same call.

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 opening sentence names a concrete input (company domain), a concrete output (the company's subreddit, posting cadence, recency, subscriber count, optional site-wide mentions), and the delivery shape ('one flat Clay ready row per company'). An agent knows exactly what it gets back without opening the 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?

Explicit conditional guidance throughout: supply a domain to run full discovery or a handle to skip straight to the fetch; choose arctic_shift when no key exists, search_key when site-wide mentions are needed, both to merge; set includeMentions=false for subreddit-only; reddit app credentials only help for apps approved before 2026-10-31. Fallback behavior is also stated 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.

Deploy Server

Other Tools