Skip to main content
Glama

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

Query position trend

historical_position_trend
Read-only

Daily clicks/impressions/CTR/position for one query, over any date range.

Goes back to whenever your archive started (no 16-month limit). Returns one row per date, sorted oldest-to-newest. Useful for "show me how 'workshop' has been doing all year".

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>",
      "query": "<query>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "historical_position_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesExact query string. Case-insensitive partial match if you wrap with % (e.g., "%workshop%").
intentNoOptional: the user's goal in a few words. No site names or URLs.
end_dateYes
site_urlYesProperty URL.
start_dateYes

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. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, destructiveHint false), so the description's real contribution is behavioral: archive-depth retention beyond 16 months and one row per date sorted oldest-to-newest. That granularity and ordering detail is genuinely useful for planning, though it says nothing about rate limits or how deep the archive typically goes.

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?

Three short sentences, front-loaded with the metric list and scoping, followed by retention depth and a clarifying example. Mild redundancy between 'Daily' and 'one row per date', but nothing that wastes the agent's attention.

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?

An output schema exists, so return values needn't be described, and the description still adds row granularity and sort order. Date-format expectations and the purpose of the optional intent parameter remain unaddressed, which is the main residual gap for a 5-parameter tool.

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 coverage is 60%, with the query parameter (exact match, % wrapping for partial) and site_url already documented in the schema. The description reinforces 'one query' but adds no format or constraint detail for start_date/end_date, which are undocumented in the schema, and never mentions the optional intent parameter.

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 exact verb+resource: daily clicks/impressions/CTR/position for a single query over any date range. This is specific enough for an agent to know it's a per-query time series rather than a site-level report, though it never names a sibling (e.g. search_analytics_query or compare_periods) to draw the boundary explicitly.

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?

It supplies a concrete usage context ('show me how "workshop" has been doing all year') and signals the differentiator versus typical GSC tooling with 'no 16-month limit', which implies when to prefer this over shorter-window alternatives. It stops short of stating exclusions or naming an alternative to use for aggregate/multi-query needs.

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.