Skip to main content
Glama

Get Google Search performance

get_search_performance
Read-onlyIdempotent

Use this tool when the user asks how their landing page (ランディングページ, ホームページ, Webサイト) does in Google Search: clicks and impressions from Google, click-through rate, average position, or which search words people used to find it (「Google 検索で何回表示された?」「どんな言葉で検索されている?」「検索順位は?」).

Returns one page's Google Search at its Convika URL (its path on .convika.page), from Google Search Console, for 7d, 30d (default), or 90d; 180d, 365d, and all need Pro or MAX, as the other long periods do. Custom domains aren't covered yet.

  • totals and byDay: clicks, impressions, ctr (0 to 1), position (average, 1 is the top; 0 with no impressions).

  • byPath: the same per path of the page.

  • topQueries: the search words with the most clicks, then impressions, in the range. Google leaves out rare searches, so they add up to less than the totals.

  • startDate/endDate are Search Console days (Pacific time, dayTimeZone) and end on the latest day Google has reported; Google fills a day in over two or three, so the last days still grow. countsFrom is the first day counted for this page (the first whole day it had its URL). hasData false means Google showed the page in no search in the range yet, which is common for a new page. Read-only. Not a page view or a visitor in get_analytics_summary.

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": {
      "siteId": "<siteId>"
    },
    "name": "get_search_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoTime period. Defaults to 30d. 180d/365d/all require Pro or MAX plan.30d
siteIdYesThe ID of the page to read Google Search performance for

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedInput schema / properties / siteId / description
      Previous value: -"The ID of the site to read Google Search performance for"New value: +"The ID of the page to read Google Search performance for"
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive), the description discloses data provenance (Google Search Console), day bucketing in Pacific time, Google's two-to-three-day reporting fill-in that makes recent days grow, countsFrom semantics for a page's first full day, rare-query suppression that makes topQueries sum below totals, and hasData=false meaning. These are behavioral facts an agent cannot infer from annotations or schema.

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 the trigger and user phrasings, then organized into a return-shape breakdown that earns its space because no output schema exists. Some redundancy remains — "Read-only" repeats annotations and the Pro/MAX gating restates the schema's period description — and the bilingual parentheticals make it dense, but nothing is filler.

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 no output schema, the description carries the return-value burden itself: totals/byDay/byPath/topQueries are all defined with units (ctr 0–1, position 1 = top, 0 when no impressions) and edge cases (hasData false for new pages). Nothing needed to call or interpret the result is missing.

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 baseline is 3; the description adds meaning by framing siteId as a page's Convika URL path on <name>.convika.page, and by restating plan gating for 180d/365d/all in operational terms. It adds context but not much syntax the schema lacks.

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 — one page's Google Search clicks, impressions, CTR, position and top queries from Search Console — and explicitly distinguishes it from get_analytics_summary ("Not a page view or a visitor"). An agent can identify the tool's scope without opening the 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?

Opens with an explicit trigger ("Use this tool when the user asks how their landing page ... does in Google Search"), backed by example user phrasings in both English and Japanese. It also names a boundary case (not page views/visitors) and pre-empts prerequisite failures: long periods need Pro or MAX, custom domains aren't covered.

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.