Skip to main content
Glama

ページ構造

page_structure

Inspect a page’s heading outline, landmarks, language, title, skip links, iframes, and unlabeled form controls to find structural accessibility issues.

Instructions

見出しのアウトライン、ランドマーク、lang、タイトル、スキップリンク、iframe、ラベルのないフォーム部品を調べる

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "page_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo検査する URL。省略すると現在開いているページを検査

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. '調べる' (inspect) does signal a non-mutating read, and the enumerated checks tell the agent what the report covers, but nothing is said about whether navigation occurs, whether it requires a loaded page, or what form the findings take.

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?

One tight sentence listing seven checked artifacts with no filler or redundant restatement of the tool name. The structure is a plain enumeration, which is efficient though not especially front-loaded for a reader scanning for the primary action.

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 read-only, single-parameter inspection tool with rich schema coverage and no output schema, the enumeration of checked artifacts effectively doubles as a description of what the agent will get back. The remaining gap is the absence of any guidance on how the results are organized or reported, which is modest given the tool's simplicity.

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?

There is a single optional parameter at 100% schema description coverage, and the schema already explains the URL and the omit-to-inspect-current-page default. The description adds no extra meaning about that parameter, so the baseline of 3 applies.

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 pairs a clear verb (調べる/inspect) with an enumerated set of resources: heading outline, landmarks, lang, title, skip links, iframes, and unlabeled form controls. That enumeration implicitly separates it from siblings such as images, contrast_scan, tab_order, or axe_scan, but no sibling is named explicitly, which is what a 5 would require.

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?

There is no explicit when-to-use or when-not-to-use sentence; the intended situation (accessibility structure review of a page) is only implied by the list of artifacts checked. It also never says how to choose this over a general audit tool like axe_scan or audit_urls, so the agent must infer that from the check list alone.

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