Skip to main content
Glama
Akxan
by Akxan

Inspect a URL (index status)

gsc_inspect_url
Read-onlyIdempotent

Diagnose a page's Google index status, crawl details, canonical, robots.txt, mobile usability, rich results, and AMP state. Identify and fix why a URL isn't appearing in search results.

Instructions

Run the URL Inspection API for a page: index status, last crawl time, canonical selection, robots.txt state, mobile usability, rich results and AMP status. Quota: ~2000 calls/day per property.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteUrlYesSearch Console property, e.g. 'sc-domain:example.com' (see gsc_list_sites).
languageCodeNoBCP-47 language for the response messages, e.g. 'zh-CN'.en-US
inspectionUrlYesFull URL of the page to inspect. Must belong to the property.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.0
    • changedInput schema / properties / siteUrl / description
      Previous value: -"Search Console property, e.g. 'sc-domain:example.com' or 'https://example.com/' (see gsc_list_sites)."New value: +"Search Console property, e.g. 'sc-domain:example.com' (see gsc_list_sites)."
  2. Changed2 schema fields changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / siteUrl / description
      Previous value: -"Property URL exactly as shown in Search Console, e.g. 'https://example.com/' or 'sc-domain:example.com'. Use gsc_list_sites to discover it."New value: +"Search Console property, e.g. 'sc-domain:example.com' or 'https://example.com/' (see gsc_list_sites)."
  3. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate readOnly, idempotent, and non-destructive behavior, so the description does not need to repeat that. It adds valuable behavioral context beyond annotations: the explicit quota (~2000 calls/day per property) and the breadth of checks performed (mobile usability, rich results, AMP). This helps an agent anticipate rate limits and understand the result scope without conflicting with any annotation.

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?

The description is a single, well-structured sentence that front-loads the core action and then lists the specific checks in a compact list. The quota note is appended efficiently at the end. There is no redundancy or filler; every clause contributes meaningful information, making it appropriately concise.

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?

For a tool with moderate complexity (multiple checks but no nested objects) and no output schema, the description covers the main outputs and the key constraint (quota). It does not mention return format, but that is often inferred from Search Console's inspection response. The description is sufficient for an agent to decide when to call it and what to expect, though a brief note on response structure could elevate completeness to 5.

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?

The input schema already provides full descriptions for all three parameters, including the requirement that inspectionUrl must belong to the property. The description does not add additional parameter-level semantics beyond what schema states; it simply reiterates the general purpose. With 100% schema coverage, the baseline of 3 is appropriate, and the description does not compensate further.

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 description opens with a specific verb and resource ('Run the URL Inspection API for a page') and enumerates concrete outputs (index status, crawl time, canonical, robots, mobile, rich results, AMP). This clearly distinguishes it from sibling tools like gsc_index_coverage or gsc_rich_results_report, which operate at site level and cover different data. An agent can immediately identify what this tool does and what it returns.

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 provides clear context of the tool's purpose by listing the exact checks performed, which implies when it should be used (e.g., when a single-page inspection is needed). However, it does not explicitly state when not to use it or name alternatives like gsc_index_coverage or gsc_site_snapshot. It offers no exclusions, only a clear scope, so it earns a 4 rather than a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.