Skip to main content
Glama

server_service

Inspect and manage systemd services or Docker containers by listing, checking status, viewing logs, and starting, stopping, or restarting them.

Instructions

Inspect or manage systemd services or Docker containers.

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": {
      "manager": "<manager>",
      "action": "<action>"
    },
    "name": "server_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
linesNo
actionYes
managerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It lumps read operations (list, status, logs) together with destructive lifecycle operations (stop, restart) in a single phrase, without disclosing that stopping a service or container terminates running workloads, whether actions are reversible, or what privileges are required.

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 short sentence with no filler and the resource named up front. Its brevity is appropriate in form, though the space saved is not spent on the action-specific semantics the tool needs.

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?

Placeholder.

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 0%, so the description must compensate for four undocumented parameters and does not. It never explains the manager/action interplay, that name is effectively required for status/logs/start/stop/restart but not list, or that lines applies only to the logs action and defaults to 50.

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 clear verb pair (inspect/manage) and names the two concrete resources (systemd services, Docker containers), which is enough to distinguish it from siblings like server_exec or server_logs. It stops short of naming which sibling to prefer for read-only log inspection, so it is clear but not fully differentiated.

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 only implied: an agent can infer this is the tool for service/container lifecycle and status work. There is no guidance on when to choose this over server_exec with systemctl, no indication that start/stop/restart are mutating choices to be used cautiously, and no stated prerequisites such as elevated permissions.

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