Skip to main content
Glama

Run AI visibility check

run_ai_visibility_check
Destructive

Start an explicitly approved one-off paid AI check, preserving the schedule. It collects live answers, so results arrive within minutes. maxCostUsd is the runNowCostUsd the user approved from estimate_ai_visibility_cost; the check is refused if it now costs more. Only one check runs per project at a time. Returns a run immediately. Never call this tool to poll: use get_ai_visibility_run with the returned run ID.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "maxCostUsd": "<maxCostUsd>"
    },
    "name": "run_ai_visibility_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYes
promptIdsNo
maxCostUsdYesThe most the user approved for this one check: runNowCostUsd from estimate_ai_visibility_cost. The check is refused if its current cost is higher.

Output Schema

NameRequiredDescriptionDefault
codeNo
dataNo
metaNo
runIdNo
statusYes
messageNo
recoveryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the operation is paid, that a cost ceiling is enforced and the call is refused if the price rose, that only one run per project may be in flight, that the response is immediate rather than the finished results, and that the existing schedule is preserved. These are exactly the failure modes and side effects an agent needs for a destructive, open-world mutation.

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

Conciseness5/5

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

Front-loaded with the action and its approval precondition, then the cost guard, then the concurrency limit, then the routing instruction. Every sentence carries distinct information — even the 'results arrive within minutes' line sets a latency expectation that prevents premature polling.

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?

Strong for a mutation tool: output schema exists so return shape needn't be described, and the description still says what comes back and how to follow up. The one real gap is the unexplained promptIds parameter, which is the difference between a targeted and a full-scope paid run.

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?

maxCostUsd is explained twice (behavioral contract plus refusal rule), which is valuable, but that same text already lives in the schema description. With only 33% schema coverage, projectId and especially promptIds get no treatment in the description — an agent cannot tell from this text whether omitting promptIds means all prompts or none, which is a meaningful ambiguity for a paid call.

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?

Specific verb and resource ('Start an ... one-off paid AI check') with explicit scope qualifiers: one-off rather than scheduled, paid rather than free, and schedule-preserving. This clearly distinguishes it from set_ai_visibility_schedule and from the read-side siblings like get_ai_visibility_run.

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 the prerequisite chain (maxCostUsd must be the runNowCostUsd the user approved from estimate_ai_visibility_cost) and an explicit negative instruction: 'Never call this tool to poll: use get_ai_visibility_run with the returned run ID.' It also states the concurrency condition (only one check per project at a time), which tells the agent when a call will fail.

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