Skip to main content
Glama

Manage Container

manage_container
Idempotent

Create, start, stop, or remove RouterOS containers with pre-configured veth interfaces. Use dry-run to preview changes without applying.

Instructions

Create, start, stop, or remove a RouterOS container. create requires a pre-configured veth interface. start/stop are no-ops if the container is already in the target state. remove throws NOT_FOUND if the container does not exist. Supports dry-run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routerIdYesTarget router identifier from the router registry
actionYesAction to perform
nameYesContainer name — idempotency key
remoteImageNoDocker image to pull (required on create, e.g. alpine:latest)
interfaceNoveth interface name to attach the container to (required on create — must be pre-configured in RouterOS)
rootDirNoRoot directory for container files
envlistNoRouterOS environment list name for container env vars
commentNoOptional comment
dryRunNoPreview changes without applying
Behavior4/5

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

Annotations indicate idempotentHint=true. Description adds beyond annotations: pre-requisites for create, idempotency behavior for start/stop, error for remove on missing container, and dry-run support. No contradictions.

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?

Five sentences, front-loaded with main purpose. Every sentence adds essential behavioral or prerequisite information. No fluff.

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?

No output schema, but description covers prerequisites, idempotency, error behavior, and dry-run. For a management tool, it is sufficiently complete. Could optionally describe return value but not required.

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%, baseline 3. Description adds context beyond schema: notes that remoteImage is required on create, interface must be pre-configured, and name serves as idempotency key. This adds value.

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 explicitly states it can create, start, stop, or remove a RouterOS container, clearly identifying the verb and resource. It distinguishes from sibling tools (e.g., list_containers) by covering lifecycle management actions.

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?

Description provides when-to-use details: create requires pre-configured veth, start/stop are no-ops if already in target state, remove throws NOT_FOUND if missing, and supports dry-run. It does not explicitly mention alternatives, but the context is clear given the tool name and sibling list.

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/AliKarami/MikroMCP'

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