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.
| Tool | Use it when | Cost |
|---|---|---|
console_list_properties | Before any other console_ tool, to find the property for a site. | Free |
console_get_search_analytics | You need a site's real Google clicks, impressions, CTR and position, by query, page, country, device or date. | Free |
console_get_sitemaps | You need which sitemaps Google has for a site, when it last read them and any errors. | Free |
console_inspect_url | You need whether Google has indexed a page, and why not. | Free |
console_submit_sitemap | The 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#
Tool
Readsconsole_list_properties- 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
| Name | Type | Required | Description |
|---|---|---|---|
brand | string | No | Which 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#
Tool
Readsconsole_get_search_analytics- 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_positionfor 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
| Name | Type | Required | Description |
|---|---|---|---|
brand | string | No | Which brand: its id or domain from list_brands. Default: the brand this connection is set to, or the organization's only brand. |
site_url | string | No | The Search Console property exactly as console_list_properties lists it, e.g. sc-domain:acme.com. Default: the one chosen for the brand. |
start_date | string | No | First day, YYYY-MM-DD. Default: the last 28 days. |
end_date | string | No | Last day, YYYY-MM-DD. Default: the last 28 days. |
dimensions | "query" | "page" | "country" | "device" | "date" | "searchAppearance"[] | No | Default [query]. |
search_type | "web" | "image" | "video" | "news" | "discover" | "googleNews" | No | Default web. |
filters | { dimension, operator, expression }[] | No | - |
row_limit | integer | No | Default 100. |
Example
{
"name": "console_get_search_analytics",
"arguments": {
"site_url": "sc-domain:acme.com",
"dimensions": [
"query",
"page"
],
"row_limit": 25
}
}Get submitted sitemaps#
Tool
Readsconsole_get_sitemaps- 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
| Name | Type | Required | Description |
|---|---|---|---|
brand | string | No | Which brand: its id or domain from list_brands. Default: the brand this connection is set to, or the organization's only brand. |
site_url | string | No | The 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#
Tool
Readsconsole_inspect_url- 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
| Name | Type | Required | Description |
|---|---|---|---|
brand | string | No | Which brand: its id or domain from list_brands. Default: the brand this connection is set to, or the organization's only brand. |
site_url | string | No | The Search Console property exactly as console_list_properties lists it, e.g. sc-domain:acme.com. Default: the one chosen for the brand. |
url | string | Yes | The 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#
Tool
Writesconsole_submit_sitemap- 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
| Name | Type | Required | Description |
|---|---|---|---|
brand | string | No | Which brand: its id or domain from list_brands. Default: the brand this connection is set to, or the organization's only brand. |
site_url | string | No | The Search Console property exactly as console_list_properties lists it, e.g. sc-domain:acme.com. Default: the one chosen for the brand. |
sitemap_url | string | Yes | The sitemap's full URL. |
Example
{
"name": "console_submit_sitemap",
"arguments": {
"site_url": "sc-domain:acme.com",
"sitemap_url": "https://acme.com/sitemap.xml"
}
}