Skip to main content
Glama

remote_exec

Execute shell commands on a remote fuzzing server via SSH to inspect crashes, monitor campaigns, and manage distributed fuzzing workflows.

Instructions

Execute a shell command on the remote fuzzing server via SSH.

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": "remote_exec"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYesShell command to run
host_indexNoIndex into remotes[] array (default: 0)
timeout_secsNo

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, yet it discloses nothing about what a run returns (stdout/stderr, exit code), what happens on timeout, whether commands run under a sandbox or with elevated privileges, or whether side effects on the fuzzing server are recoverable. For an arbitrary remote command execution tool this is a significant disclosure gap; only the transport (SSH) is stated.

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?

A single front-loaded sentence with zero filler and the mechanism stated up front. It is efficient, though the brevity reflects under-specification rather than disciplined editing.

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 an arbitrary-code-execution tool with no annotations, no output schema, and only partial parameter documentation, the description is not complete enough: return values, timeout behavior, error semantics, and host selection all remain unaddressed. An agent could call it, but could not predict what it gets back or how failures manifest.

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 coverage is 67% and the description adds nothing beyond the schema: it never explains host_index (multi-server selection), the meaning or enforcement of timeout_secs, or any format constraints on command. The one sentence of description is purely about transport, so the undocumented timeout parameter is left to inference.

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?

The description names a specific verb (Execute), resource (a shell command), mechanism (via SSH), and target (the remote fuzzing server). This clearly separates it from data-access siblings like remote_read_file or remote_hexdump, though those alternatives are never explicitly named as being different.

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?

There is no when-to-use or when-not-to-use guidance, and no direction toward the more specific siblings (remote_read_file, remote_hexdump, remote_fuzzer_status) for tasks they cover. Nothing tells the agent how host_index relates to selecting among multiple remotes, or when arbitrary shell execution is warranted over the dedicated tools.

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