Skip to main content
Glama

List question queries from Google Search

get_gsc_questions
Read-onlyIdempotent

Read Google Search Console question-shaped queries with clicks, impressions, CTR, position, and changes from the previous period. Powers the Questions view in Google Search and AI Search. Total counts retained Google-returned rows, not an exhaustive search corpus. If sourceLimitReached is true, either comparison period exceeded the fetch limit; narrow the dates or filters before interpreting trends.

Use this to identify high-impression questions or compare question performance across periods. Review available and sourceLimitReached with the returned rows.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "endDate": "2026-01-31",
      "gscFilter": [
        {
          "operator": "contains",
          "dimension": "page",
          "expression": "/docs/"
        }
      ],
      "startDate": "2026-01-01"
    },
    "name": "get_gsc_questions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size for the matching records. Omit for 20 records per page.
offsetNoSet to the previous page’s nextOffset and keep the filters fixed.
contextNoUser task for usage analytics. Omit private details.
endDateYesInclusive upper bound of the reporting window.
gscFilterNoApply the same filters as the Google Search report. To limit results to the blog, match page with contains and the expression "/blog/".
llm_modelNoExact model ID from the calling runtime. Send on every call when known. Omit if unavailable.
projectIdNoProject ID from list_projects. Omit to use the configured or sole accessible project.
startDateYesInclusive lower bound of the reporting window.

Output Schema

NameRequiredDescriptionDefault
dataNoQuestion-shaped Google queries with search metrics and comparison. Check sourceLimitReached for incomplete coverage.
successYesTrue when the tool returns normally.
executionTimeNoElapsed time, e.g. 0.12s.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedOutput schema / then / properties / category / description
      Removed value: -"Failure class."
    • removedOutput schema / then / properties / error / description
      Removed value: -"Why the call failed."
    • removedOutput schema / then / properties / errorCode / description
      Removed value: -"Stable failure code."
    • removedOutput schema / then / properties / expected / description
      Removed value: -"Known failure."
    • removedOutput schema / then / properties / statusCode / description
      Removed value: -"HTTP error status."
  2. Changed3 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Non-sensitive task summary for usage analytics."New value: +"User task for usage analytics. Omit private details."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact model ID from the calling runtime for usage attribution. Send on every call when known."New value: +"Exact model ID from the calling runtime. Send on every call when known. Omit if unavailable."
    • changedInput schema / properties / offset / description
      Previous value: -"For subsequent pages, pass the previous result’s nextOffset and keep the filters fixed."New value: +"Set to the previous page’s nextOffset and keep the filters fixed."
  3. Changed9 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Task label for usage analytics. Omit private details."New value: +"Non-sensitive task summary for usage analytics."
    • changedInput schema / properties / endDate / description
      Previous value: -"Last included day of the reporting period."New value: +"Inclusive upper bound of the reporting window."
    • changedInput schema / properties / gscFilter / items / properties / operator / description
      Previous value: -"Choose exact or substring matching, or their exclusions."New value: +"How the filter expression should match the selected Search Console dimension."
    • changedInput schema / properties / limit / description
      Previous value: -"Number of matching rows per response. Defaults to 20."New value: +"Page size for the matching records. Omit for 20 records per page."
    • changedInput schema / properties / offset / description
      Previous value: -"Page offset. Omit for the first page, then supply nextOffset from the previous response with the same filters."New value: +"For subsequent pages, pass the previous result’s nextOffset and keep the filters fixed."
    • changedInput schema / properties / startDate / description
      Previous value: -"First included day of the reporting period."New value: +"Inclusive lower bound of the reporting window."
    • addedOutput schema / examples
      Added value: +[
      +  {
      +    "data": {
      +      "available": true,
      +      "data": [
      +        {
      +          "mainKeyValue": "how do i clean a coffee grinder",
      +          "trends": {
      +            "clicks": 25,
      +            "ctr": 0,
      +            "impressions": 25,
      +            "position": -20
      +          },
      +          "trendsChange": {
      +            "clicks": 5,
      +            "ctr": 0,
      +            "impressions": 100,
      +            "position": -1
      +          },
      +          "values": {
      +            "clicks": 25,
      +            "ctr": 0.05,
      +            "impressions": 500,
      +            "position": 4
      +          }
      +        }
      +      ],
      +      "nextOffset": null,
      +      "sourceLimitReached": false,
      +      "total": 1
      +    },
      +    "success": true
      +  }
      +]
    • changedOutput schema / properties / data / properties / data / items / properties / trends / description
      Previous value: -"Operation-specific object."New value: +"Relative percentage change from the preceding period for each metric. Zero can mean no comparable baseline."
    • changedOutput schema / properties / data / properties / data / items / properties / trendsChange / description
      Previous value: -"Operation-specific object."New value: +"Current value minus the preceding value in the original metric units. Zero can mean no comparable baseline."
  4. Changed20 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Call purpose for analytics. Omit private details."New value: +"Task label for usage analytics. Omit private details."
    • addedInput schema / properties / context / examples
      Added value: +[
      +  "compare landing pages"
      +]
    • addedInput schema / properties / llm_model / examples
      Added value: +[
      +  "openai/gpt-5.4-mini"
      +]
    • removedOutput schema / description
      Removed value: -"Tool result. On failure, read error and any recovery message."
    • removedOutput schema / properties / action
      Removed value: -{
      -  "description": "Client response to the project chooser.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / category
      Removed value: -{
      -  "description": "Failure class.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / data / properties / data / description
      Previous value: -"Items or result for this call."New value: +"Page of matching Google Search queries and their metric comparisons."
    • removedOutput schema / properties / details
      Removed value: -{
      -  "description": "Error-specific diagnostics.",
      -  "type": "object"
      -}
    • removedOutput schema / properties / error
      Removed value: -{
      -  "description": "Reason the tool call failed.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / errorCode
      Removed value: -{
      -  "description": "Stable failure code, when available.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / executionTime / description
      Previous value: -"Duration in seconds with an s suffix."New value: +"Elapsed time, e.g. 0.12s."
    • removedOutput schema / properties / expected
      Removed value: -{
      -  "description": "Known failure condition.",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / message
      Removed value: -{
      -  "description": "Outcome, required input, or recovery instructions.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / projects
      Removed value: -{
      -  "description": "Choose a projectId and retry.",
      -  "items": {
      -    "properties": {
      -      "id": {
      -        "description": "Project ID to pass as projectId.",
      -        "type": "number"
      -      },
      -      "name": {
      -        "description": "Project name to show in the chooser.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / retryable
      Removed value: -{
      -  "description": "Safe to retry unchanged.",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / statusCode
      Removed value: -{
      -  "description": "HTTP status of the failure, if set.",
      -  "type": "integer"
      -}
    • changedOutput schema / properties / success / description
      Previous value: -"True when the tool ran successfully."New value: +"True when the tool returns normally."
    • removedOutput schema / properties / upgrade
      Removed value: -{
      -  "description": "Plan upgrade options.",
      -  "type": "object"
      -}
    • removedOutput schema / properties / url
      Removed value: -{
      -  "description": "Recovery or completion link.",
      -  "type": "string"
      -}
    • addedOutput schema / then / properties
      Added value: +{
      +  "action": {
      +    "description": "Project chooser action.",
      +    "type": "string"
      +  },
      +  "category": {
      +    "description": "Failure class.",
      +    "type": "string"
      +  },
      +  "details": {
      +    "description": "Error-specific diagnostics.",
      +    "type": "object"
      +  },
      +  "error": {
      +    "description": "Why the call failed.",
      +    "type": "string"
      +  },
      +  "errorCode": {
      +    "description": "Stable failure code.",
      +    "type": "string"
      +  },
      +  "expected": {
      +    "description": "Known failure.",
      +    "type": "boolean"
      +  },
      +  "message": {
      +    "description": "Recovery instructions.",
      +    "type": "string"
      +  },
      +  "projects": {
      +    "description": "Choose a projectId and retry.",
      +    "items": {
      +      "properties": {
      +        "id": {
      +          "description": "Pass as projectId.",
      +          "type": "number"
      +        },
      +        "name": {
      +          "description": "Project name to show in the chooser.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "retryable": {
      +    "description": "Safe to retry unchanged.",
      +    "type": "boolean"
      +  },
      +  "statusCode": {
      +    "description": "HTTP error status.",
      +    "type": "integer"
      +  },
      +  "upgrade": {
      +    "description": "Plan upgrade options.",
      +    "type": "object"
      +  },
      +  "url": {
      +    "description": "Recovery or completion link.",
      +    "type": "string"
      +  }
      +}
  5. Changed12 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "endDate": "2026-01-31",
      +    "gscFilter": [
      +      {
      +        "dimension": "page",
      +        "expression": "/docs/",
      +        "operator": "contains"
      +      }
      +    ],
      +    "startDate": "2026-01-01"
      +  }
      +]
    • changedInput schema / properties / context / description
      Previous value: -"Short reason for this call in the activity log, e.g. \"check landing page traffic\". Leave out private data."New value: +"Call purpose for analytics. Omit private details."
    • changedInput schema / properties / limit / description
      Previous value: -"Rows to inspect per page. The default page size is 20."New value: +"Number of matching rows per response. Defaults to 20."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact model ID from the calling runtime for usage attribution. Include it on every call when known."New value: +"Exact model ID from the calling runtime for usage attribution. Send on every call when known."
    • changedInput schema / properties / offset / description
      Previous value: -"Use nextOffset from the preceding page to continue with the same filters. Start without a cursor."New value: +"Page offset. Omit for the first page, then supply nextOffset from the previous response with the same filters."
    • changedInput schema / properties / projectId / description
      Previous value: -"Atomic project ID from list_projects. Omit to use the configured project. If asked to choose, retry with an accessible ID."New value: +"Project ID from list_projects. Omit to use the configured or sole accessible project."
    • addedInput schema / properties / projectId / examples
      Added value: +[
      +  42
      +]
    • changedOutput schema / description
      Previous value: -"Read data for the tool result. On failure, read error and any recovery message."New value: +"Tool result. On failure, read error and any recovery message."
    • addedOutput schema / properties / data / properties / available / description
      Added value: +"Whether Search Console returned a table for this request."
    • changedOutput schema / properties / data / properties / data / items / properties / mainKeyValue / description
      Previous value: -"Value of the chart dimension represented by this point, such as a calendar date."New value: +"Question-shaped search query reported by Google Search Console."
    • changedOutput schema / properties / data / properties / data / items / properties / values / description
      Previous value: -"Metric values for this point, keyed by the chart's metric names."New value: +"Current-period values keyed by metric, such as clicks and impressions."
    • addedOutput schema / properties / data / properties / sourceLimitReached / description
      Added value: +"True when either period hit the source fetch limit. Narrow the date range or filters for analysis."
  6. Changed21 schema fields changed
    • changedOutput schema / description
      Previous value: -"On success read data. On failure read error and errorCode."New value: +"Read data for the tool result. On failure, read error and any recovery message."
    • addedOutput schema / else
      Added value: +{
      +  "required": [
      +    "data"
      +  ]
      +}
    • addedOutput schema / if
      Added value: +{
      +  "properties": {
      +    "success": {
      +      "const": false
      +    }
      +  }
      +}
    • addedOutput schema / properties / action
      Added value: +{
      +  "description": "Client response to the project chooser.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / data / properties / data / description
      Previous value: -"Result items or operation data inside this returned payload. Pagination fields describe only this result page."New value: +"Items or result for this call."
    • changedOutput schema / properties / data / properties / data / items / properties / trends / description
      Previous value: -"Nested operation-specific fields."New value: +"Operation-specific object."
    • changedOutput schema / properties / data / properties / data / items / properties / trendsChange / description
      Previous value: -"Nested operation-specific fields."New value: +"Operation-specific object."
    • removedOutput schema / properties / data / properties / nextOffset / anyOf
      Removed value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • changedOutput schema / properties / data / properties / nextOffset / description
      Previous value: -"Offset for the next result page; null means this listing is complete."New value: +"Next offset, or null at the end."
    • addedOutput schema / properties / data / properties / nextOffset / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / data / properties / total / description
      Previous value: -"Total number of matching items across all result pages."New value: +"Matching items across all pages."
    • changedOutput schema / properties / details / description
      Previous value: -"Additional diagnostics for the reported failure code."New value: +"Error-specific diagnostics."
    • changedOutput schema / properties / errorCode / description
      Previous value: -"Machine-readable failure code for choosing a recovery action."New value: +"Stable failure code, when available."
    • changedOutput schema / properties / executionTime / description
      Previous value: -"Elapsed seconds with s suffix."New value: +"Duration in seconds with an s suffix."
    • changedOutput schema / properties / projects / items / properties / id / description
      Previous value: -"Project ID for projectId."New value: +"Project ID to pass as projectId."
    • changedOutput schema / properties / projects / items / properties / name / description
      Previous value: -"Project name to show when asking the user to choose."New value: +"Project name to show in the chooser."
    • addedOutput schema / properties / projects / items / required
      Added value: +[
      +  "id",
      +  "name"
      +]
    • changedOutput schema / properties / statusCode / description
      Previous value: -"HTTP-style status."New value: +"HTTP status of the failure, if set."
    • changedOutput schema / properties / statusCode / type
      Previous value: -"number"New value: +"integer"
    • changedOutput schema / properties / success / description
      Previous value: -"Whether the call succeeded."New value: +"True when the tool ran successfully."
    • addedOutput schema / then
      Added value: +{
      +  "required": [
      +    "error"
      +  ]
      +}
  7. Changed4 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Purpose for the activity log, for example \"check landing page traffic\". Exclude private content and personal data."New value: +"Short reason for this call in the activity log, e.g. \"check landing page traffic\". Leave out private data."
    • changedInput schema / properties / limit / description
      Previous value: -"Records per page. Omit for 20 records."New value: +"Rows to inspect per page. The default page size is 20."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact model ID from the calling runtime for usage attribution. Report it on every call when known. Omit it if unavailable; never guess or ask the user."New value: +"Exact model ID from the calling runtime for usage attribution. Include it on every call when known."
    • changedInput schema / properties / offset / description
      Previous value: -"Start of the requested slice. Use nextOffset from the previous result."New value: +"Use nextOffset from the preceding page to continue with the same filters. Start without a cursor."
  8. Changed9 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Purpose for the activity log. Exclude private content and personal data."New value: +"Purpose for the activity log, for example \"check landing page traffic\". Exclude private content and personal data."
    • changedInput schema / properties / llm_model / description
      Previous value: -"Exact runtime model ID for usage attribution. Report on every call when known; never guess or ask."New value: +"Exact model ID from the calling runtime for usage attribution. Report it on every call when known. Omit it if unavailable; never guess or ask the user."
    • changedInput schema / properties / projectId / description
      Previous value: -"Accessible Atomic project ID from list_projects. Defaults to the configured project."New value: +"Atomic project ID from list_projects. Omit to use the configured project. If asked to choose, retry with an accessible ID."
    • addedOutput schema / properties / details / description
      Added value: +"Additional diagnostics for the reported failure code."
    • addedOutput schema / properties / error / description
      Added value: +"Reason the tool call failed."
    • addedOutput schema / properties / errorCode / description
      Added value: +"Machine-readable failure code for choosing a recovery action."
    • addedOutput schema / properties / message / description
      Added value: +"Outcome, required input, or recovery instructions."
    • addedOutput schema / properties / projects / items / properties / name / description
      Added value: +"Project name to show when asking the user to choose."
    • addedOutput schema / properties / success / description
      Added value: +"Whether the call succeeded."
  9. Changed13 schema fields changed
    • changedInput schema / properties / endDate / description
      Previous value: -"Last date to include, in YYYY-MM-DD format."New value: +"Last included day of the reporting period."
    • changedInput schema / properties / gscFilter / description
      Previous value: -"GSC (Google Search Console) filters to apply. Use this when the user has applied filters on the analytics page or wants to filter data. Each filter object has:\n- dimension: The field to filter on. Valid values: \"query\" (keyword/search term), \"page\" (URL), \"device\" (mobile/desktop/tablet), \"country\" (3-letter country code).\n- operator: How to match. Valid values: \"contains\", \"equals\", \"notContains\", \"notEquals\".\n- expression: The value to match against.\nExample: [{\"dimension\": \"page\", \"operator\": \"contains\", \"expression\": \"/blog/\"}] filters to pages containing \"/blog/\" in the URL."New value: +"Apply the same filters as the Google Search report. To limit results to the blog, match page with contains and the expression \"/blog/\"."
    • removedInput schema / properties / gscFilter / items / description
      Removed value: -"A GSC filter object with dimension, operator, and expression"
    • changedInput schema / properties / gscFilter / items / properties / dimension / description
      Previous value: -"The dimension to filter on (required)"New value: +"GSC field to match. Query means the search term and page means the landing URL."
    • changedInput schema / properties / gscFilter / items / properties / expression / description
      Previous value: -"The value to match against (required)"New value: +"Value from the selected dimension. For country, use a three-letter country code."
    • changedInput schema / properties / gscFilter / items / properties / operator / description
      Previous value: -"The comparison operator (required)"New value: +"Choose exact or substring matching, or their exclusions."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of records to return. Defaults to 20."New value: +"Records per page. Omit for 20 records."
    • changedInput schema / properties / offset / description
      Previous value: -"Zero-based offset. Use nextOffset from the previous result."New value: +"Start of the requested slice. Use nextOffset from the previous result."
    • changedInput schema / properties / startDate / description
      Previous value: -"First date to include, in YYYY-MM-DD format."New value: +"First included day of the reporting period."
    • addedOutput schema / properties / data / description
      Added value: +"Question-shaped Google queries with search metrics and comparison. Check sourceLimitReached for incomplete coverage."
    • addedOutput schema / properties / data / properties / data / items / properties / mainKeyValue / description
      Added value: +"Value of the chart dimension represented by this point, such as a calendar date."
    • changedOutput schema / properties / data / properties / data / items / properties / status / description
      Previous value: -"Current saved or execution state reported by the operation."New value: +"Comparison state for the point, if available."
    • changedOutput schema / properties / data / properties / data / items / properties / values / description
      Previous value: -"Nested operation-specific fields."New value: +"Metric values for this point, keyed by the chart's metric names."
  10. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare this a safe idempotent read, so the bar is lower, but the description goes well beyond them: it warns that counts reflect Google-returned rows rather than an exhaustive corpus, and explains precisely what sourceLimitReached means and what to do about it (narrow dates or filters). That is exactly the caveat an agent needs to avoid over-reading truncated comparison data.

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?

Two short paragraphs: capability and data caveats first, then the usage recommendation. Front-loaded and free of filler, though the sentence about retained row counts is slightly convoluted in phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description needn't enumerate return fields, and it still usefully calls out available and sourceLimitReached as fields to check. For an 8-parameter read tool with full schema coverage and annotations, this is close to complete; only explicit sibling routing is absent.

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%, so every parameter including limit, offset, gscFilter sub-fields, and projectId is already documented in the input schema. The description only glosses 'narrow the dates or filters' without adding format or semantics beyond that; baseline 3 applies when the schema carries the load.

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?

The description opens with a specific verb and resource — 'Read Google Search Console question-shaped queries' — and enumerates the returned metrics (clicks, impressions, CTR, position, period-over-period changes). 'Question-shaped' is a distinctive qualifier that separates it from the other GSC report tools in the sibling list, though it never explicitly contrasts itself with them.

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

Usage Guidelines4/5

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

It states a clear use case: 'identify high-impression questions or compare question performance across periods,' and adds a conditional instruction to review sourceLimitReached before interpreting trends. It does not name any alternative tool or say when a different GSC endpoint would be the better choice, so it falls short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources