Skip to main content
Glama

stop_application

DestructiveIdempotent

Stops a running application by shutting down its containers without deleting any data. Use the application ID from list_applications or get_project to halt the service.

Instructions

Stop an application. Running containers go down. Nothing is deleted.

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

Input Schema

NameRequiredDescriptionDefault
application_idYesapplicationId from list_applications or get_project.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-read-only, destructive, idempotent behavior, yet the description adds real nuance by scoping what 'destructive' means here: containers go down but nothing is deleted. That prevents the agent from over-estimating blast radius. It does not mention downtime, reversibility via start_application, or async completion, keeping it short of a 5.

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?

Three short sentences, front-loaded with the action and followed by exactly the two facts an agent needs: what goes down and what is not lost. No filler.

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 single-parameter stop tool with rich annotations and an output schema, the description covers action, effect, and data-safety. A note on downtime or how to bring the app back would make it fully self-contained.

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?

Only one parameter, fully documented in the schema ('applicationId from list_applications or get_project'), so the description adds nothing beyond it. The schema does the work, which is the baseline 3 case.

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 ('Stop an application') and immediately characterizes the effect ('Running containers go down'). It does not name a sibling such as stop_compose or restart_application, so differentiation is left to the resource noun alone.

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 implied by the verb - an agent stopping an application will recognize this as the tool - but there is no explicit guidance on when to prefer restart_application or start_application, nor any precondition or ordering advice.

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