Skip to main content
Glama

Google Index Check

google_index_check

Checks whether Google has each URL in its index, from Google searches or, for a project with Search Console connected, from its Search Console data: a heuristic, not the URL Inspection API. Each URL gets a Google site: search, and when that search is empty, a Google search for the plain address (example.com/page; plain_search says what it found, still one billed page). A check that belongs to a project with Search Console connected first answers each URL that had impressions in the project's Search Console page report for the last 28 days (verdict observed, matched_by search_console, its figures in search_console): such a URL is not searched and not billed, and search_console in the result says what the report added. Searches run in the Google market named by country and language (default US, English; the same markets and validation as google_serp_scrape, an unsupported market is refused before any charge, and stored pages are never shared between markets), always desktop, first 10 results (the result states method, location, country, language, confidence and a disclaimer that name the market used). Each URL gets verdict observed, not_observed (not seen in that search; not proof it is not indexed) or unknown (is_indexed null, with a reason such as result_urls_hidden, google_challenge or prefix_url_inconclusive: a home or section URL that other indexed pages sit under is listed through those pages, so when only they appear a site: search cannot show whether the URL itself is indexed); checked_at is when the check ran and observed_at when Google's page was fetched (earlier when cached). A batch with two or more URLs of one site searches site: first, once: a URL among its results is answered from it (from_site_listing, billed like a checked URL), and when it lists no page of the site, each URL is searched by its plain address only. When the market's site: results list no page of the site, the whole site is also searched once in a second market (GB for a US check, US otherwise): a URL listed there is observed (seen_in_market, billed like from_site_listing), because Google keeps one index and only the pages its site: search shows differ by country; the others are unknown (site_absent_in_market, free). An observed URL that Google lists under another form of its address (with or without www or a trailing slash) names it in indexed_url. Credits: 5 per URL checked live, 0 when served from cache; unknown checks are free, and a batch in which every URL is unknown is a normal answer (verdict unknown with the reason on each row, nothing charged); only a row with retry_may_help true failed for a reason a repeat can fix. Verdicts other than seen_in_market rows are specific to the market searched: the same URL can be observed in one market and not in another. When the daily live-page allowance or the balance does not cover live pages, cached URLs are still served at no charge and the rest are not checked (error_code DAILY_LIVE_LIMIT or INSUFFICIENT_CREDITS). market_check says whether the country the results are for is confirmed: confirmed (market_evidence.method says by what: page_data or page_footer, Google's own page states it; provider_echo, the search provider states the country it searched), or unconfirmed (nothing states it; the page is returned but never recorded as a rank observation). A page produced for another country is discarded and fetched again; MARKET_MISMATCH means no fetch gave the requested country. A cached Google page is not a new observation of Google: observed_at names when the stored page was fetched, even if this check is retained as a run. Project retention is offered only when project_id appears in the schema. The result is returned here and may also be kept for up to 30 days as a completed run: retained.run_id reads it again for free with scraper_run_get (retained.available false says why it was not kept). Saved synchronous results can be evicted earlier when storage is needed; set background true (with an idempotency_key) to start the work as a saved run at once. If the call would outlast the connection (many items, deep or fresh SERPs) or the platform has no free capacity, it is not failed: the result is an accepted answer (accepted true, run_id, state, next_step) and the work runs as a saved run; ask scraper_run_get about run_id (view status) as often as retry_after_seconds says. A batch tool's run is charged item by item as each item finishes (failed items are free); any other run once, when it completes. The same idempotency_key prevents a second charge during its retry window; a later new call may be charged.

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": {
      "urls": "<urls>"
    },
    "name": "google_index_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesList of URLs to check
countryNoTwo-letter country code of the Google market to search in (the same markets as google_serp_scrape; see GET /api/v1/serp/markets). Default US.US
languageNoResult language (Google hl). Defaults to the market's own language (English for US); markets served through the managed SERP API accept any language code.
freshnessNoReuse of stored Google results pages. standard (default): a page fetched within this tool's window (24 hours; 6 hours with project_id unless max_age_seconds says otherwise) may answer, at 0 credits instead of 5. fresh: every page is fetched live now. A result says what it used at its top level: cache_hit, with cache_age_seconds (one search) or rows_from_cache and oldest_page_age_seconds (several searches).
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output. Send idempotency_key to read the other form later without a new charge.
backgroundNoOptional. true starts this work as a saved background run and answers at once with run_id instead of the result; read it with scraper_run_get. Needs an idempotency_key: the same key returns the same run and never charges twice, for the 30 days the run is kept. Charged like the direct call, as the run's work completes. Without it, a call that would take too long is also answered as a saved run.
project_idNoOptional: a project of this organization. Ownership is verified before any work. When retained.available is true, the index-check result is kept as a project-scoped saved run for up to 30 days and can be read or listed with scraper_run_get and scraper_run_list. It is not a saved-keyword rank observation and does not change the project's page-monitor baseline. Costs nothing extra.
idempotency_keyNoOptional retry key bound to this customer and these arguments. Matching retries replay the first result and do not reserve a second credit; the replay says so in billing (replayed true, credits_charged_this_call 0, original_credits_used).
max_age_secondsNoOldest stored results page that may answer, in seconds (60 to 86400); older pages are fetched live. Default: this tool's window (24 hours), or 6 hours (21600) when project_id is given and max_age_seconds is not, because a day-old page is not where a site ranks now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, openWorldHint=true, idempotentHint=false; the description goes far beyond, disclosing the 5-credits-per-live-URL charge, free cached and unknown results, DAILY_LIVE_LIMIT and INSUFFICIENT_CREDITS failures, 30-day retention, accepted-run fallback, and exactly which verdict means what. It also flags the caveat that a cache hit is not a new observation (observed_at vs checked_at), which no annotation conveys.

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

Conciseness3/5

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

It is front-loaded with purpose and most sentences carry operational substance (billing, verdicts, market fallback), but it is delivered as one dense multi-clause paragraph of several hundred words with colon-chained asides. Splitting billing, verdicts, and run-handling into structure would make it far more scannable.

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 a 9-parameter, billed, cached, market-sensitive tool with no output schema, the description supplies the verdict taxonomy, result fields (matched_by, market_check, indexed_url, retry_may_help, billing flags), free-vs-charged rules, and the accepted-run handoff to scraper_run_get. Nothing an agent needs to invoke or interpret it 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 description coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains why max_age_seconds defaults to 6 hours with project_id, how country/language select a market and that unsupported markets are refused before charging, and that project_id enables retention. It reinforces rather than merely repeats the schema.

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?

The opening sentence states a specific verb and resource — checks whether Google has each URL in its index — and immediately scopes the method (site: searches and Search Console data, explicitly 'not the URL Inspection API'). An agent can distinguish it from google_serp_scrape and from rank-tracking siblings 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 Guidelines4/5

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

The description makes the conditions explicit: use Search Console-sourced answers when a project has Search Console connected, use freshness=fresh to force live pages, use background+idempotency_key for long batches, and use scraper_run_get to poll accepted runs. It is clear when its internal modes apply, though it never states when another tool (e.g. a rank tracker) should be preferred instead.

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