Skip to main content
Glama

OpenFactory

finish_app_test

Finalize an app test run with its verdict.

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

Input Schema

NameRequiredDescriptionDefault
notesNoVerdict summary (what passed/failed and why)
run_idYesThe app test run ID from start_app_test
statusYesFinal verdict: passed | failed | error | skipped
api_keyNoYour OpenFactory MCP API key (optional)
lease_tokenNoIf start_app_test leased the VM from the pool, pass the lease_token it returned here to release the VM back to the pool.
session_tokenNoSession token from a previous tool response (pass this to maintain session continuity)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/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 says 'Finalize' but does not disclose whether the run is locked after finalization, whether it can be re-finalized, what permissions or API key are needed, or that a leased VM is released. The lease_token detail lives only in the schema, not the description.

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 front-loaded sentence with no filler. It is efficient, though its brevity borders on under-specification given the tool's mutation semantics.

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?

The input schema is fully documented and an output schema exists, so the description need not explain return values. However, for a six-parameter mutation tool with no annotations, it leaves the terminal-state and re-invocation behavior unstated.

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 every parameter, including the status enum values and lease_token semantics, is already documented in structured fields. The description adds no parameter-level meaning beyond the schema, which is the expected baseline here.

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: 'Finalize an app test run with its verdict.' An agent can tell this is the terminal step of an app test, but nothing in the wording distinguishes it from siblings such as finish_verification_session or cancel_app_test_group.

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 explicit when-to-use or when-not-to-use guidance. The word 'Finalize' implies it follows start_app_test and that a verdict is required, but the description never names an alternative, a precondition, or a case where another tool should be used instead.

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.