Skip to main content
Glama

Run AI Answer Check

run_answer_engine_check

Starts this week's AI answer check now, the same weekly run the schedule would start, and reports where it stands. There is at most one run per week, so calling it again returns that run with its progress (completed, failed and expected counts) and does not start a second. A workspace exempt from the weekly limit gets a new run instead once this week's run has finished; the earlier run and its answers are kept, and AI answers keeps showing them until the new run finishes. Also says when the next run is due, or why nothing was started: AI answer checks are off (an admin turns them on in Settings > Workspace; this tool does not), no buyer questions, or no market location. Covers every active market with a location; it takes no market. One run asks each active question in each such market it is asked in (its markets from save_strategy_item fields.marketIds, or every market when it has none) on 6 engines (ChatGPT, Gemini, AI Overview, AI Mode, Claude and Perplexity; Claude and Perplexity through their APIs with web search on, not the consumer apps); scope.summary states it as questions × engines = checks (× markets when more than one), and get_ai_visibility's nextAnswerCheck shows it before you start. When this week's run exists, scope is that run's. Limited to 10 calls a minute per workspace when rate limiting is configured; otherwise calls pass, and the one-run-a-week rule still holds for every other workspace. Related: get_ai_visibility, set_up_market.

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_engine_check"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
runNo
scopeYesWhat the run checks.
stateYes
appUrlYes
nextRunOnNoThe Monday the next weekly run is due, YYYY-MM-DD (UTC).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / scope
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "What the run checks.",
      +  "properties": {
      +    "summary": {
      +      "description": "The same line the app shows beside the button.",
      +      "type": "string"
      +    },
      +    "units": {
      +      "description": "How many checks, pages or questions.",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "units",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "state",
      -  "appUrl"
      -]New value: +[
      +  "state",
      +  "scope",
      +  "appUrl"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses the weekly one-run rule and that a repeat call returns the existing run with completed/failed/expected counts instead of starting a second — operationally important for a mutating trigger. It also covers the exemption path for workspaces without the weekly limit, the reasons nothing was started, the engine set with the Claude/Perplexity API caveat, the scope.summary shape, and a 10-calls-per-minute rate limit. One minor tension: the repeat-call behavior reads as more idempotent than idempotentHint=false, though the exempt-workspace rule and week boundaries reconcile it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The action is front-loaded, which is right, but the rest is one dense paragraph mixing idempotency, failure reasons, exemption behavior, engine plumbing, and rate limits with no separation. Detail such as 'Claude and Perplexity through their APIs with web search on, not the consumer apps' and the checks formula is heavier than a zero-argument tool needs, and the run-on sentence structure makes scanning harder than it should be.

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?

With an output schema present, return-shape explanation is not owed, and the description still covers the blocking conditions, the exempt-workspace case, the scope preview path, and rate limiting. For a trigger tool whose main risks are accidental double-runs and calls made while checks are disabled, nothing an agent needs in order 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?

There are zero parameters, so the schema baseline is already high. The description still adds real meaning by stating 'it takes no market' and that it covers every active market with a location, which preempts an agent trying to scope the call. Nothing further about arguments remains to be explained.

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 first sentence gives a specific verb and resource ('Starts this week's AI answer check now') and immediately scopes it as the same run the schedule would start. It also distinguishes it from the sibling it names, get_ai_visibility, whose nextAnswerCheck only previews the run. An agent can tell what this does and what it is not without opening anything else.

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?

Context is unusually clear: it names get_ai_visibility as the preview path ('shows it before you start'), set_up_market as related, and states the blocking condition (checks off — 'an admin turns them on in Settings > Workspace; this tool does not'). It stops short of an explicit when-to-use-vs-alternative rule such as why to trigger manually rather than wait for the schedule, so it is clear context rather than 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