Skip to main content
Glama

Search Console keywords

get_search_keywords
Read-onlyIdempotent

Google Search Console queries and pages with clicks, impressions, CTR and position (when Search Console is connected).

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_search_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD (inclusive).
fromNoFirst day, YYYY-MM-DD (inclusive). Use with to.
fieldsNoOptional: only these parts of the answer, as comma-separated dot paths (e.g. overview.current,series.date,series.visitors). Through a list a path applies to every item; period is always kept. An unknown top-level name fails with the list of valid ones. Leave out for the full answer.
periodNoPreset period, default 30d. today/yesterday/wtd/mtd follow the timezone. Ignored when from and to are set.
compareNoWhat change figures compare against: previous (default, the equal-length window right before), weekdays (the same length, starting whole weeks earlier on the same weekday, so Mondays compare with Mondays), year (same period last year), or a YYYY-MM-DD start (window keeps the period's length). Ignored for period all.
timezoneNoIANA time zone for day boundaries and grouping, e.g. Europe/Madrid. Default UTC.
website_idNoWebsite ID from list_websites (the data-site-id value in the tracking script).

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 this a read-only, idempotent, closed-world operation, so the safety profile is covered. The description adds the meaningful prerequisite that results depend on Search Console being connected, and — with no output schema — enumerates the returned metrics. It omits row limits, sorting, and aggregation granularity, which keeps it below a 5.

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?

A single front-loaded sentence covering source, resource, and metrics with no redundant wording. The trailing parenthetical condition would read better leading the sentence, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter, all-optional analytics query tool with a fully documented schema but no output schema, the definition covers the data source and returned metrics but leaves an agent guessing about result volume, ordering, and whether query/page are separate dimensions. Routing to sibling traffic tools is entirely absent.

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%, with from/to, period, compare, timezone, fields, and website_id each documented in detail, so the schema carries the parameter burden. The description adds no parameter-level meaning beyond that, which is the baseline case of 3.

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?

The description names the concrete resource (Google Search Console queries and pages) and the metrics returned (clicks, impressions, CTR, position), which is a specific verb-plus-resource statement. It does not explicitly differentiate itself from siblings such as get_traffic or get_breakdown, and it leaves ambiguous whether queries and pages come back in one response or are two views.

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?

The only conditional guidance is the parenthetical 'when Search Console is connected,' which is a prerequisite rather than routing advice. Nothing says when to choose this over get_traffic, get_breakdown, or search_visitors, and there is no stated exclusion or fallback behavior when the connection is absent.

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