Skip to main content
Glama
mcp-developer-context-server

mcp-developer-context-server

Run command

run-command

Execute an allowlisted command within the project directory to complete approved development tasks in the correct workspace.

Instructions

Run an allowlisted command in project dir

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "command": "<command>"
    },
    "name": "run-command"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses only two traits: allowlist enforcement and working directory. It says nothing about whether the command is shell-interpreted or argv-based, whether it blocks or times out, what happens on non-allowlisted input, or what the result contains (stdout, stderr, exit code). For an arbitrary-code-execution tool this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short phrase with no filler and the constraints front-loaded, so nothing is wasted. It is a fragment rather than a complete sentence, and the extreme brevity is part of why other dimensions are thin.

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 command-execution tool with no annotations, no output schema, and no parameter documentation, the definition leaves the agent without the information needed to invoke it safely or interpret results. The two facts given are accurate but far from sufficient for this level of capability.

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 0% for the single required 'command' parameter, so the schema contributes nothing. The description's phrase 'allowlisted command' only hints that the value is a command name drawn from a permitted set; it does not say whether arguments, pipes, or shell operators are accepted, which is the central ambiguity an agent must resolve before calling.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Run') and resource ('command') plus two meaningful qualifiers: the command must be on an allowlist, and execution happens in the project directory. This clearly distinguishes it from read-oriented siblings like search-codebase or project-structure, though it never says so explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no alternative tools named, and no instruction on how an agent discovers what is actually on the allowlist. The agent is told a constraint exists but not how to satisfy it, and nothing indicates when this should be preferred over the sibling tools.

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