Skip to main content
Glama
Google Search Console MCP Server

Google Search Console MCP Server

Get queries for a page

get_queries_for_page
Read-only

Lists the search queries a page appears for in Google Search Console and returns page totals, so you can see which queries drive visibility for a specific URL.

Instructions

Lists the search queries a page shows up for, with the page's totals.

Args: site_url: The property, exactly as list_sites returns it. page_url: Full URL of the page. A path such as '/products/x' works for URL-prefix properties. start_date: YYYY-MM-DD, 'today', 'yesterday' or 'NdaysAgo'. end_date: Same formats. Default '3daysAgo'. match: 'exact' (default) or 'contains' (e.g. every URL with '/blogs/'). search_type: 'web' (default), 'image', 'video' or 'news'. row_limit: Queries to return, up to 25,000. Default 100.

The page totals include anonymised queries, so they're usually higher than the sum of the query rows.

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_url": "<site_url>",
      "page_url": "<page_url>"
    },
    "name": "get_queries_for_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
matchNoexact
end_dateNo3daysAgo
page_urlYes
site_urlYes
row_limitNo
start_dateNo30daysAgo
search_typeNoweb

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the description's job is to add operational context — and it does with a genuinely useful caveat: totals include anonymised queries and are usually higher than the sum of returned rows. It also discloses the row_limit ceiling of 25,000, which the schema does not. It does not describe pagination behavior or result ordering.

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?

The one-line summary is front-loaded and the Args block is dense but necessary given the empty schema descriptions. Minor waste: start_date's default (30daysAgo in the schema) is omitted while end_date's is given, so the list is slightly asymmetric rather than uniformly complete.

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?

For a 7-parameter read tool with no output schema, the definition covers inputs thoroughly and adds the one output caveat that matters (anonymised queries inflating totals). It stops short of describing the shape of a query row (metrics returned per query), which an agent would need to interpret results.

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

Parameters5/5

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

Schema description coverage is 0% and there are no declared enums, so the description carries the full burden — and it delivers: every one of the 7 parameters gets format, accepted values, and defaults (date formats including 'NdaysAgo', match='exact'/'contains', search_type enum, row_limit cap). The '/products/x' path note for URL-prefix properties is meaning the schema cannot convey.

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: 'Lists the search queries a page shows up for, with the page's totals.' The direction of the relationship (page → queries) is clear, which implicitly separates it from the inverse-looking sibling get_pages_for_query. It does not explicitly name or contrast with any sibling, so it falls short of a 5.

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?

Usage is implied rather than stated: you call it when you want queries for a known page. The site_url note ('exactly as list_sites returns it') gives a useful chaining hint to a sibling, but there is no explicit when-to-use/when-not guidance and no mention of query_search_analytics as the broader alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.