Skip to main content
Glama

Read queries by page

read_query_evidence
Read-onlyIdempotent

Read the Search Console queries that bring searchers to each site page, matched to pages CiteLadder crawled, for one saved window, the latest by default. Use it to see which queries a page ranks for, or which page answers a query; for totals and trends use read_performance, and for the search signals found in the same window use read_demand. A window you pass must exactly match a saved one: read_demand returns them. Any other window returns unavailable exact_query_evidence_window_not_projected, which is not zero. Each row is one query and page with its totals over the whole window, largest impressions first: the query, the page Search Console reported, the crawled page it was matched to (site_url_id), how the match was made (resolution_outcome), impressions, clicks, CTR (clicks divided by impressions), the impression-weighted average position and the number of days with data. Pass site_url_id to keep the queries of one page, and follow next_cursor until it is null before calling the list complete. granularity day returns the daily rows behind the totals instead, each with a citeladder:// id for fetch. Rows come in pages; pass next_cursor for more, with the same granularity and filters. Country, device and search type are not broken out.

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": {
      "project_id": "<project_id>"
    },
    "name": "read_query_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many rows to return; omit for the default page size.
queryNoOne search query, matched exactly ignoring case and spacing, not a search.
cursorNoThe next_cursor a previous page returned.
project_idYesA project id that list_projects returned.
window_endNoLast day of the same saved window, inclusive: read_demand's window.end.
granularityNowindow (the default) totals each query and page over the window; day lists the daily rows.window
site_url_idNoA page id (site_url_id) from read_site_pages or an earlier row; keep only its queries.
window_startNoFirst day of a saved window, inclusive: read_demand's window.start; omit both dates for the latest.
resolution_outcomeNoKeep only queries whose page match was exact, resolved (for example through a redirect or canonical), ambiguous or unresolved. All filters combine.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / granularity
      Added value: +{
      +  "default": "window",
      +  "description": "window (the default) totals each query and page over the window; day lists the daily rows.",
      +  "enum": [
      +    "window",
      +    "day"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / window_start / description
      Previous value: -"First day of a saved window, inclusive: read_demand's window.start."New value: +"First day of a saved window, inclusive: read_demand's window.start; omit both dates for the latest."
    • changedInput schema / required
      Previous value: -[
      -  "project_id",
      -  "window_start",
      -  "window_end"
      -]New value: +[
      +  "project_id"
      +]
  2. Changed10 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"How many rows to return; omit for the default page size."
    • addedInput schema / properties / project_id / description
      Added value: +"A project id that list_projects returned."
    • addedInput schema / properties / query / description
      Added value: +"One search query, matched exactly ignoring case and spacing, not a search."
    • changedInput schema / properties / query / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • addedInput schema / properties / resolution_outcome / description
      Added value: +"Keep only queries whose page match was exact, resolved (for example through a redirect or canonical), ambiguous or unresolved. All filters combine."
    • addedInput schema / properties / resolution_outcome / enum
      Added value: +[
      +  "exact",
      +  "resolved",
      +  "ambiguous",
      +  "unresolved"
      +]
    • changedInput schema / properties / resolution_outcome / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • addedInput schema / properties / site_url_id / description
      Added value: +"A page id (site_url_id) from read_site_pages or an earlier row; keep only its queries."
    • addedInput schema / properties / window_end / description
      Added value: +"Last day of the same saved window, inclusive: read_demand's window.end."
    • addedInput schema / properties / window_start / description
      Added value: +"First day of a saved window, inclusive: read_demand's window.start."
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered; the description adds genuinely new behavior: a non-matching window returns 'unavailable exact_query_evidence_window_not_projected', explicitly 'which is not zero'. It also discloses row ordering (largest impressions first), the enumerated row fields, pagination termination via next_cursor, and the limitation that country/device/search type are not broken out.

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?

Front-loaded with purpose, then alternatives, then the window constraint, then row shape — a sensible order with dense, information-bearing sentences. Minor redundancy: pagination is explained twice ('follow next_cursor until it is null' and 'Rows come in pages; pass next_cursor for more'), costing a little tightness.

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 nine parameters and no output schema, the description carries the return-shape burden itself, enumerating each row field (query, page, site_url_id, resolution_outcome, impressions, clicks, CTR, weighted position, days with data) and explaining the day-granularity variant. Combined with the error-code and limitation disclosures, an agent has everything needed to call and interpret it.

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 meaning beyond it: site_url_id scopes to one page's queries, cursor must be followed until null, granularity 'day' returns per-day rows with a citeladder:// id for fetch, and the window dates must match a saved window exactly. It does not clarify the query/limit interplay, but the value-add is real.

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?

States a specific verb and resource: reads Search Console queries joined to crawled pages for one saved window, latest by default. It also contrasts itself with read_performance (totals/trends) and read_demand (search signals), so an agent can distinguish it from siblings without opening another 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?

Gives two concrete use cases ('which queries a page ranks for, or which page answers a query') and names the alternatives to use instead for totals/trends and demand signals. It also states the precondition that a passed window must exactly match a saved one, and names read_demand as the source of valid windows.

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