Skip to main content
Glama
Unilytics MCP Server

Unilytics MCP Server

Official

brand_visibility

Read-only

Measure how ChatGPT, Claude, and Perplexity mention and rank a brand in AI answers, including sentiment, competitor positions, and Perplexity citations for a given prompt.

Instructions

Measure how ChatGPT (OpenAI), Claude (Anthropic) and Perplexity represent a brand when asked one prompt.

Each engine answers the prompt, and Unilytics analyzes each answer. Returns, per engine: status, model,
whether the brand is mentioned, its position among the brands named (1 = named first), sentiment toward the
brand (positive / neutral / negative), which of the given competitors the answer names and their positions,
and the URLs and domains the engine cited (Perplexity is the only engine that returns citations). Also returns
a summary (engines analyzed, engines mentioning the brand, engines failed). The answer text itself is not
returned, and competitors that weren't given aren't listed. An engine that fails is reported with a status code
(engine_failed, analysis_failed, timed_out), never as "not mentioned"; when no engine can be analyzed the call
is an error and is not charged.

Use when the user asks whether AI assistants mention or recommend a brand, where it ranks against competitors
in AI answers, how AI describes it, or which sources Perplexity cites for a query. One prompt per call. The
credits charged depend on the engines analyzed: 8 when all three are, 5 for two, 3 for one.

Args:
    prompt: The question a customer might ask an AI assistant (e.g. "What is the best CRM for startups?"),
        up to 2,000 characters.
    brand: The brand to look for in the answers (e.g. "HubSpot"), up to 100 characters.
    competitors: Optional competitor brand names to track in the same answers (up to 20); only these are
        reported in competitors_named.

[Provider: OpenAI, Anthropic, Perplexity (answers); OpenAI (analysis)]

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": {
      "prompt": "<prompt>",
      "brand": "<brand>"
    },
    "name": "brand_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYes
promptYes
competitorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.1.0
    • removedInput schema / properties / brand / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / brand / default
      Removed value: -null
    • addedInput schema / properties / brand / type
      Added value: +"string"
    • addedInput schema / properties / competitors
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Competitors"
      +}
    • removedInput schema / properties / config
      Removed value: -{
      -  "default": null,
      -  "title": "config",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "prompt"
      -]New value: +[
      +  "prompt",
      +  "brand"
      +]
  2. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses that answer text is not returned, uncited competitors are omitted, failed engines surface as status codes rather than 'not mentioned', and the all-engines-failed case raises an error with no charge. The per-call credit schedule (8/5/3 by engines analyzed) is cost information the annotations cannot express.

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?

Front-loaded with the core measurement statement, then return shape, then usage, then args – a sensible order with little wasted text. It runs long and the '[Provider: ...]' trailer plus the Args block partially restate what preceding sentences already establish, but every section still carries information.

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, yet the description enumerates the per-engine return fields (status, model, mention, position, sentiment, competitors_named positions, cited URLs/domains) and the summary counts. For a three-engine open-world call with three parameters, nothing an agent needs to invoke or interpret it is missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and does: prompt is a customer-style question up to 2,000 characters with an example, brand is the literal string to match up to 100 characters, and competitors is optional, capped at 20, and only affects which names appear in competitors_named. That last clause is semantics the schema's bare string-array type cannot convey.

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: measures how three named AI engines represent a brand for one prompt. It spells out which engines, what is analyzed, and what comes back, so an agent can distinguish it from citation-check or prompt-audit siblings 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 Guidelines4/5

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

Gives four concrete triggering questions (does AI mention/recommend the brand, ranking vs competitors, how AI describes it, which sources Perplexity cites) and adds the 'one prompt per call' constraint plus credit costs that guide scope decisions. It stops short of naming an alternative tool for multi-prompt or tracked-prompt workflows, so the agent must infer that path from sibling names.

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