Skip to main content
Glama

Get Google Search Console Queries

get_gsc_queries
Read-onlyIdempotent

Retrieve synced Google Search Console query data with clicks, impressions, CTR, and position joined to PrismUV UV and conversion metrics for organic query analysis.

Instructions

Retrieve synced Google Search Console queries (clicks, impressions, CTR, avg position, quick-win flags) joined with PrismUV clean UV and conversions. Use for real Google organic query analysis; for keyword SERP audits, use list_keywords. Read-only via read token; returns empty if GSC is unconnected.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum synced Search Console query rows to return (default 100).
site_idYesPrismUV site slug identifier (e.g. "prismuv-abc123") returned by list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.1.1
    • addedInput schema / properties / limit / default
      Added value: +100
    • addedInput schema / properties / limit / description
      Added value: +"Maximum synced Search Console query rows to return (default 100)."
    • addedInput schema / properties / limit / maximum
      Added value: +500
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / site_id / description
      Added value: +"PrismUV site slug identifier (e.g. \"prismuv-abc123\") returned by list_sites."
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's job is to add context — which it does by disclosing the read-token auth requirement and the important edge case that results are empty when GSC is not connected. The join semantics with clean UV and conversions also add behavioral context not present in structured fields.

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

Conciseness5/5

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

Three tight sentences with zero filler, and the most decision-relevant information (what it returns, when to use it, the sibling alternative) is front-loaded. Nothing is repeated from the schema or annotations.

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, the description compensates by listing the returned metrics and the join, and it flags the unconnected-GSC empty result. It leaves some minor ambiguity, such as whether any implicit time window applies, but it is complete enough to call the tool correctly.

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%, so both parameters (site_id, limit) are already fully documented in the schema, including the site slug origin from list_sites and the limit bounds. The description adds no syntax or meaning beyond that, so the baseline 3 applies.

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 (Retrieve) and a precise resource (synced Google Search Console queries), then enumerates the returned metrics (clicks, impressions, CTR, avg position, quick-win flags) and the join with PrismUV clean UV and conversions. It also explicitly distinguishes itself from list_keywords, so an agent can separate it from siblings without opening a schema.

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

Usage Guidelines4/5

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

Gives a clear when-to-use clause ("real Google organic query analysis") and names the alternative for a different need ("for keyword SERP audits, use list_keywords"). It does not state an explicit when-not condition beyond that single alternative, but the routing guidance is concrete and sufficient for selection.

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