Skip to main content
Glama

Stop a briq

briq_stop
Idempotent

Stop a briq; its disk is kept and it stays stopped until briq_start. Pass mode: "cold" to discard its memory snapshot so the next start boots the image. A cold stop is accepted only while running. A stopped briq is not billed. Pass wait: false to return after the move is queued; a stop during starting is refused. With wait: false, an already pending move returns invalid_state; read status instead of retrying. By default, returns once it lands (up to 30 s); a state of stopping, starting or destroying means it is still on its way. With default waiting, calling again follows the same move.

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": {
      "briq": "<briq>"
    },
    "name": "briq_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
briqYes
modeNo
waitNoWait for completion (default true); false returns after queuing

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / wait
      Added value: +{
      +  "description": "Wait for completion (default true); false returns after queuing",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / mode
      Added value: +{
      +  "const": "cold",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by disclosing billing impact, disk persistence, the consequence of cold mode (memory snapshot lost), the 30 s default wait ceiling, and which returned states mean the move is still in flight. It also confirms the idempotent annotation behaviorally ("calling again follows the same move"). No contradiction with the declared hints.

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?

Front-loaded with the core effect and then layered with modes and edge cases; nearly every clause carries information. It is dense — several semicolon-joined ideas per sentence — but not padded, with only minor compression possible.

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?

With no output schema, the description still tells the agent what to expect on return (lands within ~30 s, or a stopping/starting/destroying state indicating in-progress) and how to handle the non-waiting case. Nothing material for correct invocation is missing for a three-parameter mutation tool.

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 only 33% (only wait is documented), but the description compensates by explaining the meaning and legal value of mode ("cold") and the full semantics of wait:false including the queued return, the invalid_state outcome, and the default blocking behavior. The briq identifier itself is left to the schema pattern, which is reasonable.

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?

Opens with a specific verb and resource ("Stop a briq") and immediately scopes it against siblings by noting the disk is kept and it stays stopped until briq_start — implicitly distinguishing it from a destroy. An agent can tell what this does without opening the schema.

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?

Explicitly gives the conditions for each path: use mode "cold" to discard the memory snapshot, cold is only accepted while running, wait:false for fire-and-forget, stop during starting is refused, and on a pending move read status instead of retrying. This is close to a complete decision table.

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.