Skip to main content
Glama

Trigger page scan

trigger_page_scan

Trigger a new scan of a single page on a domain available to this key. The domain must already be tracked in benchmarq (onboard it at app-benchmarq first) -- new, never-before-tracked domains are rejected; call get_tracked_domains (or read the benchmarq://domains resource, if this client supports resources) to see which domains are available before calling this. Scans triggered here never elevate past the account's default scan tier, so only static checks actually run -- app (ARO) and ecom (ACO) pillars will be null on a scan started this way, regardless of the account plan. The scan's own reported "profile" field may still say "all" (that reflects what was requested/defaulted, not what actually ran) -- app/ecom not running is expected, not a sign something went wrong. Consumes one scan credit. Returns a jobId immediately; use get_scan_status to check progress, then get_page_scores, get_page_issues, or get_page_report once it completes -- the jobId alone is enough for all of those, now or later, no other credential needed. A page scan usually finishes within 120 seconds -- wait at least 15 seconds before the first get_scan_status call, and space subsequent calls at least 15-20 seconds apart rather than polling continuously.

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": {
      "url": "<url>"
    },
    "name": "trigger_page_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

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 (readOnlyHint=false, idempotentHint=false, openWorldHint=true) by disclosing that scans never exceed the default tier, that app/ecom pillars will be null, and that the reported 'profile' may misleadingly say 'all'. It also documents credit consumption, async jobId return, the absence of a credential requirement for follow-ups, and expected timing/polling cadence.

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 core action and prerequisite before caveats, and nearly every sentence carries operational value. It is dense for a one-parameter tool — the profile-field and polling guidance could be tightened — but nothing is filler.

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 an async, credit-consuming, externally-visible operation with no output schema, the description covers prerequisites, cost, return value (jobId), downstream tool chain, and latency expectations. An agent has everything needed to call it and act on the result.

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?

The single url parameter has 0% schema description coverage, so the description must carry the load; it implies a page URL whose domain is tracked, but never states the required format (scheme/host), length limit, or that query strings/fragments are or aren't accepted. Partial compensation for the coverage gap, but not full.

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 ('trigger a new scan of a single page') and scopes it to domains available to the key. It is clearly differentiated from siblings like get_scan_status and get_page_scores, which it names as follow-ups rather than substitutes.

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 preconditions: the domain must already be tracked in benchmarq and must be onboarded at app-benchmarq first, otherwise the call is rejected. It also names the exact tools/resources to use for verification (get_tracked_domains, benchmarq://domains) and routes progress-checking to get_scan_status.

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