Skip to main content
Glama

WritersLogic developer agents

shell-quote

Shell quoting for bash, PowerShell and cmd.exe with a parse-back check — Turns up to 50 literal strings into a safely quoted argument for bash/sh (POSIX single-quote method), PowerShell (single-quoted literal) and cmd.exe, for agents that build a command line from untrusted or free-form text, and parses each result back with a model of that shell's rules to prove it yields the original string. It returns unsupported for strings cmd.exe cannot carry safely (line break

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": {
      "values": "<values>"
    },
    "name": "shell-quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYesLiteral argument values; at most 100000 characters in total.
targetsNoShells to quote for; default all three. Status is unsupported when any requested target cannot carry a value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources