Skip to main content
Glama

AfterLaunch: the growth agent for your product

Run AI visibility scan

refresh_scan
Destructive

SPENDS MONEY: Costs 1 to 19 credits by plan; a connected key reads its own price here. Runs an on-demand AI visibility scan (scan='ai_visibility'), the GEO measurement of how the answer engines represent this product against its competitors. Needs the 'write' scope, a paid plan and an Idempotency-Key you mint. Bounded by the balance and per-tenant caps. One scan per type per product per local day; a repeat that day replays the original result, regardless of the key.

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": {
      "scan": "<scan>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "refresh_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
scanYesThe scan to refresh. Only 'ai_visibility' today.
idempotency_keyYesClient-minted key (1-200 chars). Reuse the same key on a retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Client-minted key (1-200 chars), required for contract stability. The scan itself is limited to one per scan type per product per local day; repeats replay the original result."New value: +"Client-minted key (1-200 chars). Reuse the same key on a retry."
  2. 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 (readOnlyHint=false, destructiveHint=true, openWorldHint=true) by quantifying the cost (1-19 credits by plan, key-dependent), naming the required scope and paid-plan prerequisite, disclosing balance/cap enforcement, and explaining the daily dedup rule that makes the Idempotency-Key ineffective after the first scan of the day. That last point is a behavioral trait an agent could not infer and could otherwise cause a failed cost expectation.

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 highest-stakes fact ('SPENDS MONEY') and packs cost, prerequisites, limits, and dedup into a compact block with no filler sentences. It is a dense clause chain rather than clearly separated lines, which slightly slows scanning, but nothing is redundant.

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 two-parameter mutation tool with no output schema, the description covers everything an agent needs before invoking: cost, authorization scope, plan requirement, quota bounds, and the replay/idempotency semantics. Return values are not described, but the tool lacks an output schema and the definition's contract-level concerns are all addressed.

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, but the description adds real meaning: it explains that only 'ai_visibility' is currently valid, that the idempotency key is client-minted, and — crucially — that the same-day replay happens 'regardless of the key', which changes how an agent should reason about that parameter. It does not describe key length or format beyond the schema, keeping it just below a 5.

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 (runs/refreshes) plus the exact resource (an on-demand AI visibility scan, scan='ai_visibility') and even glosses the domain concept ('GEO measurement of how the answer engines represent this product against its competitors'). This clearly separates it from read-side siblings like get_visibility or get_scoreboard, which cannot be confused with running a new paid scan.

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?

Usage conditions are explicit: on-demand invocation, requires the 'write' scope and a paid plan, and is bounded by balance and per-tenant caps. It also states the re-run policy (one scan per type per product per local day; repeats replay the original). It stops short of naming a read-only alternative for an agent that only wants existing results, so it is strong but not fully routing-complete.

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.