Skip to main content
Glama

Enrich Keywords With SERP Data

enrich_keywords_serp

Fetch DataForSEO volume and CPC plus live Serper Google rankings, competing domains, and People Also Ask data for tracked keywords to support SERP intelligence.

Instructions

Fetch DataForSEO volume/CPC and live Serper Google rank, competing domains, and People Also Ask questions for tracked keywords. Use for SERP intelligence on existing keywords; to discover unadded ranked terms, use pull_ranked_keywords. Requires a write token and consumes DataForSEO/Serper quota.

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": {
      "site_id": "<site_id>"
    },
    "name": "enrich_keywords_serp"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum tracked keywords to probe via live SERP check (default 10).
countryNoISO 3166-1 alpha-2 country code for SERP ranking locale (default "US").US
site_idYesPrismUV site slug identifier (e.g. "prismuv-abc123") returned by list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.1.1
    • addedInput schema / properties / country / default
      Added value: +"US"
    • changedInput schema / properties / country / description
      Previous value: -"ISO country code e.g. US (default US)"New value: +"ISO 3166-1 alpha-2 country code for SERP ranking locale (default \"US\")."
    • addedInput schema / properties / limit / default
      Added value: +10
    • changedInput schema / properties / limit / description
      Previous value: -"Max keywords for live SERP check (default 10)"New value: +"Maximum tracked keywords to probe via live SERP check (default 10)."
    • addedInput schema / properties / limit / maximum
      Added value: +50
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / site_id / description
      Added value: +"PrismUV site slug identifier (e.g. \"prismuv-abc123\") returned by list_sites."
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations, it discloses two things the agent cannot see in structured fields: a write token is required, and the call burns DataForSEO/Serper quota, which matters for a live external probe. It does not clarify what state gets persisted on the keyword records, which is a meaningful gap given readOnlyHint=false and idempotentHint=false.

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?

Two sentences, zero filler, with the capability front-loaded and the sibling routing immediately after. Slightly dense phrasing ('DataForSEO volume/CPC and live Serper Google rank') but every clause carries information.

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 usefully lists what data comes back (volume/CPC, rank, competing domains, PAA). The remaining ambiguity is whether results are written back to the tracked keywords and whether existing values are overwritten, which a mutation-flagged tool should state.

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 coverage is 100%, so limit, country, and site_id are already fully documented in the schema. The description adds no parameter-level meaning such as default behavior, cost implications of raising limit, or country fallback, so the baseline 3 applies.

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 names a specific verb (fetch/enrich) and precisely enumerates the resources retrieved: DataForSEO volume/CPC, live Serper Google rank, competing domains, and People Also Ask questions. It explicitly scopes the tool to tracked keywords, which cleanly separates it from pull_ranked_keywords.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit when-to-use ('SERP intelligence on existing keywords') and names the alternative plus the condition that selects it ('to discover unadded ranked terms, use pull_ranked_keywords'). The agent does not need to infer routing.

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