Skip to main content
Glama

SERP & Competitors

serp_competitors
Read-onlyIdempotent

The live search results landscape: SERP features for a keyword, a domain's rankings and visibility, its competitors and top pages. Use for who ranks and why. Scoped to the connected site; no domain parameter needed. Cost: bills AI credits per call (live vendor data at actual cost); reads of your own stored data elsewhere are free. Actions: features (which SERP features appear for a keyword; needs keywords); domain_rankings (top keywords a domain ranks for); domain_overview (organic visibility distribution); domain_competitors (domains ranking for similar keywords); top_pages (a domain's top pages by estimated organic traffic). Free plan: an answer that needs market data uses 1 free question (further lookups in the same turn are included; Search Console and site reads never use one). Each answer says how many free questions are left.

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": {
      "action": "<action>"
    },
    "name": "serp_competitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNomax results where applicable (top_pages 1-500, default 50).
actionYesWhich operation to run. Each action, and the parameters it needs, is listed in the tool description.
domainNodomain_rankings/domain_overview/domain_competitors/top_pages: the domain. Omit for the connected workspace's own site (the server fills it in); pass only for a competitor.
intentNoOptional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details.
keywordsNofeatures only: the keyword(s) to inspect.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run. features (which SERP features appear for a keyword); domain_rankings (top keywords a domain ranks for); domain_overview (organic visibility distribution); domain_competitors (domains ranking for similar keywords); top_pages (a domain's top pages by estimated organic traffic)."New value: +"Which operation to run. Each action, and the parameters it needs, is listed in the tool description."
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Optional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Which operation to run. features (which SERP features appear for a keyword); domain_rankings (top keywords a domain ranks for); domain_overview (organic visibility distribution); domain_competitors (domains ranking for similar keywords)."New value: +"Which operation to run. features (which SERP features appear for a keyword); domain_rankings (top keywords a domain ranks for); domain_overview (organic visibility distribution); domain_competitors (domains ranking for similar keywords); top_pages (a domain's top pages by estimated organic traffic)."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "features",
      -  "domain_rankings",
      -  "domain_overview",
      -  "domain_competitors"
      -]New value: +[
      +  "features",
      +  "domain_rankings",
      +  "domain_overview",
      +  "domain_competitors",
      +  "top_pages"
      +]
    • changedInput schema / properties / domain / description
      Previous value: -"domain_rankings/domain_overview/domain_competitors: the domain. Omit for the connected workspace's own site (the server fills it in); pass only for a competitor."New value: +"domain_rankings/domain_overview/domain_competitors/top_pages: the domain. Omit for the connected workspace's own site (the server fills it in); pass only for a competitor."
    • changedInput schema / properties / limit / description
      Previous value: -"max results where applicable."New value: +"max results where applicable (top_pages 1-500, default 50)."
  3. Changed1 schema field changed
    • removedInput schema / properties / user_intent
      Removed value: -{
      -  "description": "Optional: one short sentence describing what the user is ultimately trying to achieve with this request. Used by SEOmatic to tailor answers and improve the product; never required.",
      -  "maxLength": 300,
      -  "type": "string"
      -}
  4. Changed1 schema field changed
    • addedInput schema / properties / user_intent
      Added value: +{
      +  "description": "Optional: one short sentence describing what the user is ultimately trying to achieve with this request. Used by SEOmatic to tailor answers and improve the product; never required.",
      +  "maxLength": 300,
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "A JSON object whose fields depend on the chosen action. Non-JSON results arrive as { result: string }. The text content block always carries the same data serialized.",
      +  "type": "object"
      +}
  6. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, open-world, idempotent and non-destructive, and the description adds material context beyond them: per-call AI credit billing at live vendor cost, which reads are free (Search Console and site reads), and how the free-plan question allowance works. The server-side domain fill-in is also disclosed, which the agent could not infer.

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?

Front-loaded with purpose, then scoping, then cost, then the action list — a sensible order with no filler sentences. The free-plan explanation is somewhat long-winded and repeats the 'included in the same turn' idea, costing a point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, five-action tool with full schema coverage, an output schema, and rich annotations, the description covers what is left: action semantics, site scoping, and cost/free-tier behavior. Nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds the action-to-parameter mapping ('features ... needs keywords') that the schema only implies per-field. It also restates the omit-domain-for-own-site rule and limit behavior, which is useful even if partly duplicative.

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?

The description opens with a concrete verb-and-resource framing ('The live search results landscape') and enumerates every action (features, domain_rankings, domain_overview, domain_competitors, top_pages) with a one-line meaning for each. An agent can distinguish this from sibling tools like gsc_performance or keyword_research purely from the text.

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?

'Use for who ranks and why' plus 'Scoped to the connected site; no domain parameter needed' gives clear selection context and clarifies the default-site behavior. It maps each action to the parameters it needs, but never explicitly says when to prefer this over a sibling such as keyword_research or backlink_profile.

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.