Skip to main content
Glama

shell

Destructive

Generate shell commands with Gemini. By default, explains commands without executing; set dryRun=false to execute in a sandbox.

Instructions

Generate and optionally execute shell commands using Gemini. By default runs in dry-run mode (explains commands). Set dryRun=false to execute in sandbox.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYesShell task description. REQUIRED. Describe what you want to accomplish (e.g., "find TypeScript files modified last week", "compress log files"). Gemini will generate appropriate commands.
modelNoGemini model to use. DEFAULT: 'gemini-3-flash-preview' (fast). Use 'gemini-3-pro-preview' for complex operations.
dryRunNoCommand execution mode. DEFAULT: true (safe, explains without executing). When false: executes in sandbox. Set to false only for actual execution.
workingDirectoryNoDirectory to run commands in. OPTIONAL. Use @ prefix (e.g., @src/). If omitted, uses current working directory.
Behavior5/5

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

Description explains dry-run safety and sandbox execution, adding context beyond annotations (destructiveHint: true, openWorldHint: true). No contradiction.

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?

Two concise sentences that front-load the key purpose and execution modes. 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 dry-run and execution behavior. Could mention potential destructive consequences explicitly, but sandbox implies safety.

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?

Schema coverage is 100%, so baseline 3 applies. Description does not add new meaning beyond schema; the dry-run context is already in schema description. Parameter info is adequate.

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 clearly states it generates and optionally executes shell commands via Gemini, with a specific dry-run mode. It differentiates from sibling tools which are unrelated (e.g., web-search, brainstorm).

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?

Explicitly says dry-run default and when to set dryRun=false for execution. No explicit exclusions or alternatives, but sibling tools are distinct, so context is clear.

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/tuannvm/gemini-mcp-server'

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