Skip to main content
Glama

Keyword difficulty

dataforseo_keyword_difficulty
Read-only

Use this when the user asks how hard it would be to rank for some keywords. Returns a difficulty score from 0 to 100 for each keyword. Use it with dataforseo_keyword_volume to find demand that is actually winnable. Runs on SingleBrain's account: from 19 credits a call.

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

Input Schema

NameRequiredDescriptionDefault
keywordsYes1 to 1000 keywords
languageNoLanguage name, defaults to English
locationNoCountry or city name, defaults to United States

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, destructiveHint=false) and scope (openWorldHint=true), so the description need not restate them. It adds genuinely new operational context: a per-call cost ('from 19 credits a call') charged to SingleBrain's account, which matters for batching decisions given up to 1000 keywords per call. It does not explain the score's inputs or what idempotentHint=false means in practice.

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 short sentences, purpose front-loaded, then output shape, then the pairing suggestion, then the cost. Nothing repeats the name or title, and every sentence carries information an agent would use.

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 correctly carries the return-value burden ('difficulty score from 0 to 100 for each keyword'), and it discloses billing. It stops short of explaining how to interpret the scale or whether results align one-to-one with the input keyword array, which would fully close the gap for a no-output-schema tool.

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, and location are already documented in the schema with defaults. The description adds no extra meaning about parameter interplay (e.g., whether location/language change the score baseline), 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 states a specific analytical operation ('how hard it would be to rank') plus the return shape ('a difficulty score from 0 to 100 for each keyword'). An agent can distinguish this from sibling dataforseo_keyword_volume by the score-versus-demand framing, not just the name.

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?

It gives a concrete trigger ('when the user asks how hard it would be to rank for some keywords') and a companion pattern ('use it with dataforseo_keyword_volume to find demand that is actually winnable'). It does not state when to skip this tool or what alternative to use if a different difficulty metric is wanted, so it falls short of full when/when-not coverage.

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.