Skip to main content
Glama
ginkida

portainer-mcp

by ginkida

portainer_stack_stop

Stop a running stack in Portainer by providing its stack ID to halt services and free resources.

Instructions

Stop a running stack.

Args: stack_id: The ID of the stack to stop endpoint_id: Endpoint ID (derived from the stack itself if omitted)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stack_idYes
endpoint_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.8.0
    • addedInput schema / properties / endpoint_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Endpoint Id"
      +}
  2. First observedv0.3.0

TDQS

B3.2/5.0
Behavior2/5

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

The description indicates a state-changing action but does not disclose what stopping a stack actually does (e.g., whether it scales services to zero, retains data, is reversible, or affects running containers). With no annotations, the behavioral side effects are largely unspecified.

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?

The description is extremely concise, with a single purpose statement and two brief parameter explanations. No unnecessary words or redundant information are present.

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

Completeness2/5

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

The description omits important context about the operation's effects, whether it is idempotent, how to recover afterward, and what the output/response indicates. Since no output schema is provided and no annotations are present, the description carries the full burden but leaves these gaps.

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?

The parameter descriptions add some meaning beyond the raw schema, especially endpoint_id ('derived from the stack itself if omitted'), which clarifies an important default behavior. However, stack_id's description mostly restates the parameter name, so the added semantic value is only partial.

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 clearly states a specific verb ('stop') and resource ('a running stack'), and the sibling list includes start, update, delete, and inspect operations, making it easy to distinguish this tool from related stack operations.

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?

No guidance is given on when to use stop versus other stack lifecycle operations such as start, update, or delete. It does not explain scenarios, prerequisites, or why one might stop a stack instead of removing it.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ginkida/portainer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server