Skip to main content
Glama

OpenFactory

finish_verification_session

Hand the current phase in. The platform seals its recording.

Hands in the phase get_verification_session named. This is irreversible: once finishing is requested the phase cannot be cancelled or reopened.

Finish only after walking every independent claim; bind each observed defect to a failed step and continue checking unrelated claims.

If the build has an installed phase and you finish the LIVE phase with passed or failed, the platform installs the image to disk and boots it (status installing); poll get_verification_session until the installed phase is ready, show the claims again there, and finish it the same way. Finishing the live phase with error or skipped stops before installation. A failed phase still gets independent grading of its recording and native command facts; its valid checks stay passed, while the artifact cannot be certified. Otherwise the platform judges what was recorded: read the verdict with get_test_results and get_test_run_screenshot(run_id, "session-judge"); only a judged pass of every phase can certify the build.

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": {
      "status": "<status>"
    },
    "name": "finish_verification_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoWhat you verified and anything you could not verify, in plain words
statusYesPhase completion: passed if you found no defects; failed if you found defects after checking the remaining independent claims. Both submit all evidence for independent grading and continue to the installed phase when required. A failed check does not justify ending early. Use error or skipped only when meaningful or safe continuation is blocked; explain why in notes. These stop before installation.
api_keyNoYour OpenFactory MCP API key, unless it is already the Authorization header
build_idNoThe build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it.
session_tokenNoSession token from a previous tool response (a guest cannot verify)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden and does so: it discloses irreversibility ('the phase cannot be cancelled or reopened'), the side effect of installing and booting the image to disk, and that a failed phase still receives independent grading while the artifact cannot be certified. This is unusually rich behavioral context for a mutation tool with zero annotation coverage.

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?

The key constraint and the irreversibility warning are front-loaded, and nearly every sentence conveys new workflow information. The prose is dense with run-on constructions and nested conditionals ('If the build has an installed phase and you finish the LIVE phase with...') that reduce readability slightly.

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 multi-phase, side-effecting workflow tool with an output schema, the description covers the sequencing, the installation side effect, the grading model, and the follow-up verification calls. Remaining gaps are minor, mainly the unexplained distinction between platform goal sessions and public-surface sessions, which is left to 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 description coverage is 100%, so the schema already documents notes, status, api_key, build_id, and session_token in detail. The description reinforces the consequences of the status values but adds little parameter meaning beyond what the schema states, so the baseline 3 is appropriate.

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: hand in the current verification phase, which seals its recording. It also implicitly distinguishes itself from get_verification_session, which is described as the read/poll counterpart. The 'phase' concept is jargon that only becomes clear later in the text, which keeps it from 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 Guidelines5/5

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

Gives explicit preconditions ('Finish only after walking every independent claim; bind each observed defect to a failed step and continue checking unrelated claims') and explicit status routing: passed/failed continue to installation, error/skipped stop before it. It also tells the agent to poll get_verification_session and repeat the finish on the installed phase.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.