Skip to main content
Glama

Tab 順序

tab_order

Records keyboard focus order by pressing Tab on a page and flags hidden focus targets, unnamed elements, missing focus indicators, positive tabindex values, and keyboard traps.

Instructions

実際に Tab キーを押してフォーカスの移動順を記録する。見えない要素へのフォーカス、名前のない要素、フォーカス表示の有無、正の tabindex、キーボードトラップを指摘する

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

Input Schema

NameRequiredDescriptionDefault
maxNoTab を押す最大回数
urlNo検査する URL。省略すると現在開いているページを検査

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose a meaningful trait — that real Tab keypresses occur, meaning page key handlers run and focus state changes — but it says nothing about permissions, browser/page requirements, side effects on the inspected page, or whether navigation happens when a URL is supplied.

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 short sentences: the mechanism first, then the enumerated findings. No filler, and the most decision-relevant information (actual keypress-driven measurement) is 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 two-optional-parameter tool with no output schema, the description covers both the mechanism and the categories of results returned, which is the right thing to spend words on. The remaining gap is the absence of any prerequisite or side-effect note given there are no annotations.

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%: both `max` (maximum Tab presses, 1–500) and `url` (defaults to the current page) are documented in the schema. The description adds no syntax or defaulting detail beyond that, so baseline 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?

"実際に Tab キーを押してフォーカスの移動順を記録する" states a specific verb (pressing Tab, recording order) and resource (focus order), and the mechanism separates it from static scanners like axe_scan or audit_urls. It stops short of naming a sibling alternative explicitly, so a 4 rather than a 5.

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 list of findings (invisible focused elements, unnamed elements, focus indicator presence, positive tabindex, keyboard traps) implies the use case of keyboard-accessibility inspection, but there is no explicit when-to-use, when-not, or alternative (e.g. static axe scan vs. real Tab walk).

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