Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Set startup command

set_startup_command

Set how the app starts (one line; empty = the runtime's default). The app restarts. Container projects: it is the web command when the app has no Procfile, used from the next deploy.

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": {
      "slug": "<slug>",
      "command": "<command>"
    },
    "name": "set_startup_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesProject slug
commandYese.g. python bot.py, or gunicorn main:app

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the thin annotations (only destructiveHint=false), the description discloses a real side effect: 'The app restarts.' It also explains the container-project semantics and that the change applies from the next deploy, which the agent cannot learn from the schema. It does not mention permissions or what happens to an existing command, keeping 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.

Conciseness4/5

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

Three short sentences, front-loaded with the core action and format constraint; nothing is filler. The container-project sentence is a little compressed and telegraphic ('it is the web command when the app has no Procfile'), costing a bit of clarity.

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 mutation tool with no output schema and only a destructiveHint annotation, the description covers the key behavioral facts: restart side effect, empty-value default, and container-project applicability timing. The remaining gap is interaction with deploy tools, which is minor given there is no output to explain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: 'one line' constrains the format of command and 'empty = the runtime's default' explains a semantics the schema's example ('python bot.py') does not cover. That is meaningful beyond-schema information for one of the two required parameters.

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 gives a specific verb and resource: sets how the app starts, i.e. its startup command. The parenthetical clarifies the one-line format and that an empty value means the runtime default, so an agent knows exactly what it controls. It does not name a sibling to distinguish from (e.g. set_env, set_env_many), though the resource itself is narrow enough to be unambiguous.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the container-project sentence indicates when the command takes effect (when there is no Procfile, applied from the next deploy), which is real conditional context. There is no explicit guidance on when to prefer this over set_env or a deploy tool, so the agent must infer the boundary.

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.