Skip to main content
Glama

Get Page Detail

get_page_detail
Read-onlyIdempotent

Reports everything Mark knows about one page URL for a date range: Search Console clicks, impressions, CTR, position and top queries for that page; tracked keywords whose latest rank is that page; its issues in the latest site audit; Mark posts published at it, with a tracking link to it, or whose text links to it (matchedBy external_url, tracking_link or body_link); first-touch leads that landed on it, with conversion rate and the Top pages Leak or Write more signal; site tag leads (lead_submitted events in the workspace's PostHog project whose visit started on it, shown beside leads and never added to them; siteTagLeads.state is ready, no-posthog, no-signal or failed, with reason: busy means PostHog didn't answer in time (it runs 3 queries at once per project and queues the rest), so try again in a minute; the PostHog connection is fine. error is any other failure, such as lost access, so check the PostHog connection.); and buyer questions whose AI answers cited it. Each block says why when it has no data. Pass the page URL exactly as get_search_performance returns it, scheme included, or Search Console may find no rows for it. The URL must be on this workspace's Search Console property, or on one of its sites with none. Does not change anything. Related: get_search_performance, get_site_audit, get_rankings, get_ai_visibility.

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": {
      "url": "<url>"
    },
    "name": "get_page_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoRange end YYYY-MM-DD.
urlYesThe page URL, as get_search_performance returns it.
fromNoRange start YYYY-MM-DD. Defaults to the last 28 settled days.
marketIdNoFilter Search Console to one active market's country, as the page view's market picker does.
compareToNoPrior period end YYYY-MM-DD. Requires compareFrom.
compareFromNoPrior period start YYYY-MM-DD. Requires compareTo.

Output Schema

NameRequiredDescriptionDefault
urlYes
appUrlYes
blocksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, and the description's 'Does not change anything' merely restates that. It does add genuine behavioral context on failure modes — siteTagLeads.state values (ready/no-posthog/no-signal/failed) and the distinction between a 'busy' timeout requiring a retry and an 'error' requiring a connection check — but most of the remaining text describes return contents rather than tool behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The body is a single enormous run-on sentence with deeply nested parentheticals, the siteTagLeads clause alone running several lines. Much of the length restates block contents and error-state semantics that belong in the (present) output schema rather than the description.

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?

The critical invocation precondition — exact URL format and property ownership — is covered thoroughly, and an output schema exists to carry return structure. Completeness is only slightly undercut by the density making the guidance hard to extract.

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%, so the schema already documents url, from, to, marketId and the compare pair; the baseline of 3 applies. The description does contribute one piece of meaning beyond the schema — the exact URL format and the Search Console property constraint — which is the parameter most likely to be called wrongly.

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 ('Reports everything Mark knows about one page URL') plus the scope (a date range), and enumerates the data domains it aggregates so the agent can tell it apart from get_search_performance or get_site_audit, which cover only one domain each.

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 a concrete calling constraint — 'Pass the page URL exactly as get_search_performance returns it, scheme included' — and a scoping prerequisite (URL must be on the workspace's Search Console property or one of its sites). It also names related siblings, but does not say when to prefer each one over this tool.

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