# Search Console search analytics

Query Google Search Console Search Analytics. Works on your own Search Console account, connected through Get MCP Ads. Takes site url, metrics, dimensions and more, all optional.

Query Google Search Console Search Analytics. Returns clicks, impressions, CTR, and average position for queries, pages, countries, devices, dates, and search appearances.
Use gsc://metrics, gsc://dimensions, gsc://filters, and gsc://compatibility for available fields and rules. Agentik price: $0.005 per call.

- Tool ID: `search-console/query-search-analytics`
- Name in the catalog: Search Console: Query search analytics
- Provider: [Google Search Console](/providers/search-console.md)
- Capability: [Search Console performance](/tools/search-console/search-analytics.md)
- Price: $0.005 per call
- Workspace access is automatic. Connect a platform using the link and notice returned to your AI assistant; an owner or admin completes platform consent and returns to the conversation; see the [guide](/docs/getmcpads.md).
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.005
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "siteUrl": {
      "type": "string",
      "description": "Search Console property URL, e.g. https://example.com/ or sc-domain:example.com. Uses GSC_SITE_URL when omitted."
    },
    "metrics": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Native: clicks, impressions, ctr, position. Calculated: ctrOpportunity, clicksPerImpression, impressionShare, clickShare."
    },
    "dimensions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Up to 5 dimensions: query, page, country, device, date, searchAppearance."
    },
    "filters": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "operator": {
            "type": "string",
            "enum": [
              "contains",
              "equals",
              "notContains",
              "notEquals",
              "includingRegex",
              "excludingRegex"
            ]
          },
          "value": {
            "type": [
              "string",
              "number",
              "boolean"
            ]
          }
        },
        "required": [
          "field",
          "operator",
          "value"
        ],
        "additionalProperties": false
      },
      "description": "Filters combined according to this tool's query schema. Use provider field names and the declared operators."
    },
    "searchType": {
      "type": "string",
      "enum": [
        "web",
        "image",
        "video",
        "news",
        "discover",
        "googleNews"
      ],
      "default": "web",
      "description": "Search surface to report, such as web, image, video, news or Discover. Availability depends on the property."
    },
    "datePreset": {
      "type": "string",
      "enum": [
        "today",
        "yesterday",
        "last7days",
        "last28days",
        "last3months",
        "last6months",
        "last12months",
        "last16months"
      ],
      "default": "last28days",
      "description": "Named reporting period. Use the custom date range when you need exact start and end dates."
    },
    "dateRange": {
      "type": "object",
      "properties": {
        "startDate": {
          "type": "string",
          "description": "Start date YYYY-MM-DD"
        },
        "endDate": {
          "type": "string",
          "description": "End date YYYY-MM-DD"
        }
      },
      "required": [
        "startDate",
        "endDate"
      ],
      "additionalProperties": false,
      "description": "Explicit reporting start and end dates in YYYY-MM-DD format."
    },
    "orderBy": {
      "type": "string",
      "enum": [
        "clicks",
        "impressions",
        "ctr",
        "position",
        "ctrOpportunity",
        "clicksPerImpression",
        "impressionShare",
        "clickShare"
      ],
      "default": "clicks",
      "description": "Field used to order report rows."
    },
    "orderDirection": {
      "type": "string",
      "enum": [
        "ASC",
        "DESC"
      ],
      "default": "DESC",
      "description": "Sort direction for the selected ordering field."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 25000,
      "default": 1000,
      "description": "Maximum number of returned items or rows. The declared bounds and default apply; use pagination for additional results."
    },
    "startRow": {
      "type": "integer",
      "minimum": 0,
      "description": "Optional 0-based row offset for explicit pagination."
    },
    "autoPaginate": {
      "type": "boolean",
      "default": false,
      "description": "When true, omit rowLimit so the GSC client auto-paginates until exhaustion."
    },
    "workspace_id": {
      "type": "string",
      "description": "Authorized workspace ID from list_accounts/list_workspaces. Use the user's chosen workspace; never guess between clients. Optional when a unique account identifies it."
    }
  }
}
```

## Published example

No example input is published for this tool. Ask for the inputs required by its schema.

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[REST inspection](https://api.agentik.cc/v1/tools/search-console/query-search-analytics) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/search-console/query-search-analytics) · [Agent index](/llms.txt)
