Skip to main content
Glama
Cloady

Cloady

Official
by Cloady

Exec Command

execCommand
Destructive

Execute a one-off shell command inside a running container using Kubernetes exec, enabling direct command execution for debugging or operational tasks.

Instructions

Run a one-off shell command in a running container (kubernetes exec)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNo
regionNo
appSlugYes
requestBodyNoThe JSON request body.
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, covering the mutation risk. The description adds that it is a 'one-off' command (not a persistent session), which is useful context. It does not elaborate on side effects, authentication, or failure behavior, but annotations carry the safety burden.

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?

A single, front-loaded sentence with no waste. It immediately conveys the action and scope, earning its place.

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?

For a tool with a nested requestBody, five parameters, and no output schema, the description is grossly incomplete. It does not explain the required fields (component and command), the meaning of env or region, or how the command is executed. An agent would need to inspect the schema or make assumptions, risking incorrect invocation.

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

Parameters2/5

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

Schema description coverage is only 20% (only requestBody has a description). The description does not explain any of the five parameters (env, region, appSlug, workspaceSlug, or the nested requestBody fields). It fails to compensate for the low coverage, leaving the agent to guess parameter meanings.

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 verb 'Run', the resource 'shell command', and the context 'in a running container (kubernetes exec)'. It is specific and distinguishes itself from sibling tools that handle deployments, logs, or git operations.

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?

The description implies the tool is for one-off shell commands in containers, which is a clear usage context. However, it does not explicitly mention when to use alternatives or exclude other tools, though the unique phrasing 'kubernetes exec' sets it apart sufficiently.

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