Skip to main content
Glama
MikeCase
by MikeCase

exec_in_container

Execute commands inside running containers with SSH fallback for environments lacking direct API support.

Instructions

Execute a command inside a running container. NOTE: The Arcane API does not expose a container exec endpoint. This tool will attempt to use SSH as a fallback if available, otherwise returns an error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
env_idNo0
commandYes
agent_tokenNo
container_idYes
Behavior3/5

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

With no annotations, the description effectively discloses the key behavioral trait: the tool lacks a native API endpoint and uses SSH as a fallback, returning an error if unavailable. However, it does not mention potential side effects, permissions needed, or whether the command runs synchronously or asynchronously.

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 concise: two short sentences clearly stating purpose and a critical caveat. Every sentence adds value; no redundant or extraneous information is 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?

Given the complexity of executing commands in containers and the absence of output schema or annotations, the description is insufficient. It omits return format, error details, or behavioral expectations like blocking vs. non-blocking execution, leaving gaps for effective use.

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

Parameters1/5

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

Schema description coverage is 0% and the description adds no meaning beyond parameter names. The parameters container_id, command, env_id, and agent_token are not explained. The description merely restates 'command' without any additional context.

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 the tool's action: 'Execute a command inside a running container.' This verb+resource specification is precise and distinguishes it from sibling tools like list_containers or get_container_logs. The additional note about API limitations further clarifies the tool's role.

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 implicitly indicates usage by stating the action and the fallback behavior, but it does not explicitly state when to use this tool versus alternatives (e.g., get_container_logs for output). No exclusions or comparisons are provided, only a technical limitation note.

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/MikeCase/arcane-mcp'

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