Skip to main content
Glama

Seo Ai Visibility

Seo Llm Answer

seo_llm_answer
Read-onlyIdempotent

Does <brand> appear in ChatGPT's answer for <question> — runs a prompt through an LLM and returns its answer plus any cited sources/links, for AI-visibility (GEO) analysis: see what an LLM says about a brand, topic, or query and which sources it cites. Example: seo_llm_answer({ user_prompt: "What are the best running shoe brands?", model_name: "gpt-4.1-mini" })

Input Schema

NameRequiredDescriptionDefault
_apiKeyYesDataForSEO API key = base64("login:password") from your dataforseo.com account
model_nameNoLLM model to query (default "gpt-4.1-mini"; DataForSEO retired "gpt-4o" and rejects it with 40501 Invalid Field)
user_promptYesThe prompt/question to ask the LLM, e.g. "What are the best running shoe brands?"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "model_name": "gpt-4o",
      -    "user_prompt": "What are the best running shoe brands?"
      -  },
      -  {
      -    "user_prompt": "Does Nike make sustainable athletic wear?"
      -  }
      -]New value: +[
      +  {
      +    "model_name": "gpt-4.1-mini",
      +    "user_prompt": "What are the best running shoe brands?"
      +  },
      +  {
      +    "user_prompt": "Does Nike make sustainable athletic wear?"
      +  }
      +]
    • changedInput schema / properties / model_name / description
      Previous value: -"LLM model to query (default \"gpt-4o\")"New value: +"LLM model to query (default \"gpt-4.1-mini\"; DataForSEO retired \"gpt-4o\" and rejects it with 40501 Invalid Field)"
  2. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-seo-ai-visibility-api-key",
      -    "model_name": "gpt-4o",
      -    "user_prompt": "What are the best running shoe brands?"
      -  },
      -  {
      -    "_apiKey": "your-seo-ai-visibility-api-key",
      -    "user_prompt": "Does Nike make sustainable athletic wear?"
      -  }
      -]New value: +[
      +  {
      +    "model_name": "gpt-4o",
      +    "user_prompt": "What are the best running shoe brands?"
      +  },
      +  {
      +    "user_prompt": "Does Nike make sustainable athletic wear?"
      +  }
      +]
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-seo-ai-visibility-api-key",
      +    "model_name": "gpt-4o",
      +    "user_prompt": "What are the best running shoe brands?"
      +  },
      +  {
      +    "_apiKey": "your-seo-ai-visibility-api-key",
      +    "user_prompt": "Does Nike make sustainable athletic wear?"
      +  }
      +]
  4. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive, so safety is covered. The description adds real value beyond them by stating that the response includes both the LLM answer and any cited sources/links — important since there is no output schema. It omits cost/latency characteristics and whether a call is billed, which would complete the picture.

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 core capability is front-loaded before the GEO rationale and the example. The em-dash construction in the first clause is slightly convoluted, but every element — capability, purpose, example — earns its place with no padding.

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 correctly compensates by explaining that the return includes the answer text and cited sources. Combined with a 100%-covered schema and full annotations, the agent has enough to call it correctly; only billing/latency and sibling routing are missing.

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 both user_prompt and model_name are already fully documented in the schema, including the retired-model warning. The description's example merely restates those parameters with a sample value rather than adding format or constraint detail, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb+resource: it runs a prompt through an LLM and returns the answer plus cited sources/links. The GEO/AI-visibility framing makes the intent unambiguous. It does not, however, distinguish itself from close siblings like ai_visibility_check or scan_competitor_ai_presence, which appear to overlap.

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?

Usage is implied through the 'see what an LLM says about a brand, topic, or query' phrasing and a worked example, which conveys the intended context. There is no explicit statement of when not to use it, nor any pointer to the competing ai_visibility_check or scan_competitor_ai_presence tools, leaving the agent to guess among siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.