Skip to main content
Glama

Search Console: inspect URL

gsc_inspect_url
Read-onlyIdempotent

Inspect any URL’s Google index status, coverage state, robots.txt fetch, canonical selection, and rich results to diagnose indexing issues and prioritize fixes.

Instructions

Run the URL Inspection API: index status, coverage state, robots.txt and fetch state, last crawl, Google-selected vs. declared canonical, rich results and (when returned) mobile usability. Requires Search Console credentials.

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

Input Schema

NameRequiredDescriptionDefault
urlYesFully qualified URL to inspect.
site_urlYesProperty that contains the URL.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive, so the safety profile is covered. The description adds genuine context beyond them: the Search Console credential requirement and the conditional nature of mobile usability ("when returned"), which signals that some fields may be absent.

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

Conciseness4/5

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

Front-loaded with the API name and purpose, followed by a compact enumeration of return categories and the auth prerequisite. The field list is long but each item carries information; only the parenthetical mobile-usability caveat borders on clutter.

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?

An output schema exists so return values needn't be spelled out, yet the description still orients the agent on what categories come back, and it discloses the credential prerequisite. Combined with full schema coverage and rich annotations, nothing needed to invoke it correctly is missing.

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% with only two parameters, both documented in-schema (fully qualified URL; property containing the URL). The description adds no further meaning about how site_url and url relate or format expectations, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ("Run the URL Inspection API") and enumerates the exact data returned: index status, coverage state, robots.txt/fetch state, last crawl, canonical comparison, rich results, mobile usability. This is far more specific than the title alone and lets an agent distinguish it from generic crawl/audit siblings, though it never explicitly names an alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by the enumerated outputs — an agent can infer this is for checking how Google indexes one specific URL — and the prerequisite "Requires Search Console credentials" is a real constraint. However, there is no explicit when-to-use vs. when-not guidance and no pointer to overlapping siblings such as check_robots, audit_page, or crawl_site.

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