Skip to main content
Glama

Stop a playtest

gamealia_playtest_stop

Ends a playtest session and closes its browser page, returning a pass/warn/fail summary with steps responded, gameplay start, ad counts and console errors. Call it when finished playing to free the browser.

Instructions

Ends a session started by gamealia_playtest (waits for its pending action, then closes the browser page; the session id stops working) and returns the summary: verdict pass/warn/fail with a message, steps and how many got a response, whether gameplay started, happy times, ad requests and ads shown, console errors and whether it crashed. Call it when done playing, so the session does not hold a browser until it expires.

Input Schema

NameRequiredDescriptionDefault
sessionIdYesSession id returned by gamealia_playtest

Output Schema

NameRequiredDescriptionDefault
nextYes
stepsYes
errorsYes
crashedYes
messageYes
verdictYes
adsShownYes
adRequestsYes
happyTimesYes
gameplayStartedYes
respondingStepsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.18
    • addedInput schema / properties / sessionId / description
      Added value: +"Session id returned by gamealia_playtest"
  2. First observedv0.1.17

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare it is not read-only, not idempotent, and not destructive; the description adds substantive context beyond that — it waits for a pending action before closing the browser page, invalidates the session id, and terminates the browser. That invalidation detail is exactly the kind of consequence an agent needs before calling it, though it does not discuss failure behavior if the session is already gone.

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?

Purpose is front-loaded in the first clause, side effects follow in parentheses, and the call-to-action closes the text. The enumerated return-summary list is somewhat redundant given an output schema exists and makes the first sentence long, but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter session-termination tool this covers the full picture: what it terminates, the sequencing behavior, the post-condition (session id dead), and when to invoke it. Return values are also sketched, so even without consulting the output schema an agent knows what comes back.

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% and the single parameter is documented as "Session id returned by gamealia_playtest", so the schema already carries the semantics. The description only indirectly reinforces this by noting the id stops working afterwards; baseline 3 applies when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Ends a session started by gamealia_playtest") and explicitly names the sibling that creates the session, so an agent can pair playtest/playtest_stop without inspecting schemas. The parenthetical side effects and return summary further pin down what the tool is.

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

Usage Guidelines4/5

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

"Call it when done playing, so the session does not hold a browser until it expires" gives a clear trigger plus the reason, and the opening clause ties it to sessions created by gamealia_playtest. No explicit when-not guidance is needed since no sibling competes for this job, but the exclusion case is left implicit.

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