Skip to main content
Glama

How the shop did in Google search

search_performance
Read-onlyIdempotent

The shop’s own results in Google search, from its Google Search Console: clicks, impressions, click-through rate and average position, grouped by one of search (query), page, country, device or day. For whole days; by default the last 28 days Google has settled figures for (the newest 3 days are not in yet). page and query narrow to rows containing those words. It needs the merchant to have connected the search data in the admin; when it is not, the answer says why and what the person does. Searches and page addresses come as { untrusted_text }. The result states what each figure means: a position is an average, and Google leaves out rare searches.

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": {
      "dimension": "<dimension>"
    },
    "name": "search_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoOnly pages whose address contains this.
limitNoRows, most clicks first. Default 25.
queryNoOnly searches containing these words.
to_dayNoLast day, included. Default: 3 days ago, the newest settled day.
site_idNoThe site; default the main consumer site.
from_dayNoFirst day, YYYY-MM-DD. Default: 28 days ending at to_day.
dimensionYesWhat each row is: a search, a page, a country, a device or a day.
merchant_idNoShop id; optional with one shop (list_shops).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent and non-destructive, so the bar is lower, but the description still adds real context: only whole days, the newest 3 unsettled days are excluded, the default is the last 28 settled days, searches and page addresses come back as `{ untrusted_text }` (a prompt-injection safeguard), and the result explains what each figure means. It stops short of describing pagination/ordering beyond the schema, so not a 5.

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 what the tool returns and its grouping axis, then prerequisites and caveats. It is dense and slightly run-on in the middle, but nearly every clause carries information an agent needs; no filler sentences.

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?

For an 8-parameter read tool with no output schema, the description covers the return fields, the grouping dimension, date-window defaults and lag, the admin-connection prerequisite and its failure behavior, and how untrusted text is surfaced. An agent can decide and call correctly without further context.

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, and the description does add meaning on top: it explains the grouping dimension options in plain terms, clarifies that `page` and `query` narrow to rows containing those words, and pins the default window semantics (28 days ending at the newest settled day, 3 days ago). This is genuinely additive rather than a restatement.

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-like action and resource: the shop's own Google Search Console results (clicks, impressions, CTR, average position) grouped by query, page, country, device or day. The 'in Google search' / 'Google Search Console' framing naturally separates it from broader traffic tools, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is implied through the prerequisites and default window ('needs the merchant to have connected the search data in the admin; when it is not, the answer says why'), which tells the agent what to expect when data is unavailable. However, there is no explicit when-to-use/when-not guidance and no named alternative for adjacent questions such as overall site traffic.

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