Skip to main content
Glama

AEO Goal

get_keyword_rankings

Read-onlyIdempotent

Get the current SERP keyword ranking positions for a brand. Returns the latest snapshot per tracked keyword: position, URL, and SERP features. Requires TRADITIONAL_SEO_ENABLED or DataForSEO credentials.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_keyword_rankings"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLookback window in days (informational). Default 7.
limitNoMax keywords to return. Default 20.
brand_nameNoBrand to query. Defaults to the user's active brand.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered. The description adds real value by disclosing that only the latest snapshot per keyword is returned (explaining why the `days` window is informational) plus an auth/feature-flag requirement. It stops short of describing ordering, empty-result behavior, or pagination.

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?

Three short sentences: purpose first, return shape second, prerequisite last. Every sentence carries information an agent needs, with no filler or restatement of the title.

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 burden of describing return values (position, URL, SERP features). It also flags the credential requirement. Only minor gaps remain, such as result ordering and behavior when no keywords are tracked.

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 all three parameters are already documented, including defaults and ranges. The description adds only a marginal gloss on brand scoping and confirms snapshot semantics for `days`; it provides no syntax or format detail beyond the schema, so the 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?

States a specific verb and resource: 'Get the current SERP keyword ranking positions for a brand', and names the returned fields. It is distinguishable from nearby read tools such as get_citation_rank or get_share_of_mind, though it never explicitly contrasts with them.

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?

The prerequisite ('Requires TRADITIONAL_SEO_ENABLED or DataForSEO credentials') and the phrase 'per tracked keyword' imply that keywords must already be tracked, which is useful context. There is no explicit when-to-use versus when-not guidance, and no pointer to a sibling such as add_tracked_keywords for expanding the keyword set.

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