Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAX_DAILY_USDNoUSD ceiling per UTC day, persisted5.00
MAX_COST_PER_CALLNoUSD ceiling per tool invocation0.10
OPENROUTER_API_KEYNoRequired for OpenAI / Gemini / Claude via OpenRouter
PERPLEXITY_API_KEYNoRequired for Perplexity models in check_llm_mention
LLM_MAX_OUTPUT_TOKENSNoHard cap on output tokens per LLM call1024
AI_VISIBILITY_SPEND_FILENoOverride spend ledger location~/.cache/ai-visibility-mcp/spend.json

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_ai_bot_accessA

Check whether AI bots can read this site.

Fetches /robots.txt and the root URL. Reports per-bot allow/disallow plus Cloudflare AI-bot-default warning signals.

audit_ai_visibilityA

Composite AI-visibility audit for a domain.

Combines check_ai_bot_access with homepage scrape: meta robots tags (incl. noai/noimageai), JSON-LD structured data, sitemap.xml, llms.txt. Produces a 0-100 score with explainable reasons.

check_llm_mentionA

Check whether brand surfaces in LLM answers to query.

Fans out the same query to multiple LLMs (Perplexity sonar, OpenAI gpt-4o-mini, Gemini 2.0 Flash by default) and reports per-model mention + citations. Cost-capped via MAX_COST_PER_CALL env var.

compare_competitorsA

Side-by-side AI-visibility audit: your_domain vs competitors.

Runs audit_ai_visibility in parallel for all domains and returns a ranked comparison (score, blocked bots, JSON-LD presence, llms.txt, sitemap size, Cloudflare challenge state).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/krissanders/ai-visibility-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server