Skip to main content
Glama

Restart postgres

komuta_restart_postgres
Destructive

Restart the selected postgres instance. Explain downtime, persistent-data and billing effects before approval. Scheduling deletion is not immediate deletion. Backup acceptance is not backup completion; inspect backup status. Resolve resources by name within the selected organization. Do not invoke without the user's explicit request and approval of the exact operation. Never retry a write automatically; inspect state after an uncertain response. Returns: The backend operation result, including status and pagination when present; errors remain errors. Show user: Relevant names, values and confirmed outcome. Queued or accepted means pending, not completed; missing data is unknown. Never show user: Internal IDs or credentials; use names. Sends: Exactly the confirmed resource identifiers and declared configuration fields to this operation; no other mutations.

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": {
      "id": "<id>",
      "confirmed": "<confirmed>"
    },
    "name": "komuta_restart_postgres"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesInternal ID resolved from the user's named resource; never ask for an ID.
confirmedYesTrue only after the user explicitly approved this exact action, target and financial/availability impact.
organizationNoName of the organization to act in. Omit to use the one the connection is already signed in to. Use komuta_list_organizations to see the names; pass the name text exactly as listed (the data of a { untrusted, data } name), never an id.

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?

The annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=false/openWorldHint=true, so the safety profile is known. The description adds real behavioral context: approval gating, the downtime and billing consequences of a restart, the rule that queued/accepted means pending rather than completed, and the error-passthrough semantics. That is genuine value beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The purpose is front-loaded and the core constraints are clear, but the block includes statements irrelevant to a restart, such as 'Scheduling deletion is not immediate deletion' and 'Backup acceptance is not backup completion'. These read as boilerplate copied from a shared policy block, and they dilute the signal.

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 destructive, non-idempotent mutation, the description covers approval, consequences, retry semantics, error handling and return shape despite there being no output schema. Only the absence of explicit alternatives and the off-topic sentences keep it from being fully complete.

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 carries the parameter documentation and the baseline is 3. The description restates that resources are resolved by name within the selected organization and that only confirmed identifiers and declared fields are sent. That is a restatement rather than added meaning.

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 opens with a specific verb and resource: 'Restart the selected postgres instance.' The postgres scope distinguishes this tool from restart siblings such as komuta_restart_rabbitmq or komuta_restart_valkey. It never names an alternative tool or explicitly contrasts them, so a 4 rather than 5.

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?

It gives explicit preconditions: explain downtime, persistent-data and billing effects before approval, and do not invoke without the user's explicit request and approval of the exact operation. It also tells the agent never to retry a write automatically and to inspect state after an uncertain response. It gives context but names no alternative tools, which keeps it short of a 5.

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