Skip to main content
Glama

画像と代替テキスト

images

Audits img, SVG, role=img, image inputs, and area elements by classifying alt text, decorative alt, missing alt, and missing names; flags filename-only or generic alt text and unnamed linked visuals.

Instructions

img / svg / role=img / input[type=image] / area を一覧にし、代替テキストあり・装飾(alt="")・alt 属性なし・名前なしに分類する。ファイル名や「画像」だけの alt、リンク画像の名前抜けなども指摘する

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does well: it discloses the diagnostic heuristics it applies — flagging filename-only or 'image'-only alt text and missing accessible names on link images. It does not state that the operation is read-only or describe the result payload, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences structured as inspection scope followed by classification and extra checks, with zero filler. The element selectors come first and the diagnostic rules follow, so it is properly front-loaded.

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, the description is nearly complete: it defines what is enumerated and how results are bucketed, plus notable edge-case findings. The remaining gap is that, with no output schema and no annotations, it does not describe the shape of the returned data.

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%, and the single 'url' parameter is fully documented in the schema (including the default of inspecting the currently open page). The description adds no parameter meaning beyond that, so the baseline 3 applies.

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?

The description names a specific verb pair (一覧にする・分類する) and the exact resources inspected: img / svg / role=img / input[type=image] / area. The four alt-text categories (あり・装飾 alt=""・alt 属性なし・名前なし) make the scope of this tool unmistakable and clearly distinct from broad scanners like axe_scan or audit_urls.

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?

The classification scheme implies when the tool is appropriate (auditing image accessibility), but there is no explicit statement of when to choose it over axe_scan or contrast_scan, nor any when-not or prerequisite guidance. Usage is inferable but not spelled out.

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