Skip to main content
Glama

Stop a deployment

edgegap_stop_deployment
DestructiveIdempotent

Gracefully stop one Edgegap deployment by exact request_id, sending SIGTERM to its container. For deployments not started by this server, set confirm to true after reviewing the preview.

Instructions

Gracefully stop one deployment by request_id, sending SIGTERM to the container. Stop every deployment you started for testing before ending your task. This tool stops exactly one deployment, named by its exact request_id: empty IDs, wildcards and lists are refused, and bulk stop is deliberately not exposed. A deployment this server started (tagged "edgegap-mcp") stops right away; any other running deployment may be serving players, so without confirm: true the result only previews it and nothing is sent.

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": {
      "request_id": "<request_id>"
    },
    "name": "edgegap_stop_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoSet true only after the developer approved this exact call. Without it nothing is sent: the result previews what would be stopped or deleted (status "confirmation_required").
dry_runNoShow the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.
request_idYesThe exact request_id of the one deployment to stop, e.g. "61b1be8f54d9".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.19.0
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Set true only after the developer approved this exact call. Without it nothing is sent: the result previews what would be stopped or deleted (status \"confirmation_required\").",
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changedv0.5.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "Show the exact request (method, host, path, body) with secrets masked, and send nothing. Local checks still run. Use it to confirm a billable or destructive call before making it.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / request_id / description
      Previous value: -"The request_id of the deployment to stop."New value: +"The exact request_id of the one deployment to stop, e.g. \"61b1be8f54d9\"."
  3. First observedv0.1.2

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known; the description goes well beyond that by disclosing the confirmation gate, the difference between server-tagged ("edgegap-mcp") deployments that stop immediately and untagged ones that may be serving players, and the "confirmation_required" preview outcome. That is exactly the behavioral context an agent needs to avoid an accidental player-facing outage.

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 verb and mechanism, then scope limits, then the confirmation rule — a sensible order with no filler sentences. There is mild redundancy between "stops exactly one deployment" and "empty IDs, wildcards and lists are refused... bulk stop is deliberately not exposed," which could be tightened.

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?

For a destructive single-object mutation with no output schema, the description covers safety gating, scope, and the preview outcome well enough to call it correctly. It does not describe what a successful stop returns (final status, timing of SIGTERM handling), which is the only notable hole given there is no output schema.

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 the schema does not: that request_id must be exact and that empty IDs, wildcards and lists are refused, plus the tie between the "edgegap-mcp" tag and whether confirm is required. The dry_run parameter is left entirely to the schema, but the added validation and confirmation semantics justify a bump.

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 description names a specific verb and resource ("Gracefully stop one deployment by request_id") and even the underlying mechanism (SIGTERM to the container). It explicitly bounds scope to exactly one deployment, which separates it from any bulk or delete behavior an agent might otherwise assume from the sibling list.

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?

Gives an explicit when-to-use imperative ("Stop every deployment you started for testing before ending your task") and clear when-not conditions (no empty IDs, wildcards, lists, no bulk stop). What it lacks is a named alternative for the bulk case — it says bulk stop is "deliberately not exposed" but does not route the agent anywhere, leaving a small inference gap.

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