Skip to main content
Glama

research_keywords

Read-onlyIdempotent

Research one or more keywords to retrieve search volume, difficulty, CPC, competition, 12-month trends, SERP features, and optional related keyword suggestions.

Instructions

Research one or more keywords using the DataForSEO API. Returns search volume, keyword difficulty, CPC, competition level, 12-month trend data, and SERP features for each keyword. Optionally includes related keyword suggestions. Requires DATAFORSEO_LOGIN and DATAFORSEO_PASSWORD environment variables.

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": "research_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of related keywords to return per input keyword. Defaults to 10.
keywordsYesArray of keywords to research (max 100).
languageNoLanguage code (e.g. "en", "es", "de"). Defaults to "en".en
locationNoLocation name for localized results (e.g. "United States", "London,England"). Defaults to "United States".United States
includeRelatedNoWhen true, also return related keyword suggestions for each input keyword.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and open-world behavior, so the safety bar is covered. The description adds genuinely useful context beyond them: it is an external DataForSEO API call requiring DATAFORSEO_LOGIN and DATAFORSEO_PASSWORD, and it discloses the full set of returned metrics. It does not mention quotas, rate limits, or latency for the external call.

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?

Four short sentences, front-loaded with purpose, then return values, then the optional flag, then the credential requirement. Nothing is redundant, though "using the DataForSEO API" is the least load-bearing phrase.

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 carries the burden of describing return values and does so explicitly. It also flags the required environment credentials, which is critical for first-call success. Minor gaps remain around error behavior and response shape for batched keywords.

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 five parameters (keywords, limit, language, location, includeRelated) are already documented in the schema. The description only reinforces includeRelated via "Optionally includes related keyword suggestions" and adds no format or syntax detail beyond the schema, so baseline 3 applies.

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 uses a specific verb ("Research") plus an explicit resource ("one or more keywords") and enumerates exactly what is returned: search volume, difficulty, CPC, competition, 12-month trend, and SERP features. It does not name a sibling tool to distinguish itself from (e.g., analyze_serp or analyze_backlinks), which keeps it at 4 rather than 5.

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 described output (SEO metrics per keyword), so an agent can infer this is for keyword-level research rather than page or link analysis. However, there is no explicit when-to-use/when-not-to-use guidance and no stated alternative for keyword research versus SERP analysis.

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