Skip to main content
Glama

Get Competitor AI Detail

get_competitor_ai_detail
Read-onlyIdempotent

One tracked competitor against you in this week's AI answers, by engine (ChatGPT, Gemini, AI Overview, AI Mode, Claude, Perplexity; Claude and Perplexity are asked through their APIs with web search on, not the consumer apps): how often each is named and cited, the buyer questions where an AI named them and no AI named you (with the stored answers), and the sites AI cited for them in answers that cite none of your sites. Related: get_competitor_scorecard.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
competitorIdYesCompetitor id from list_competitors.
languageCodeNoLanguage code. Defaults to the priority market.
locationCodeNoDataForSEO location. Defaults to the priority market.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
detailYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely non-obvious data-provenance context: it enumerates the six engines and clarifies that Claude and Perplexity are queried through their APIs with web search, not the consumer apps, which affects how results should be interpreted. That is real disclosure beyond the structured fields.

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 (one competitor, this week's AI answers, by engine) is front-loaded and every clause maps to actual returned content. The heavy parenthetical engine list and the Claude/Perplexity caveat make it a dense single sentence, marginally harder to parse than ideal, but there is little outright waste.

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 an output schema present, return values need not be spelled out, yet the description still characterizes them; combined with full 100% schema coverage and complete annotations, an agent has enough to invoke it correctly. The main omission is the lack of any guidance on choosing this versus get_competitor_scorecard.

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 all three parameters (competitorId, languageCode, locationCode) are already documented in the schema, including defaults and the DataForSEO location type. The description adds no parameter-level syntax or format detail beyond that, so the baseline of 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 names a specific resource (one tracked competitor's AI-answer detail), scopes it ('this week's AI answers, by engine'), and enumerates the concrete data returned (named/cited frequency, buyer questions where only the rival was named, rival-cited sites). It is far more than a restatement of the title. However, it only nods at the sibling with 'Related: get_competitor_scorecard' and never says how the two differ, so it falls short of clean sibling differentiation.

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?

'One tracked competitor' implies the prerequisite that the competitor must be tracked (echoed by the schema's 'from list_competitors'), which is a usable hint. But there is no explicit when-to-use, when-not, or condition distinguishing it from get_competitor_scorecard; the 'Related:' pointer names an alternative without saying which to pick. Usage is only implied.

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.

Resources