Skip to main content
Glama

pmg_service_control

Start, stop, restart, or reload a PMG service with dry-run planning before execution. Use confirm=True to apply changes.

Instructions

MUTATION (MEDIUM): start, stop, restart, or reload a PMG service. Dry-run by default. confirm=True to execute. Needs PROXIMO_PMG_* config.

WARNING: stop on postfix/pmgproxy/pmgdaemon interrupts mail delivery until manually restarted. Check current state first with pmg_service_status. Dry-run returns a PLAN; confirm=True executes and returns {"status": "ok", "result": ...}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeNoPMG node name; defaults to the configured node.
actionYesControl action: start|stop|restart|reload.
confirmNoFalse (default) returns a dry-run PLAN; True executes the mutation.
serviceYesPMG service name, e.g. postfix, pmgproxy, pmgdaemon, clamav, spamassassin.
proximo_targetNoWhich configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations provided, so the description carries full burden. It discloses mutation nature, medium severity, dry-run behavior, execution return format, and consequences of stopping certain services.

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?

The description is compact, front-loaded with core actions, and efficiently packs warnings, usage, and return format into three sentences without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (5 params, 2 required, no enums, has output schema), the description covers purpose, usage, warnings, config needs, and return types, making it complete for effective agent invocation.

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 description coverage is 100%, so the schema already documents parameters. The description adds the config requirement (PROXIMO_PMG_*) but does not significantly enhance parameter meanings 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?

The description clearly states the tool's actions: start, stop, restart, or reload a PMG service. It distinguishes itself from sibling tools like pmg_service_status by focusing on mutation actions.

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

Usage Guidelines5/5

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

Provides explicit guidelines: check current state first with pmg_service_status, dry-run by default, confirm=True to execute. Warnings about stopping critical services are included, giving clear when-to-use context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/john-broadway/proximo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server