Skip to main content
Glama
oracle-playtest-gate
by paul1064

playtest_audit_html

Audit HTML/JS source for Fresh-Eyes UX traps like dead links, QWERTZ dead-key shortcuts, terminal focus loss, unvalidated placeholders, and anti-slop layout issues before release.

Instructions

Audit HTML/JS source for Fresh-Eyes UX traps (dead links, QWERTZ dead-key shortcuts, terminal focus loss, unvalidated placeholders, and anti-slop layout issues).

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": {
      "html": "<html>"
    },
    "name": "playtest_audit_html"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYesRaw HTML/JS markup to audit.
fileNameNoLogical file name for reporting (default 'index.html').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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. It usefully discloses the detection categories, which is real behavioral content, but never states that the operation is read-only/non-mutating, whether it returns findings versus a formatted report, severity levels, or any size/performance limits on the input.

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 front-loaded sentence with no filler; the parenthetical taxonomy is dense but each item is informative. Slightly long enumeration, but nothing is redundant.

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?

For a two-parameter static analysis tool with no output schema, the definition should say roughly what comes back (a findings list, per-file report, severity ranking) and whether the audit is purely local. That return-shape gap is the main missing piece; the input side is fully covered by the schema.

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 coverage is 100% with both parameters self-documented, so the baseline of 3 applies. The description adds nothing about the html payload format (fragment vs full document) or how fileName influences reported paths beyond what the schema already 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?

States a specific verb and resource ('Audit HTML/JS source') and enumerates the exact defect classes checked (dead links, dead-key shortcuts, terminal focus loss, unvalidated placeholders, layout issues). An agent knows precisely what the tool scans. It does not differentiate against siblings, though the sibling names are unrelated domains, so the omission costs little.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance, no prerequisites, and no mention of an alternative for markup that isn't HTML/JS. The agent must infer that this is a pre-flight static check by reading the noun 'audit' alone.

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