Skip to main content
Glama
mambalabsdev

mcp-meta-brand-presence-mapper

Map Instagram Threads and Facebook Presence

map_meta_brand_presence
Idempotent

Resolve a company domain to Instagram, Threads and Facebook accounts with follower and post counts as one flat row. Derive Threads from Instagram; report blocked Facebook access, not zero.

Instructions

Resolve a company domain to its Instagram, Threads and Facebook accounts with follower and post counts, as one flat Clay ready row. The Threads handle is derived from the resolved Instagram handle at no extra discovery cost. Instagram and Threads counts are rounded by Meta and the row carries both the rounded integer and the platform's own display string. Facebook is best effort: Meta serves a login wall to anonymous clients, so blocked is a normal answer there and never a zero. Read only; requires an APIFY_TOKEN and consumes Apify credits per call.

Input Schema

NameRequiredDescriptionDefault
handleNoOptional. The Instagram handle with or without the leading @. Supplying it skips Instagram discovery AND gives Threads its handle for free, because Threads handles are Instagram handles (5 of 5 measured).
platformsNoWhich of the three Meta surfaces to map. Default is all three. Dropping Facebook is the common choice: it is the least reliable of the three and it costs a fetch to find that out.
skipCacheNoDefault false: a successful lookup is cached for seven days and reused. Set true to force a fresh fetch.
company_nameNoOptional. Improves search accuracy and is what the identity gate checks a discovered profile against, so supplying it reduces wrong matches.
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.
includeFollowerCountsNoDefault true: the profile page is fetched and the follower counts are extracted. Set false to resolve the profile URL only, which is cheaper and needs no proxy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.1.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • 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: +"Default true: the profile page is fetched and the follower counts are extracted. Set false to resolve the profile URL only, which is cheaper and needs no proxy."
    • 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 / 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: +"Default false: a successful lookup is cached for seven days and reused. Set true to force a fresh fetch."
  2. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: Threads handles are derived from the Instagram handle at no extra cost, Meta rounds IG/Threads counts (both rounded integer and display string returned), and Facebook is best effort because Meta serves a login wall, so 'blocked' is a normal answer and never a zero. It also discloses auth needs (APIFY_TOKEN) and per-call credit consumption. The one tension is that the description says 'Read only' while readOnlyHint=false; that annotation most plausibly reflects credit spend and cache writes rather than data mutation, so this is a nuance to resolve rather than a flat contradiction.

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?

Five sentences, zero filler, and the primary outcome is front-loaded before the caveats. Each sentence contributes a distinct fact: scope, Threads derivation, rounding behavior, Facebook reliability, and auth/cost — nothing repeats the schema or the annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully characterizes the returned row (flat, Clay-ready, follower and post counts, rounded plus display string) and covers auth, cost caps, caching via skipCache, and the Facebook-blocked edge case. It stops short of stating what the row looks like when no profile is resolved at all, which is the remaining unspecified outcome for a 7-parameter discovery tool.

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 every parameter (handle, platforms, skipCache, company_name, company_domain, max_charge_usd, includeFollowerCounts) is already documented in the input schema, which sets the baseline at 3. The description adds only the derived-Threads insight and the rounded/display-string return detail, neither of which illuminates a parameter's semantics beyond what the schema says.

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: 'Resolve a company domain to its Instagram, Threads and Facebook accounts with follower and post counts, as one flat Clay ready row.' The output shape and the three platforms are named up front, so an agent knows exactly what it gets back without opening the schema. No siblings exist, so no differentiation is needed.

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?

The description implies when the tool is appropriate (resolving social presence from a domain) and provides a prerequisite ('requires an APIFY_TOKEN and consumes Apify credits per call'), but it never states when not to use it or what alternative exists. The strongest routing guidance — dropping Facebook, supplying a handle to skip discovery — lives in the parameter descriptions rather than the tool description. Adequate but not explicit.

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