Skip to main content
Glama

Questions for AI search

find_ai_questions
Read-onlyIdempotent

Long-search finder for a Search Console export. Use this when the user pastes Search Console rows or a CSV and asks which questions to answer on their pages, or how to get named in ChatGPT or Google AI answers. Pass the text as csv, or JSON rows as rows, with query and impressions, and page if any; up to 5000 rows, and a list with no header is one search per line. With no export, pass domain: the answer is status needs_export with steps to get the CSV. Returns searches of 7 or more words ranked by impressions, marked when they read as questions, each with the page Google shows, a heading and a 2-sentence answer skeleton with a slot for one number or fact only the owner knows; also by page. Reads only the paste: no Google login, Search Console or AI engine call. It never writes the answer or invents the number.

Input Schema

NameRequiredDescriptionDefault
csvNoPasted text of a Search Console export: a header row, then one row per search. Needs a query column and an impressions column; a page column, clicks and position are used when present. Comma, semicolon or tab separated. Up to 5000 data rows. Do not pass this together with rows.
rowsNoThe same data as JSON rows, for example {"query": "how do I ...", "page": "https://example.com/a", "impressions": 120, "clicks": 3, "position": 8.2}. The same rows as JSON text are also read. Up to 5000 rows. Do not pass this together with csv or domain.
limitNoMost questions to return, 1 to 50. Default 20.
domainNoThe site the questions are for, when the caller has not pasted an export yet, such as example.com. It is not ranked: the answer says which export to paste, because a ranking needs the searchers' own numbers.

Output Schema

NameRequiredDescriptionDefault
asOfYes
notesYes
pagesYesThe pages that Google shows for these searches, by total impressions.
stepsYes
domainNoOnly with status needs_export: the site the caller named.
noticeYes
sourceYes
statusYesok: the pasted rows were ranked. needs_export: a domain came without an export, so nothing could be ranked and steps says which export to paste.
summaryYes
reminderYes
questionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / anyOf
      Previous value: -[
      -  {
      -    "required": [
      -      "csv"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "rows"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "csv"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "rows"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "domain"
      +    ]
      +  }
      +]
    • addedInput schema / properties / domain
      Added value: +{
      +  "description": "The site the questions are for, when the caller has not pasted an export yet, such as example.com. It is not ranked: the answer says which export to paste, because a ranking needs the searchers' own numbers.",
      +  "maxLength": 2048,
      +  "minLength": 3,
      +  "type": "string"
      +}
    • changedInput schema / properties / rows / description
      Previous value: -"The same data as JSON rows, for example {\"query\": \"how do I ...\", \"page\": \"https://example.com/a\", \"impressions\": 120, \"clicks\": 3, \"position\": 8.2}. Up to 5000 rows. Do not pass this together with csv."New value: +"The same data as JSON rows, for example {\"query\": \"how do I ...\", \"page\": \"https://example.com/a\", \"impressions\": 120, \"clicks\": 3, \"position\": 8.2}. The same rows as JSON text are also read. Up to 5000 rows. Do not pass this together with csv or domain."
    • addedOutput schema / properties / domain
      Added value: +{
      +  "description": "Only with status needs_export: the site the caller named.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / status
      Added value: +{
      +  "description": "ok: the pasted rows were ranked. needs_export: a domain came without an export, so nothing could be ranked and steps says which export to paste.",
      +  "enum": [
      +    "ok",
      +    "needs_export"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "summary",
      -  "questions",
      -  "pages",
      -  "steps",
      -  "reminder",
      -  "source",
      -  "asOf",
      -  "notes",
      -  "notice"
      -]New value: +[
      +  "status",
      +  "summary",
      +  "questions",
      +  "pages",
      +  "steps",
      +  "reminder",
      +  "source",
      +  "asOf",
      +  "notes",
      +  "notice"
      +]
  2. Changed4 schema fields changed
    • addedInput schema / anyOf
      Added value: +[
      +  {
      +    "required": [
      +      "csv"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "rows"
      +    ]
      +  }
      +]
    • addedInput schema / properties / rows / items / description
      Added value: +"One search. Search Console column names such as \"Top queries\" are also read."
    • addedInput schema / properties / rows / items / properties
      Added value: +{
      +  "clicks": {
      +    "type": "number"
      +  },
      +  "impressions": {
      +    "type": "number"
      +  },
      +  "page": {
      +    "description": "The page Google showed.",
      +    "type": "string"
      +  },
      +  "position": {
      +    "description": "Average position.",
      +    "type": "number"
      +  },
      +  "query": {
      +    "description": "The search as typed.",
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / rows / items / required
      Added value: +[
      +  "query",
      +  "impressions"
      +]
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare a safe read-only, closed-world, idempotent operation; the description adds substantive context beyond that, stating that it reads only the paste with no Google login, Search Console or AI-engine call, and that it never writes the answer or invents the number. It also discloses the 5000-row ceiling and the fallback status response.

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?

The paragraph is front-loaded with the use case, then input modes, then output shape, and nearly every sentence carries new information. It is dense and slightly run-on, and the 5000-row limit is repeated from the schema, costing a bit of economy.

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

Completeness5/5

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

For a paste-parsing extraction tool with an output schema, annotations and full schema descriptions, the definition covers trigger, both input modes, the fallback path, limits, and the no-network guarantee. Nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description goes further by explaining the csv/rows/domain choice and the non-obvious rule that a headerless list is one search per line, which the schema does not state. It also clarifies that domain is not ranked and only triggers an export request.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: it finds long-search questions in a Search Console export, ranks them by impressions, and returns a heading plus a 2-sentence answer skeleton. It is clearly distinct from sibling tools such as audit_ai_search or score_page_citation, which judge readiness or citation likelihood rather than extracting question-shaped queries.

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 gives a concrete trigger: the user pastes Search Console rows/CSV and asks which questions to answer on their pages or how to get named in AI answers. It also covers the no-export branch (pass domain, get needs_export with CSV steps). It does not explicitly name a sibling alternative, so it stops short of a 5.

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.