Skip to main content
Glama

Site Insights by KKV Labs

Pages

top_pages
Read-onlyIdempotent

Every landing page for one site with Search Console clicks, impressions, CTR and position joined to GA4 sessions, engagement rate and key events for the same dates. Ranked by clicks (sort_by and sort_order change the order), paged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "top_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNotrue returns Google's response exactly as Google sent it, unchanged.
siteNoThe site's domain (example.com) or its label. Optional when the account has exactly one site switched on. An unknown name returns an error that lists the switched on sites.
offsetNoRow to start from, for the next page. Default 0.
periodNoDate range. Default last_28_days. Named ranges end when the data is complete.
sort_byNoDefault gsc_clicks (ties broken by impressions, then sessions).
end_dateNoCustom end date YYYY-MM-DD.
page_sizeNoRows per page, default 1000, max 5000. Every row is available through paging.
data_stateNofinal (default) = complete data only; all = include fresh, still changing data.
sort_orderNoDefault desc, except gsc_position and page which default to asc.
start_dateNoCustom start date YYYY-MM-DD. Overrides period.
search_typeNoSearch Console search type. Default web.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful behavior beyond that — default sort by clicks with ties broken by impressions then sessions, and paging — but says nothing about failure modes, such as what the GA4 columns contain when no GA4 property is linked, or error behavior for a bad site.

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?

Two sentences, front-loaded with the returned columns and grain, followed by ordering and paging. No filler, and the parenthetical about sort_by/sort_order earns its place by flagging that the default ranking is overridable.

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 11 optional parameters, no output schema, and rich annotations, the description does the right work: it describes the returned shape in words, which compensates for the missing output schema. The residual gap is operational context (GA4 linkage requirement, behavior on an unknown site) rather than anything about invocation.

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% and the enum sets are enumerated, so the schema already carries the parameter semantics (defaults for period, page_size, sort_order, data_state, start_date overriding period). The description only echoes the sort_by/sort_order behavior, adding little beyond the structured fields; 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 resource (every landing page for one site) and enumerates exactly the joined metric set — GSC clicks/impressions/CTR/position plus GA4 sessions/engagement/key events. The landing-page grain makes it naturally distinguishable from query- or site-level siblings, and the ranking/paging behavior is named up front.

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 clear context: one site at a time, same-date join across GSC and GA4, results paged. It does not state prerequisites (e.g. that GA4 must be connected for the GA4 columns to be populated) or explicitly contrast with top_queries/search_console_query, so it stops short of full when/when-not guidance.

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