Skip to main content
Glama

Teardown App

teardown_app
Destructive

Stops the app on a specified node by running make down MCP=true and deletes its InfluxDB/Grafana volumes, cleaning up deployment resources.

Instructions

Run make down MCP=true on the node (job). Deletes the app's InfluxDB/Grafana volumes.

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

Input Schema

NameRequiredDescriptionDefault
nameYesNode name in the inventory, for example weld_node1
confirmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is known. The description adds meaningful context by naming what is actually destroyed (InfluxDB/Grafana volumes) and that the operation runs on a remote node. It omits irreversibility, whether a confirm gate must be satisfied, and what happens to non-volume app state.

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?

Two short sentences, front-loaded with the mechanism and followed by the consequence, with no filler. The internal command syntax ('make down MCP=true') is slightly jargon-heavy but earns its place by conveying exactly what executes.

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

Completeness3/5

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

For a destructive node-level operation the description covers what is removed, which is the most important gap filler, and an output schema exists so return values need no explanation. However, the absence of any treatment of the `confirm` parameter and of irreversibility leaves a real hole for a tool that permanently deletes volumes.

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

Parameters2/5

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

Schema coverage is 50%: `name` is documented as a node name from the inventory, but `confirm` has no schema description. The description never mentions `confirm` at all, so the one parameter that most needs explanation on a destructive tool is left entirely undocumented in both places.

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?

States a specific verb and resource: runs 'make down MCP=true' on a named node and deletes the app's InfluxDB/Grafana volumes. An agent can tell this is the inverse of deploy_app from the sibling list. It stops short of naming the counterpart tool explicitly, so the differentiation is implied rather than stated.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, no prerequisites, and no mention of the `confirm` flag, which is the key decision point for a destructive operation. Usage is only inferable from the word 'down' and 'Deletes', leaving the agent to guess at confirmation and safety preconditions.

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