Skip to main content
Glama

run_terminal_command

Run terminal commands in VS Code, optionally specifying a working directory, to execute scripts, builds, or system operations directly from your development environment.

Instructions

Execute a command in VSCode terminal

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory (optional)
commandYesCommand to execute

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description alone must disclose behavioral traits. It only states the operation; it does not mention whether execution is synchronous, how output/errors are returned, whether destructive actions are possible, or any prerequisites. The agent receives no behavioral insight beyond the schema.

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 a single, front-loaded sentence with no unnecessary words. It is appropriately sized for the tool's simple parameter surface.

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?

There is no output schema or annotations, and the description does not explain expected return values, terminal behavior, working-directory handling, or side effects. An agent cannot fully predict the outcome of invoking the tool, and sibling routing guidance is also absent.

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 description coverage is 100%: both 'command' and 'cwd' have clear descriptions. The tool description adds no additional parameter meaning, so the baseline score of 3 applies.

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 states a specific verb ('Execute') and a clear resource ('a command in VSCode terminal'), immediately identifying the tool's function. It also distinguishes it from the sibling file/explorer tools, which are clearly different operation types.

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 does not explicitly state when to use this tool or name alternatives, but the phrase 'Execute a command in VSCode terminal' implies the usage scenario. There is no explicit exclusion or routing to sibling tools, but the intended context is inferrable.

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

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/eyalev/vscode-self-mcp'

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