Skip to main content
Glama

AEO Goal

compare_vs_competitor

Read-onlyIdempotent

Compare a brand's organic traffic and keyword footprint against a competitor domain. Returns competitor traffic estimate, keyword count, and shared/exclusive keyword buckets. Requires TRADITIONAL_SEO_ENABLED or DataForSEO credentials.

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": {
      "competitor_domain": "<competitor_domain>"
    },
    "name": "compare_vs_competitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLookback window in days (informational). Default 30.
brand_nameNoBrand to compare. Defaults to the user's active brand.
competitor_domainYesCompetitor domain to compare against, e.g. 'competitor.com'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so safety is covered. The description adds genuine context beyond them: the credential/feature-flag prerequisite and the shape of what comes back (traffic estimate, keyword count, shared/exclusive buckets), which is valuable since no output schema exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with zero padding: purpose first, outputs second, prerequisite last. Every sentence carries information an agent can act on.

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 read-only comparison tool with a fully documented schema and no output schema, the description covers purpose, return fields, and the credential requirement. It stops short of noting behavior when competitor data is unavailable or how shared/exclusive buckets are computed, but nothing critical to invoking it correctly is 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 all three parameters are already documented with defaults and formats. The description only reiterates that a brand is compared and which domain is the target, adding no new semantics such as how the lookback window affects results.

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?

States a specific verb and resource: comparing a brand's organic traffic and keyword footprint against a competitor domain, and names the returned metrics. It is clear what the tool does, though it does not explicitly distinguish itself from nearby siblings such as get_competitor_citation_gaps or get_share_of_mind.

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 by the verb 'compare' and the credential prerequisite ('Requires TRADITIONAL_SEO_ENABLED or DataForSEO credentials'), which tells an agent when the call will fail. There is no explicit when-to-use guidance, no exclusion of alternative competitor tools, and no note on fallback behavior if credentials are absent.

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