Skip to main content
Glama

check_page_file

Checks a saved .html file locally for missing titles, descriptions, headings, alt text, labels, mixed content, and security issues such as insecure forms, unverified external files, and inline code.

Instructions

Check a saved .html file in the working folder: titles, descriptions, headings, alt text, labels, mixed content, and with security=true forms over http, files from other sites without integrity checks, inline code. Local only, no network. 'address' is the real web address of the page (only needed for the https checks).

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": {
      "path": "<path>"
    },
    "name": "check_page_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
addressNo
securityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and does well: it discloses that the operation is local-only with no network access, which checks run by default, and precisely what security=true adds (http forms, third-party files without integrity, inline code). It omits how results are reported and whether the run is read-only, which are the remaining gaps.

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?

The check list is front-loaded in the first sentence, followed by two short sentences covering the network boundary and parameter meaning. Dense but every clause carries information; the enumeration is long but functional rather than padding.

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?

For a three-parameter tool with no output schema and no annotations, the definition covers scope, safety boundary, and the two optional parameters. Only the shape of the returned findings is unspecified, which is a minor omission given the enumerated check categories imply the report contents.

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 0%, so the description must compensate and largely does: 'address' is defined as the real web address used only for https checks, and 'security' is given concrete meaning. 'path' is only implied via 'a saved .html file in the working folder' rather than tied to the parameter name, leaving a small gap on the required argument.

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?

States a concrete verb and resource ('Check a saved .html file in the working folder') and enumerates the checks performed (titles, headings, alt text, mixed content). The phrase 'Local only, no network' implicitly separates it from a live-site checker like check_site, though it never names the sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Conveys context of use — a previously saved local .html file — and signals that security checks are opt-in via security=true. It does not state when to prefer this over check_site or any other sibling, nor any prerequisites or failure conditions, so guidance is implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.