Skip to main content
Glama
AIops-tools

container-host-aiops

by AIops-tools

stack_detail

Retrieve detailed configuration of a Portainer stack, including environment variables, entrypoint, and resource control, using its stack ID.

Instructions

[READ] One Portainer stack in detail (env, entrypoint, resource control).

Requires a portainer target.

Args: stack_id: Portainer stack id. target: Target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
stack_idYes
Behavior3/5

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

No annotations are provided, so the description carries the burden. It signals read-only with '[READ]' and notes the requirement of a portainer target. It does not discuss side effects, auth, or rate limits, but for a read tool this is adequate.

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 very concise: one line for purpose, one line for requirement, and two lines for parameters. No redundant information; front-loaded with the key action.

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?

Given no output schema, the description mentions what details are returned (env, entrypoint, resource control) and the configuration requirement. It could hint at the format (e.g., JSON), but is sufficiently complete for a read 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?

With schema coverage at 0%, the description adds essential meaning: 'stack_id: Portainer stack id' and 'target: Target name from config; omit for the default'. This compensates well for the empty schema descriptions.

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?

Description starts with '[READ] One Portainer stack in detail (env, entrypoint, resource control)', clearly stating it retrieves detailed information for a single stack. It distinguishes from sibling tools like list_stacks (list) and recreate_stack (modify).

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?

The description mentions 'Requires a portainer target' and explains the target parameter. However, it does not explicitly state when to use this tool versus alternatives (e.g., list_stacks for overview) or provide exclusions.

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

Install Server

Other Tools

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/AIops-tools/Container-Host-AIops'

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