Skip to main content
Glama

GSCPAP - Google Search Console, GA4, Bing Webmaster Tools & PageSpeed MCP

Queries for one page

get_search_by_page_query
Read-only

Queries that drove traffic to a specific page.

Dates are YYYY-MM-DD, default 28 days ago to 3 days ago. days is the last N days ending on end_date, used instead of start_date.

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

Input Schema

NameRequiredDescriptionDefault
daysNo
intentNoOptional: the user's goal in a few words. No site names or URLs.
end_dateNo
page_urlYes
site_urlYes
row_limitNo
start_dateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Optional: the user's goal in a few words. No site names or URLs.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / days
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the useful detail of the default window (28 days ago to 3 days ago), which hints at Search Console data lag, but says nothing about result caps, pagination, or error conditions.

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 short sentences with the core purpose front-loaded and the date-window rules immediately after. No filler, and the default range is stated before the override rule so the reader hits the important constraint early.

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?

An output schema exists, so return-value explanation is unnecessary, and the date semantics are handled. However, for a 7-parameter tool with very low schema coverage, the description omits URL format expectations, row_limit/pagination behavior, and what happens if both days and start_date are supplied.

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 only 14% across 7 parameters, so the description carries real weight. It resolves the main ambiguity by stating that `days` is used instead of `start_date`, and it fixes the date format as YYYY-MM-DD. It leaves site_url/page_url format and row_limit behavior unexplained, but it adds genuine meaning beyond the schema.

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+resource: queries that drove traffic to a given page/page_url. It is clear what data is returned, but it never names or contrasts with the sibling 'search_analytics_query', so an agent must infer the page-scoped vs site-scoped distinction.

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 description offers no explicit when-to-use or when-not-to-use guidance and does not point to any alternative for site-wide query analysis. Usage is only implied by the phrase 'to a specific page', leaving the agent to guess at routing.

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.