Skip to main content
Glama

Find SERP competitors

find_serp_competitors
Read-onlyIdempotent

Compares domains competing in Google results for a supplied keyword set in a country-level market. Accepts location/language codes; not radius-based local SEO. Charges credits.

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": {
      "projectId": "<projectId>",
      "keywords": "<keywords>"
    },
    "name": "find_serp_competitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum competitors to return (1-100). Defaults to 50.
marketNoLegacy US selector. Prefer locationCode/languageCode for any Labs market. Explicit locationCode takes precedence; otherwise omitted = the project's default market.
offsetNoRows to skip for pagination.
sortByNoSort order for returned competitors. Defaults to visibility.
keywordsYesKeywords whose SERPs are compared (1-100).
projectIdYesRequired. The NameIO project ID to scope this call to. Get one from list_projects.
resultTypesNoSERP result types to include. Defaults to organic and local_pack.
languageCodeNoLanguage for locationCode. Defaults to that location's primary language when locationCode overrides the project market.
locationCodeNoCountry-level location code. Defaults to the project's market; takes precedence over the legacy market object.
excludeDomainsNoDomains to exclude from results (e.g. the user's own site).
includeSubdomainsNoCount subdomains as part of the same competitor domain.

Output Schema

NameRequiredDescriptionDefault
metaNo
competitorsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so permissions and safety are covered. The description adds genuinely new context by disclosing that the call consumes credits, but says nothing about quota magnitude, result-set variability across runs, or latency despite the open-world flag.

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; the core comparison behavior is front-loaded and the scope and cost caveats follow. Nothing is repeated or wasted.

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 no explanation, and all 11 parameters are fully described in the schema. The description covers the key non-schema facts (scope limit, credit cost), leaving only minor gaps such as competitor ranking semantics.

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 every parameter including the nested market object, enums, and pagination bounds is already documented in structured form. The description only restates the country-level market scope and the location/language code inputs, adding no syntax or precedence detail beyond the schema.

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 specific verb and resource: 'Compares domains competing in Google results' for a 'supplied keyword set in a country-level market.' This clearly distinguishes the competitor-comparison tool from a raw-results tool like get_serp_results, though it does not explicitly name a sibling to contrast with.

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?

It supplies an explicit exclusion ('not radius-based local SEO') and a cost caveat ('Charges credits'), which helps an agent decide before spending. However, it never names which alternative to use for local/radius searches or how this differs from get_serp_results, so routing still requires inference.

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