Skip to main content
Glama

Get keywords

get_keywords
Read-onlyIdempotent

List Search Console queries for a website over the last 28 days with clicks, impressions, CTR and average position, plus the tracked keywords with their confirmed ranking (drops need two consecutive measurements within 3 days, rises count immediately), measured_position (latest raw measurement), unconfirmed, ads_count, own_ad_position, advertisers (domain, ad position and page_position = element number on the results page, max 5), shopping (present, own_listed, items_count), top_bid_usd (low/high top-of-page bid range), mobile_position and mobile_date (weekly mobile position), intent, competition_strength (median authority of the top 10), plus opportunities (content gap keywords from competitors). warnings: 'rankings_unavailable' when the ranking positions could not be read (position fields empty), 'ads_unavailable' when the ad data could not be read (ads_count 0, own_ad_position null, advertisers empty, shopping not present); the rest is returned.

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": {
      "site_id": "<site_id>"
    },
    "name": "get_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of queries (default 50).
site_idYesThe site id, as returned by list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the bar is lower, yet the description adds real operational context: the 28-day window is fixed, rankings require two consecutive measurements within 3 days to register a drop while rises count immediately, advertisers are capped at 5, and two warning states ('rankings_unavailable', 'ads_unavailable') are documented with the exact empty/null field values that signal them. That is substantive behavior an agent cannot get from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the opening clause, but everything after it is a single sprawling run-on sentence enumerating dozens of fields with parenthetical definitions. The content largely earns its place because there is no output schema, but the lack of structure makes it hard to scan and easy to misparse.

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 and a rich return payload, the description carries the return-value burden and does so thoroughly, covering ranking confirmation semantics, ad/shopping fields, bid ranges, mobile positions, intent, competition strength, opportunities, and degraded-data warnings. The main omissions are the parameter-level behavior of limit and any pagination/volume expectations.

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% (both site_id and limit are documented in-schema, including the default of 50 and max of 200), so the schema does the heavy lifting. The description adds nothing about parameters — notably it never mentions that limit controls the query count — 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?

It names a specific verb and resource — 'List Search Console queries for a website over the last 28 days' — and enumerates the returned metrics (clicks, impressions, CTR, average position) plus tracked keyword ranking data. An agent knows exactly what data it retrieves, but the description never names a sibling (e.g., add_keywords or get_site_metrics) to route between, so sibling differentiation is only implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, no prerequisites, and no alternative named. The 28-day window is stated as a fact of the tool but the agent must infer from the field list alone whether this or a sibling like get_pages or get_competitors is the right call.

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