#361·open-seo

get_ranked_keywords text output omits the intent and traffic its description promises

Author: leebaroneauCreated Sep 23, 2026Updated Sep 23, 2026

The get_ranked_keywords MCP tool description says it returns "keyword, URL, rank, search volume, CPC, intent, and traffic rows" (dataforseo-research-tools.ts#L786). The text output has no intent or traffic column, though.

The text table is built from toRankedKeywordRow (L624) and RANKED_KEYWORD_COLUMNS (L640), and those only map keyword, rank, volume, CPC and url.

The data is there. structuredContent.keywords returns the raw DataForSEO Labs items, and dataforseo-client types them with:

  • keyword_data.search_intent_info.main_intent, plus foreign_intent[]
  • ranked_serp_element.serp_item.etv (BaseDataforseoLabsApiElementItem.etv)

So an MCP client that only reads the text content never sees intent or traffic, but the call still charges credits for it.

Suggested fix: add intent and traffic to RankedKeywordRow, the mapper and the columns. get_keyword_metrics already does this for intent with readPath(row, "main_intent") (L778), and SERP_COMPETITOR_COLUMNS already prints etv (L769). If the text is meant to stay compact, the other option is to narrow the description so it matches what the text contains.

Versions: first seen on v0.1.4. Still present on main at 0ffff93.

Context: we want to check whether each ranking URL's page type matches the query's intent: products should be transactional, collections commercial, pages navigational and blog posts informational. Intent per ranking URL is the one field that check needs.