Skip to main content
Glama

AI search visibility check (ChatGPT / Perplexity answers)

check_ai_search_visibility
Read-onlyIdempotent

Ask AI assistants the questions buyers ask to measure how often your brand is named, how it ranks against competitors, which sites are cited, and the answer tone.

Instructions

Ask ChatGPT (OpenAI API) and/or Perplexity the questions your buyers ask and measure how often your brand is named, its rank against competitors, which sites are cited and the tone. Needs YOUR OWN OpenAI and/or Perplexity API key (AI usage is billed by them to you, about $0.0002-0.002 per answer) plus $0.01 per analysed answer on Apify. Without keys, use dryRun to see the format for free. Keys are passed to Apify as secret input and never returned.

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": {
      "brand": "<brand>",
      "prompts": "<prompts>"
    },
    "name": "check_ai_search_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYesYour brand name, e.g. "Steadfeed".
dryRunNoMock answers with no AI keys and no AI cost, to preview the output.
promptsYes1-10 questions a buyer would ask, e.g. "What is the best tool to check pay transparency in job posts?"
providersNoWhich AI assistants to ask (default: the ones you supplied a key for).
maxCostUsdNoOptional hard cap in USD for this call. The underlying Actor stops when the cap is reached. Minimum 0.05 (the Apify per-run minimum). Default: a small amount computed from the number of URLs, never below 0.05.
brandDomainNoYour domain, e.g. getsteadfeed.com, to check whether AI answers cite your site.
competitorsNoUp to 10 competitor names.
openaiApiKeyNoYour OpenAI API key (optional if OPENAI_API_KEY is set where the server runs locally).
runsPerPromptNoAsk each question this many times (default 1).
perplexityApiKeyNoYour Perplexity API key (optional if PERPLEXITY_API_KEY is set where the server runs locally).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond readOnly/openWorld annotations, it discloses the cost model on both sides (provider billing at roughly $0.0002-0.002 per answer plus $0.01 per analysed answer on Apify) and a security-relevant trait: keys are passed as secret input and never returned. That is exactly the kind of behavior an agent cannot infer from annotations or schema.

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?

The capability statement is front-loaded in sentence one and the operational constraints follow in a logical order: cost, keyless fallback, key handling. Dense but no filler; the parenthetical pricing figures are the only slightly heavy element.

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?

For a 10-parameter, no-output-schema tool with real cost and credential implications, the definition covers prerequisites, cost, safety of secrets, and a free preview mode. What is missing is only secondary: expected runtime and any rate/concurrency limits for a tool that makes multiple external model calls.

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 coverage is 100%, so every parameter is already documented, including dryRun, providers, maxCostUsd and the key fields. The description adds only marginal semantics on top (dryRun is free and keyless, providers indicates which assistants are queried), leaving it at the baseline for a fully documented schema.

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?

"Ask ChatGPT and/or Perplexity the questions your buyers ask and measure how often your brand is named, its rank against competitors, which sites are cited and the tone" gives a specific verb and a precisely enumerated set of outputs. An agent knows exactly what the tool produces 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?

It states the hard prerequisite (your own OpenAI and/or Perplexity API key) and an explicit fallback path: "Without keys, use dryRun to see the format for free." That is actionable routing guidance, but it never names or distinguishes itself from the sibling ai_visibility_report, so the alternative-selection layer is inferred rather than stated.

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