Skip to main content
Glama

AI ghi nhận lỗi giao diện bằng bằng chứng hình ảnh

tester_browser_visual_finding

Record visual QA findings—layout, responsive, contrast, typography, spacing, interaction defects or improvements—with screenshot evidence and reproduction steps in project reports.

Instructions

Sau khi nhìn ảnh qua tester_browser_see, model ghi lỗi bố cục, responsive, màu chữ, khoảng cách, nút che khuất hoặc đề xuất thẩm mỹ. Tự chụp ảnh bằng chứng và đưa vào báo cáo QA theo dự án. Đánh giá thẩm mỹ của AI được đánh dấu REVIEW_REQUIRED.

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": {
      "project": "<project>",
      "kind": "<kind>",
      "category": "<category>",
      "severity": "<severity>",
      "description": "<description>"
    },
    "name": "tester_browser_visual_finding"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
projectYes
categoryYes
expectedNo
observedNo
severityYes
suggestionNo
descriptionYes
reproductionStepsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3/5.0
Behavior2/5

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

There are no annotations, so the description must fully explain the tool's behaviour. It does well to disclose that it automatically captures evidence screenshots and files the finding into a per-project QA report, and that AI-generated aesthetic judgements are flagged REVIEW_REQUIRED. However, it omits whether findings are persisted, whether duplicate calls create duplicates, what the response contains, and what happens if screenshot capture fails. For an unannotated write tool, these are significant 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?

Three sentences, front-loaded with the workflow trigger and the defect categories, with no filler. The phrase "bằng bằng chứng hình ảnh" in the title is a minor repetition, but the description itself is tight.

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?

Given nine parameters, five of them required, no annotations and no output schema, the description covers the trigger and side effects but leaves the severity model, the expected and observed fields, and the report structure unexplained. It is adequate to attempt a call, but not to use the tool correctly in ambiguous cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across nine parameters, so the description must document them itself. It indirectly touches the category enum (layout, responsive, colour, spacing, obscured buttons), the defect-versus-improvement kind, and the project scoping. It gives no explanation of severity, expected, observed, suggestion, or reproductionSteps, which are five of the nine parameters. It therefore covers less than half of the input surface.

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 states a specific verb and resource: the model "ghi lỗi bố cục, responsive, màu chữ, khoảng cách, nút che khuất" (records layout, responsive, font colour, spacing, hidden-button defects) and aesthetic suggestions. It also names its prerequisite sibling tester_browser_see, so the agent can distinguish it from a pure observation tool. It is not fully differentiated from siblings such as tester_browser_layout_audit or tester_browser_accessibility_audit.

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 description gives a clear ordering rule: use this tool after viewing an image through tester_browser_see. However, it never states when NOT to use it, nor how it relates to layout_audit, accessibility_audit or inspect, which likely overlap. The agent must infer that this is the recording step rather than the detection step.

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