Skip to content

ToolsSearch Console

Docs

Tools

Search Console

The site's own Google Search data, once Google is connected. Free.

Things to ask#

Ask your agent in plain words. It picks the tool.

  • Which queries brought acme.com the most clicks in the last 28 days?
  • Has Google indexed acme.com/pricing? If not, tell me why.
  • Submit https://acme.com/sitemap.xml to Search Console and tell me if Google accepted it.

Tools in Search Console#

5 tools. Prices are in credits; 1,000 credits are $1.

ToolUse it whenCost
console_list_propertiesBefore any other console_ tool, to find the property for a site.Free
console_get_search_analyticsYou need a site's real Google clicks, impressions, CTR and position, by query, page, country, device or date.Free
console_get_sitemapsYou need which sitemaps Google has for a site, when it last read them and any errors.Free
console_inspect_urlYou need whether Google has indexed a page, and why not.Free
console_submit_sitemapThe user asks to submit or resubmit a sitemap to Google.Free

Connect Google first#

These tools read your own Google data, so each brand connects its Google account with Search Console and Analytics access, on the Connect page. Then a call can leave out site_url or property_id and use the ones chosen for the brand; pass brand to pick another site from list_brands. Until Google is connected a call answers 403 forbidden, and the error says where to connect. The tools are free.

List Search Console properties#

Toolconsole_list_properties
Reads
Good for
Before any other console_ tool, to find the property for a site.
Not the tool for
Sites the user has not verified in Search Console. Each brand connects its own Google account with Search Console and Analytics access; the error says where the user does that.
What you get
Every property the brand's Google account can read, with its permission level, and which one the brand uses.
Cost
Free

Parameters

NameTypeRequiredDescription
brandstringNoWhich brand: its id or domain from list_brands. Default: the brand this connection is set to, or the organization's only brand.
Example
{
  "name": "console_list_properties",
  "arguments": {}
}

Get Search Console performance#

Toolconsole_get_search_analytics
Reads
Good for
You need a site's real Google clicks, impressions, CTR and position, by query, page, country, device or date.
Not the tool for
Sites without Search Console access (use seo_get_position for any site). Each brand connects its own Google account with Search Console and Analytics access; the error says where the user does that.
What you get
Rows of clicks, impressions, CTR and average position for the dimensions asked, top rows first.
Cost
Free

Parameters

NameTypeRequiredDescription
brandstringNoWhich brand: its id or domain from list_brands. Default: the brand this connection is set to, or the organization's only brand.
site_urlstringNoThe Search Console property exactly as console_list_properties lists it, e.g. sc-domain:acme.com. Default: the one chosen for the brand.
start_datestringNoFirst day, YYYY-MM-DD. Default: the last 28 days.
end_datestringNoLast day, YYYY-MM-DD. Default: the last 28 days.
dimensions"query" | "page" | "country" | "device" | "date" | "searchAppearance"[]NoDefault [query].
search_type"web" | "image" | "video" | "news" | "discover" | "googleNews"NoDefault web.
filters{ dimension, operator, expression }[]No-
row_limitintegerNoDefault 100.
Example
{
  "name": "console_get_search_analytics",
  "arguments": {
    "site_url": "sc-domain:acme.com",
    "dimensions": [
      "query",
      "page"
    ],
    "row_limit": 25
  }
}

Get submitted sitemaps#

Toolconsole_get_sitemaps
Reads
Good for
You need which sitemaps Google has for a site, when it last read them and any errors.
Not the tool for
Submitting one (use console_submit_sitemap). Each brand connects its own Google account with Search Console and Analytics access; the error says where the user does that.
What you get
Each sitemap with its last read time, pending state, warnings, errors and URL counts.
Cost
Free

Parameters

NameTypeRequiredDescription
brandstringNoWhich brand: its id or domain from list_brands. Default: the brand this connection is set to, or the organization's only brand.
site_urlstringNoThe Search Console property exactly as console_list_properties lists it, e.g. sc-domain:acme.com. Default: the one chosen for the brand.
Example
{
  "name": "console_get_sitemaps",
  "arguments": {
    "site_url": "sc-domain:acme.com"
  }
}

Inspect a URL in Google#

Toolconsole_inspect_url
Reads
Good for
You need whether Google has indexed a page, and why not.
Not the tool for
Sites without Search Console access. Google allows about 2,000 inspections per property per day. Each brand connects its own Google account with Search Console and Analytics access; the error says where the user does that.
What you get
The page's index status, coverage state, last crawl, the canonical Google chose, robots and mobile results.
Cost
Free

Parameters

NameTypeRequiredDescription
brandstringNoWhich brand: its id or domain from list_brands. Default: the brand this connection is set to, or the organization's only brand.
site_urlstringNoThe Search Console property exactly as console_list_properties lists it, e.g. sc-domain:acme.com. Default: the one chosen for the brand.
urlstringYesThe page to inspect, inside the property.
Example
{
  "name": "console_inspect_url",
  "arguments": {
    "site_url": "sc-domain:acme.com",
    "url": "https://acme.com/pricing"
  }
}

Submit a sitemap#

Toolconsole_submit_sitemap
Writes
Good for
The user asks to submit or resubmit a sitemap to Google.
Not the tool for
Reading sitemaps (use console_get_sitemaps). Each brand connects its own Google account with Search Console and Analytics access; the error says where the user does that.
What you get
Whether Google accepted the submission.
Cost
Free

Parameters

NameTypeRequiredDescription
brandstringNoWhich brand: its id or domain from list_brands. Default: the brand this connection is set to, or the organization's only brand.
site_urlstringNoThe Search Console property exactly as console_list_properties lists it, e.g. sc-domain:acme.com. Default: the one chosen for the brand.
sitemap_urlstringYesThe sitemap's full URL.
Example
{
  "name": "console_submit_sitemap",
  "arguments": {
    "site_url": "sc-domain:acme.com",
    "sitemap_url": "https://acme.com/sitemap.xml"
  }
}