Skip to main content
Glama

Run AI answer check

run_answer_check

Use this tool when the user wants to ask the AIs now whether they mention or link to their brand (ホームページ, Webサイト, ランディングページ): 「AI に聞いてみて」「ChatGPT でうちの名前が出るか今すぐ確かめて」, "run the AI answer check", "check again now".

Asks the workspace's saved questions (update_answer_check_prompts) on ChatGPT, Perplexity, Gemini, and Google AI Overviews. One question on one AI is 1 check: a run of q questions on e AIs uses q × e checks, taken before anything is asked, first from the month's included checks (Pro 100, MAX 3,500, Free 0; Pro from a reverse trial or included with Made for you has none), then from any other checks on the workspace, oldest first. Only a check whose answer comes back is used: one that errors or comes back empty (such as no AI Overview for the search) is given back.

  • promptIds: ids from get_answer_check_results' prompts; leave it out to ask every saved question. engines: some of chatgpt, perplexity, gemini, overview; leave it out for all four.

  • idempotencyKey: a new id (such as a UUID) for each run the user asks for. If a call times out or fails with no reply, call again with the same key: Convika returns the run it already started (repeated: true) and uses nothing more.

  • Before running, tell the user how many checks the run uses (q × e) and what get_answer_check_results' balance.left says is left; run when they agree.

  • Answers come in over a few minutes (up to about 12 per check); read them later with get_answer_check_results. A workspace has one run at a time: never call this again to wait for answers.

  • not_enough_answers: the run needs more checks than are left; nothing was used. Tell the user the numbers and the options in the message. run_in_progress: an earlier run is still asking; nothing was used; read its answers with get_answer_check_results and run again once running is 0. check_unavailable: Convika can't ask right now; nothing was used. no_brand / no_prompts: save them first with update_answer_check_prompts.

  • expectedBrandId: with get_brand's id, a connection that now works on another workspace asks nothing and uses no checks (brand_mismatch). Returns the run (answers, fromIncluded, fromPacks, all counted in checks; repeated when the key named an earlier run) and the balance left.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_answer_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
enginesNoThe AIs to ask; leave out for all four
promptIdsNoSaved question ids to ask; leave out to ask all of them
idempotencyKeyNoA new id for this run, such as a UUID; send the same one again only to retry a call that got no reply
expectedBrandIdNoThe workspace's id from get_brand. When the connection now works on another workspace (the dashboard's active workspace was switched), the call changes nothing and answers brand_mismatch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedBrandId / description
      Previous value: -"The brand's id from get_brand. When the connection now works on another brand (the dashboard's active workspace was switched), the call changes nothing and answers brand_mismatch."New value: +"The workspace's id from get_brand. When the connection now works on another workspace (the dashboard's active workspace was switched), the call changes nothing and answers brand_mismatch."
  3. Changed1 schema field changed
    • addedInput schema / properties / expectedBrandId
      Added value: +{
      +  "description": "The brand's id from get_brand. When the connection now works on another brand (the dashboard's active workspace was switched), the call changes nothing and answers brand_mismatch.",
      +  "maxLength": 100,
      +  "minLength": 1,
      +  "type": "string"
      +}
  4. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes far beyond the annotations by disclosing the cost model (q × e checks), the consumption order (monthly included checks first, then other checks oldest first), that failed or empty checks are refunded, and that answers arrive over minutes. It also enumerates error outcomes (not_enough_answers, run_in_progress, check_unavailable, no_brand/no_prompts, brand_mismatch) with what each consumes.

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?

Front-loads the user-facing trigger before the mechanics, so it is well ordered and every section carries information. It is nevertheless very dense, with long semicolon-chained sentences and parenthetical billing asides that could be split for faster scanning.

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 costly, asynchronous, side-effecting call with no output schema, the definition covers prerequisites, timing, refunds, concurrency limits, retry behavior, and the return shape (run plus balance). Nothing material an agent needs to invoke it safely is missing.

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

Parameters5/5

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

Schema coverage is already 100%, yet the description adds real meaning: promptIds are ids from get_answer_check_results' prompts, engines is a closed set of four, and expectedBrandId guards against a switched active workspace. The idempotencyKey retry contract ('call again with the same key... repeated: true') is semantics the schema alone does not convey.

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?

States a specific verb and resource ('Asks the workspace's saved questions on ChatGPT, Perplexity, Gemini, and Google AI Overviews') and opens with the user intent that selects it. It is clearly distinguished from get_answer_check_results (read answers later) and update_answer_check_prompts (save questions first), so an agent can route correctly without opening schemas.

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

Usage Guidelines5/5

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

Gives explicit trigger phrases in two languages, explicit defaults for omitted parameters ('leave it out to ask every saved question'), and an explicit when-not: 'A workspace has one run at a time: never call this again to wait for answers.' It also specifies a pre-call confirmation step against get_answer_check_results' balance.left.

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.