Skip to main content
Glama

refresh_rankings

Check a client's keywords now instead of waiting for the weekly run: all of them, or only the ones named. It runs on the standard queue (results normally within the hour, at the weekly run's price per page) on the workspace's own DataForSEO account or, on a Rank Tracker budget, on CrunchJunkie's account, charged to the budget, so it costs money: the preview states how many searches it would make and the most they can cost. Requires write actions and "Allow actions that spend AI", and counts toward the 20 assistant-started scans, briefs and rankings refreshes per workspace per day. One run per client at a time. Without confirm:true it returns a preview; get_rankings returns the result afterwards (lastRun shows the progress).

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": {
      "clientId": "<clientId>"
    },
    "name": "refresh_rankings"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoSet true to start. Omit for a preview with the cost. With confirm:true, also pass the preview's previewToken.
clientIdYesClient id (from list_clients).
keywordIdsNoOnly these keywords (rows[].id from get_rankings). Omit for all active keywords.
previewTokenNoWith confirm:true: the previewToken from this tool's preview (valid 15 minutes, once, for exactly the previewed arguments).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes far beyond the annotations: it discloses that the call costs money, which account is charged (workspace DataForSEO vs. CrunchJunkie budget), expected latency (normally within the hour), the per-page price basis, required write and spend permissions, and a daily quota of 20 assistant-started scans. This is exactly the kind of cost, auth and rate-limit context annotations cannot express.

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?

Purpose is front-loaded and nearly every clause carries operational weight (cost, account, quota, preview flow). It is one dense run-on sentence, though, which makes the money and permission warnings harder to scan than separate sentences would.

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 still tells the agent what comes back (a preview with search count and maximum cost, then results via get_rankings with lastRun showing progress). For a paid, rate-limited, two-step mutation, nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds workflow meaning: the preview returns search counts and a maximum cost, confirm:true plus previewToken starts the run, and omitting keywordIds means all active keywords. This explains why the two-step pattern exists rather than just restating field definitions.

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?

Opens with a specific verb and resource ("Check a client's keywords now instead of waiting for the weekly run") and immediately scopes it (all keywords or only named ones). An agent can distinguish this from get_rankings and from the scheduled weekly run without opening the 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?

States exactly when to use it (need results before the weekly run), what it does not do ("get_rankings returns the result afterwards"), and the operational limit ("One run per client at a time"). The preview-then-confirm workflow is spelled out, so the agent knows the two-call sequence required.

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