context_gsc_page
Read page/query context for one supplied page entirely from repository fact rows, no Google connection is consulted and no query is spent; a connector handoff with no grant from us at all is a complete configuration. A page outside every connected property is page_outside_property with zero rows invented; absence from truncated top rows means “not in the returned top rows”, never “no impressions”; nulls stay null and CTR is derived at read time.
Repository-local stdio MCP only. This tool is absent from hosted MCP and HTTP. It reads local context without starting a cloud job.
Setup and request
Start the local context host with an explicit repository root. Paths are restricted to that root, including symlink resolution.Input fields
Returned result
Captured from a local fixture repository without external credentials.state(string, required): Read-time coverage or authorization state.page(string, required): Requested page URL.properties(array, optional): Connected properties when the page lies outside them.window(object / null, optional): Selected date window.rows_returned(integer, required): Reported count; current populated branch counts one plus query rows even when page_totals is null.queries(array, required): Saved query observations ranked by clicks.page_totals(object / null, required): Dated counts, derived click-through rate and average position.notes(array, optional): Coverage or manual-context explanations.type(string, optional): Search type, normally web.aggregationType(string, optional): Grouping mode, normally byPage.dataState(string, optional): Final or all data mode.final_through(string / null, optional): Calendar date in YYYY-MM-DD form.truncated(boolean, optional): Returned rows hit a source cap.first_incomplete_date(string / null, optional): Calendar date in YYYY-MM-DD form.days_requested(integer / null, optional): Requested window day count.days_reported(integer / null, optional): Reported day count when known.days_reported_basis(string / null, optional): How the reported day count was established.
All fields and nested objects
All fields and nested objects
Types, allowed values, limits and nested fields:
Result and recovery
The host returns JSON in bothstructuredContent and text content. The local context reference describes each result, file ownership and recovery. Start/end dates must be supplied together. Thrown input or file failures return isError: true. Missing manual/profile files and unresolved citations also flag an error. Inspect returned connection states separately: revoked or unavailable access can be result data. Manual-only configuration is valid.
See local context, CLI context commands and schema conventions.