Skip to main content
Glama

Send a console command

deployments_command
Destructive

Write a line to the running process's stdin (a game server console, a REPL). NOT a shell: a web server ignores stdin, so curl / node / npm typed here do nothing, and no output is returned. To run a command (curl, node, npm, grep) use deployments.shell; to request a public URL, deployments.check.

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": {
      "id": "<id>",
      "command": "<command>"
    },
    "name": "deployments_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation/safety profile is known; the description adds genuinely new behavior by warning that no output is returned and that the target may silently ignore the input. It does not cover permission requirements or what happens on failure, which keeps it short of a 5.

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?

Front-loads the core action in the first clause, then dispenses the constraints and alternatives in two tight sentences with zero filler. Every clause prevents a concrete misuse.

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?

For a two-parameter mutating tool with annotations covering safety and no output schema, the definition supplies the critical operational caveats (no return value, wrong-tool warnings). The main remaining gap is any explanation of the 'id' parameter and how to obtain it.

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 0%, so the description must carry parameter meaning. It effectively explains the 'command' argument as a line written to stdin, but never explains that 'id' identifies the target deployment/process, leaving half the parameters undocumented in both places.

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?

States a specific verb and resource — writing a line to a running process's stdin — and immediately scopes it with concrete examples (game server console, REPL). It clearly separates itself from the sibling tools that a naive reader would confuse it with (deployments.shell for running commands, deployments.check for URLs).

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

Usage Guidelines5/5

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

Gives explicit when-not guidance ('NOT a shell: a web server ignores stdin, so curl / node / npm typed here do nothing') and names the correct alternatives with their triggering conditions (deployments.shell for curl/node/npm/grep, deployments.check for a public URL). An agent has everything needed to route between these three tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources