Skip to main content
Glama

Đóng phiên và xuất báo cáo kiểm thử

tester_browser_finish

Records browser test actions and assertion outcomes, returns PASS/FAIL/BLOCKED, and saves the report to the specified project.

Instructions

Ghi lại các thao tác cùng kết quả assertion, trả về PASS/FAIL/BLOCKED và lưu báo cáo đúng dự án.

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>"
    },
    "name": "tester_browser_finish"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.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 burden. It does disclose two useful traits: the write side effect of saving a report into the project, and the fact that it returns a tri-state verdict (PASS/FAIL/BLOCKED). It does not say whether the browser session is closed, whether the call is idempotent or repeatable, or what preconditions/failure modes exist, which leaves meaningful gaps for a session-finalizing mutation.

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?

A single compact sentence that front-loads the recording behavior and ends with the report-persistence outcome. It is dense but contains no filler; the slight run-on quality and lack of an explicit lead verb for 'finish the session' cost it one point.

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 one-parameter, annotation-free, no-output-schema tool this is close to adequate, since the return verdict is enumerated in the description. Still missing are the session lifecycle semantics (does it end the run?), ordering relative to assert/step tools, and behavior when assertions are incomplete or failed.

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 0% and the single parameter 'project' is only typed as a string, so the description must compensate. It adds real meaning by indicating the project determines where the report is saved ('lưu báo cáo đúng dự án'), but it gives no format hint (ID, slug, or name) or what happens if the project is wrong or unknown.

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 concrete actions and outputs: it records the performed actions together with assertion results, returns a PASS/FAIL/BLOCKED verdict, and persists the report to a project. That is a specific verb+resource mix an agent can recognize as a finalization/reporting step. It does not explicitly name a sibling to distinguish itself from, and it omits the session-closing aspect that the title carries, so it stops short of 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 Guidelines2/5

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

There is no guidance on when this should be called, e.g. at the end of a test run after tester_browser_step/tester_browser_assert calls. No alternatives or exclusions are mentioned, and the agent must infer that this is a terminal step rather than an ongoing recording tool.

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