Skip to main content
Glama

Check page

check_page

Use when you deployed or edited a page and need to catch visual regressions and content changes: it compares the live URL with a baseline captured on the first call, a snapshot or a production URL, and answers the regressions. Free up to 100 pages per client address per day, no key needed.

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": "check_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe live page to check (full URL).
baselineNoWhat to compare against: a saved snapshot ({ snapshotId, shareToken? }) or a production origin ({ productionUrl }). Omit it to use the baseline the first call captured.
checkModeNofull (existence, content and visual, the default), text-only (no screenshots) or existence-only.
rebaselineNoCapture a new baseline now instead of comparing with the stored one.
maxPriceUsdNoSpend cap in USD: a job priced above it is refused before any challenge.
viewportWidthNoCapture width in px (default 1440).
idempotencyKeyNoRetry key: under a prepaid balance, the same value within 24 hours is not charged again and answers DUPLICATE_REQUEST with the first jobId.

Output Schema

NameRequiredDescriptionDefault
okNo
urlNo
codeNo
errorNo
jobIdNo
sampleNo
statusNo
paymentNo
baselineNo
jobTokenNo
followUpsNo
httpStatusNo
regressionsNo
pagesChargedNo
pagesCheckedNo
allowanceRemainingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / idempotencyKey / description
      Previous value: -"Optional opaque string a retry repeats: under a prepaid balance the same value within 24 hours is not charged again and answers DUPLICATE_REQUEST with the jobId of the first call."New value: +"Retry key: under a prepaid balance, the same value within 24 hours is not charged again and answers DUPLICATE_REQUEST with the first jobId."
    • changedInput schema / properties / maxPriceUsd / description
      Previous value: -"Optional spend cap in USD. A job priced above it is refused before any challenge, so an auto-paying client is never asked for more."New value: +"Spend cap in USD: a job priced above it is refused before any challenge."
  2. Changed1 schema field changed
    • addedOutput schema / properties / followUps
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only flag it as a mutating, open-world, non-idempotent call; the description adds real context beyond that — quota (100 pages per client address per day), keyless access, and the fact that the first call captures and stores a baseline, which explains the statefulness implied by idempotentHint=false. It does not disclose the job lifecycle (whether the call blocks or returns something to poll), which matters given the wait_for_comparison and get_report siblings.

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?

A single front-loaded sentence beginning with "Use when" puts the trigger first and then explains the comparison. It is dense but every clause carries information; the trailing quota/auth clause slightly overloads the sentence and could stand apart, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Seven parameters, full schema coverage, an output schema, and annotations mean most burden is carried elsewhere, and the description covers cost control and quota. The notable gap is workflow: with wait_for_comparison and get_report as siblings, an agent needs to know whether check_page returns immediately with a jobId or blocks for results, and the description's "answers the regressions" is silent on that.

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?

Schema description coverage is 100%, including the baseline union, checkMode enum values, and idempotencyKey retry semantics, so the schema already carries the parameter burden. The description restates the three baseline options (first-call baseline, snapshot, production URL) without adding format or tradeoff detail beyond what the schema says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: it compares a live URL against a baseline (captured on first call, a snapshot, or a production origin) to surface visual regressions and content changes. The purpose is unambiguous, but it never names an adjacent tool (e.g. diff_deploy or capture_screenshot) to draw the boundary, so an agent must infer the distinction.

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?

"Use when you deployed or edited a page and need to catch visual regressions" gives a concrete triggering condition, which is stronger than most definitions. It stops short of saying when NOT to use it or which sibling to pick instead, and the free-quota note is framed as a limit rather than 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