Skip to main content
Glama

keyword_ideas

Idempotent

Up to 25 keyword suggestions containing the words of one seed phrase, with search volume, CPC and competition (DataForSEO Labs Keyword Suggestions). Use it to find new phrases around one seed; use keyword_metrics for exact volumes of keywords you already have and keyword_difficulty for ranking difficulty. Returns: JSON with seed_keywords, total_available, ideas. PAID: 0.025 USDC per call (USDC on eip155:8453, x402 v2). Requires an x402-capable MCP client that attaches the payment in _meta["x402/payment"] (e.g. createx402MCPClient from @x402/mcp). Without a payment this tool returns a "payment required" result and charges nothing.

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

Input Schema

NameRequiredDescriptionDefault
keywordsYesKeywords to look up: 1 to 1 entries, each up to 80 characters / 10 words. Lowercased, duplicates removed.
language_codeNoLanguage code such as en or de. Default: English if available for the country, else its first language. Unsupported country/language pairs are refused before payment.
location_codeNoDataForSEO location code. Country level: 2840 = United States (default), 2276 = Germany, 2040 = Austria, 2756 = Switzerland. Google SERP, Maps, News, Images and Local Market Check also accept city/region codes in Germany, Austria and Switzerland (free lookup: GET /api/v1/locations?q=...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / location_code / description
      Previous value: -"DataForSEO country code. 2840 = United States (default), 2276 = Germany, 2826 = United Kingdom. Country-level codes only."New value: +"DataForSEO location code. Country level: 2840 = United States (default), 2276 = Germany, 2040 = Austria, 2756 = Switzerland. Google SERP, Maps, News, Images and Local Market Check also accept city/region codes in Germany, Austria and Switzerland (free lookup: GET /api/v1/locations?q=...)."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the paid-call economics: 0.025 USDC per call, the chain (eip155:8453), x402 v2, the _meta["x402/payment"] attachment mechanism, and the exact failure mode (returns "payment required", charges nothing). It also names the shape of the return payload, which matters greatly for a tool with no output schema. Nothing here contradicts readOnlyHint=false/openWorldHint=true — the paid external call is consistent with a non-read-only 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?

Four sentences, each doing distinct work: what it returns, when to use it vs. siblings, the return shape, and the payment contract. The capability and the alternatives are front-loaded, and the lengthier payment sentence is justified because an agent cannot invoke the tool successfully without it.

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?

With no output schema, the description compensates by naming the return fields (seed_keywords, total_available, ideas). All three parameters are covered by the schema, and the non-obvious operational blocker — payment attachment and the behavior when it is missing — is fully spelled out, so an agent has everything needed to call it correctly.

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 keywords, language_code, and location_code are already documented with formats, defaults, and even location-code examples. The description adds only the 'one seed phrase' framing plus the 25-result cap, which is at the baseline for a fully-described schema rather than a real semantic addition.

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?

States a specific verb+resource+scope: up to 25 keyword suggestions from one seed phrase, with the returned metrics named (search volume, CPC, competition) and the upstream source identified. It explicitly names the sibling tools it is not (keyword_metrics, keyword_difficulty), so an agent can distinguish it without opening any schema.

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?

Gives the positive selection criterion ("find new phrases around one seed") and then routes to the two alternatives with the condition that selects each: keyword_metrics for exact volumes of keywords already held, keyword_difficulty for ranking difficulty. This is explicit when/when-not/alternative guidance.

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