google-search-console
v1.0.3Query search analytics, manage sitemaps, and inspect site URLs and status
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
query_search_analytics Query Search Analytics
Query Google Search Console analytics data with custom filters and grouping. Returns aggregated performance metrics (clicks, impressions, CTR, position) for your specified dimensions and date range.
| Parameter | Type | Description |
|---|---|---|
siteUrl * | string | The site URL to query, including protocol (e.g., http://www.example.com/ or https://example.com). Must match a verified property in Search Console. |
aggregationType | string | How to aggregate the returned data: AUTO (default, required if filtering/grouping by page), BY_PROPERTY (aggregate all data for the same property), BY_PAGE (aggregate by canonical URI), or BY_NEWS_SHO… |
dataState | string | Which data state to retrieve: FINAL (complete data only), ALL (complete and partial data), or HOURLY_ALL (includes hourly data). Defaults to FINAL if not specified. |
dimensionFilterGroups | array | Zero or more filter groups to narrow results by dimension values (e.g., query contains 'buy', country equals 'USA'). Filters are applied without requiring those dimensions to be in the grouping. |
dimensions | array | Zero or more dimensions to group results by (e.g., query, page, country, device). Results are grouped in the order specified. At least one dimension is typically needed for meaningful results. |
endDate | string | End date for the query range in YYYY-MM-DD format (PST/UTC-8). Must be greater than or equal to the start date and is included in the range. |
rowLimit | string | Maximum number of rows to return in the response. Must be between 1 and 25,000 inclusive. Defaults to 1,000 if not specified. |
searchType | string | Filter results to a specific search type: WEB (default), IMAGE, VIDEO, NEWS, DISCOVER, or GOOGLE_NEWS. |
startDate | string | Start date for the query range in YYYY-MM-DD format (PST/UTC-8). Must be less than or equal to the end date and is included in the range. |
startRow | string | Zero-based index of the first row to return, used for pagination. Must be a non-negative integer. Defaults to 0 if not specified. |
get_sitemap Get Sitemap
Retrieves detailed information about a specific sitemap for a website, including its status and metadata.
| Parameter | Type | Description |
|---|---|---|
feedpath * | string | The complete URL path to the sitemap file. Must be a valid, fully-qualified URL such as http://www.example.com/sitemap.xml. |
siteUrl * | string | The website's URL including the protocol (http or https). Must be a valid, fully-qualified URL such as http://www.example.com/. |
submit_sitemap Submit Sitemap
Submits a sitemap to Google Search Console for a specified site. This enables Google to discover and index the URLs listed in your sitemap.
| Parameter | Type | Description |
|---|---|---|
feedpath * | string | The complete URL path to the sitemap file. Must be a valid, fully-qualified URL pointing to the actual sitemap resource (e.g., http://www.example.com/sitemap.xml). |
siteUrl * | string | The site's URL including the protocol (http or https). Must be a valid, fully-qualified URL with trailing slash (e.g., http://www.example.com/). |
delete_sitemap Delete Sitemap
Removes a sitemap from the Sitemaps report. Note that this action does not prevent Google from crawling the sitemap or previously indexed URLs from that sitemap.
| Parameter | Type | Description |
|---|---|---|
feedpath * | string | The complete URL of the sitemap file to delete (e.g., http://www.example.com/sitemap.xml). This must be the exact sitemap URL you want to remove from the report. |
siteUrl * | string | The site's URL including the protocol (e.g., http://www.example.com/ or https://www.example.com/). This identifies which site the sitemap belongs to. |
list_sitemaps List Sitemaps
Retrieves all sitemaps submitted for a website or included in a sitemap index file. Use this to view the complete list of sitemaps Google has discovered for your site.
| Parameter | Type | Description |
|---|---|---|
siteUrl * | string | The website's URL including the protocol (http:// or https://). For example: http://www.example.com/ or https://example.com/. This identifies which site's sitemaps to retrieve. |
sitemapIndex | string | Optional URL pointing to a sitemap index file that aggregates multiple sitemaps. When provided, returns only the sitemaps referenced within that index file rather than all submitted sitemaps. |
get_site Get Site
Retrieves detailed information about a specific site property registered in Google Search Console, including its configuration and metadata.
| Parameter | Type | Description |
|---|---|---|
siteUrl * | string | The site URL or domain property identifier as it appears in Search Console. Use the full URL format (e.g., http://www.example.com/) for URL-prefix properties or the domain format (e.g., sc-domain:exam… |
add_site Add Site
Adds a website to your Search Console account, enabling you to monitor and manage its search performance.
| Parameter | Type | Description |
|---|---|---|
siteUrl * | string | The complete URL of the website to add to Search Console (e.g., domain, subdomain, or URL prefix). |
delete_site Delete Site
Removes a website property from your Search Console account, preventing further monitoring and analysis of that site.
| Parameter | Type | Description |
|---|---|---|
siteUrl * | string | The site URL or domain property identifier as it appears in Search Console. Use the full URL format (e.g., http://www.example.com/) for URL-prefix properties or the domain format (e.g., sc-domain:exam… |
list_sites List Sites
Retrieves a list of all Search Console sites that the authenticated user has access to. This includes both verified and unverified properties.
inspect_url_index_status Inspect URL Index Status
Inspect the indexing status of a specific URL within a Search Console property. Returns detailed information about whether the URL is indexed and any associated issues.
| Parameter | Type | Description |
|---|---|---|
inspectionUrl | string | The URL to inspect for indexing status. Must be a valid URL that belongs to the property specified in siteUrl. |
languageCode | string | The language for translated issue messages in IETF BCP-47 format (e.g., en-US, de-CH). Defaults to English (US) if not specified. |
siteUrl | string | The Search Console property URL in either URL-prefix format (e.g., http://www.example.com/) or domain property format (e.g., sc-domain:example.com). The inspectionUrl must belong to this property. |
test_mobile_friendly Test Mobile Friendly
Tests whether a given URL is mobile-friendly by analyzing its mobile rendering and usability. Optionally returns a screenshot of the mobile view.
| Parameter | Type | Description |
|---|---|---|
requestScreenshot | boolean | Whether to include a screenshot of the URL as rendered on a mobile device in the test results. |
url | string | The complete URL to test for mobile-friendliness, including the protocol (http or https). |