Skip to main content
Glama

PillDrops

start_server

Register + launch a persistent server command in the sandbox (survives idle-pause/resume, unlike run_command). The app must bind $PORT.

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": {
      "sandbox_id": "<sandbox_id>",
      "cmd": "<cmd>"
    },
    "name": "start_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
cmdYesserver command, e.g. `python /app/main.py`
portNoport the app listens on (0 = the sandbox default)
sandbox_idYessandbox id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the key behavioral trait: the server persists across idle-pause/resume. It also states the binding requirement ($PORT), which affects whether the launch will work. It omits what happens on repeated calls (idempotency/replace), whether output is captured, and permission requirements.

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?

Two short sentences, front-loaded with the core action and followed by the differentiator. No filler or redundant restatement of the tool name.

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 3-parameter tool with no output schema, the definition covers what the tool does, why it differs from run_command, and the port-binding contract. The main gap is return behavior — an agent cannot tell whether it receives a URL, port, or process handle to verify the server came up.

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 coverage is 100%, so the schema already documents sandbox_id, cmd, and port including the 0 = default convention. The description adds only the $PORT environment-variable expectation, which is a useful but small increment beyond the schema.

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 pair (register + launch), the resource (a persistent server command), and the environment (sandbox). It explicitly contrasts with the sibling run_command, so an agent can distinguish the two without inspecting schemas.

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

Usage Guidelines4/5

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

The parenthetical 'survives idle-pause/resume, unlike run_command' gives a clear condition for choosing this tool over the obvious alternative. It stops short of an explicit when-not case (e.g. short-lived foreground tasks), but the contrast is actionable.

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.