Skip to main content
Glama

three_live_gym_close

Read-onlyIdempotent

End a gym episode and free its session using the sessionId from reset; sessions beyond 16 are evicted oldest first.

Instructions

End a gym episode and free its session (sessions are also evicted, oldest first, beyond 16).

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": {
      "sessionId": "<sessionId>"
    },
    "name": "three_live_gym_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdYesId returned by three_live_gym_reset.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.1

TDQS

A3.6/5.0
Behavior3/5

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

The description adds real behavioral context beyond the annotations: it says that sessions are evicted oldest-first when there are more than 16 live sessions, which discloses a capacity limit. It also uses "End" and "free", wording that arguably sits awkwardly beside readOnlyHint=true, even though the annotation likely means there is no data mutation. It does not say what happens when you close an already-closed or unknown sessionId, although idempotentHint partially covers repeats.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One tightly written sentence front-loads the action and puts the capacity rule in a parenthetical. No filler or redundancy.

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?

This is a simple single-parameter operation, and its annotations cover read-only status, idempotency, and closed-world behavior, while there is no output schema to explain. The description covers purpose and the session-capacity behavior. The main remaining gap is failure behavior for an invalid or expired sessionId.

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?

There is one parameter, schema coverage is 100%, and the schema already explains that sessionId is the "Id returned by three_live_gym_reset." The description adds no further parameter detail, so the schema does all the work and the baseline of 3 applies. The eviction note does not clarify the parameter's format or provenance.

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 names a specific verb and resource: "End a gym episode and free its session." That is clearly distinct from the sibling operations three_live_gym_reset (start), three_live_gym_step (advance), and the bake/render/sim tools. It does not explicitly contrast itself with a sibling, so it falls 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 Guidelines3/5

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

Usage is only implied: an agent infers that this is the teardown counterpart to three_live_gym_reset. The description never states when to call it (for example, after a terminal step) or what to do instead if the session is still needed. The pairing with reset is only hinted at indirectly, through the sessionId schema text.

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