Skip to main content
Glama

Press5 launch pad

Start, stop or restart an app

app_control
Idempotent

Start, stop or restart a running app or bot.

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": {
      "site": "<site>",
      "action": "<action>"
    },
    "name": "app_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
tokenNoA press5 token (p5_...). Only needed when the MCP connection has no Authorization header, e.g. right after login_check.
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the safety profile is covered by structured data. The description adds nothing beyond that: it does not say what happens to in-flight traffic or processes on stop, whether the app must be deployed first, or what a restart entails — it essentially restates the action enum.

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?

A single short sentence with the verbs front-loaded and zero filler. Nothing is redundant or buried.

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?

This is a state-mutating control tool with an undocumented required parameter, no output schema, and no statement of auth prerequisites beyond the optional token. An agent still cannot tell how to construct a valid 'site' value or what state the app ends up in after each action.

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 description coverage is only 33%: only 'token' is documented, while 'site' has no description at all and the description bottles no help — is it a site ID, name, or domain? With low coverage the description should compensate by explaining how to identify the target site, and it does not.

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?

Names a specific set of verbs (start, stop, restart) against a specific resource ('a running app or bot'), so the agent knows exactly what operation family this covers. It does not differentiate itself from nearby tools such as keep_app or app_logs, so it stops short of a 5.

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 explicit when-to-use or when-not guidance and no alternative is named. The phrase 'a running app' hints at a precondition for stop/restart, but whether start works on a stopped or undeployed app is left entirely to inference.

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