Skip to main content
Glama

Kill the game immediately

game_terminate
Destructive

Terminate a frozen Garry's Mod game process when the main thread is stalled, without saving config or performing a clean shutdown; optionally relay to another instance.

Instructions

Kills this game process at once (no config saved, no clean shutdown), from the network thread, so it works even when the game is frozen (infinite loop, status main_thread_stalled). The answer {terminating, pid, main_thread_stalled, last_tick_age_s} is sent first, then the process ends after delay_ms. With instance, the coordinator relays it to that game. Never use it on the user's own game unless they ask.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "game_terminate"
  }
}

Input Schema

NameRequiredDescriptionDefault
delay_msNoDelay before termination (default 200, to let the response go out).
instanceNoOptional. Instance identifier (see instances_list). If present and different from the local instance, the call is relayed by the coordinator to that instance.

Output Schema

NameRequiredDescriptionDefault
pidNo
nextNo
noteNo
warningNo
next_callNo
answered_byNo
terminatingYes
truncated_noteNo
last_tick_age_sNo
version_warningNo
main_thread_stalledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.7

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses that no config is saved, the kill is issued from the network thread, the JSON answer is sent before the process dies, delay_ms governs the wait, and coordinator relaying applies when `instance` is set — exactly the operational context an agent needs before firing a destructive call.

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?

Sentences are front-loaded (the kill semantics first, delivery mechanics second, routing third, the safety caution last) and every clause carries information. It is dense but there is no filler; a slightly tighter ordering of the caution would make it a 5.

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 destructive, zero-required-param tool with an output schema, this covers everything: what is lost, when it is safe, how the response is delivered, and how remote instances are reached. Nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains why delay_ms exists (letting the response go out first) and that `instance` triggers coordinator relay to a remote game, reinforcing the schema's own note.

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?

The first clause states a specific verb and resource — 'Kills this game process at once' — and immediately qualifies it as 'no config saved, no clean shutdown,' which distinguishes it behaviorally from a graceful quit sibling like game_quit without needing to name it.

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?

It gives a clear use condition ('works even when the game is frozen (infinite loop, status main_thread_stalled)') and an explicit exclusion ('Never use it on the user's own game unless they ask'). The only gap is that the graceful alternative (game_quit) is only implied through 'no clean shutdown' rather than named.

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