Skip to main content
Glama

Change postgres resource plan

komuta_change_postgres_plan
Destructive

Change to the exact plan/topology selected and approved after preview. This can incur charges and restart or migrate the database. Monitor the addon status; do not report completion from acceptance alone. 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>",
      "targetPlanId": "<targetPlanId>",
      "confirmed": "<confirmed>"
    },
    "name": "komuta_change_postgres_plan"
  }
}

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.
targetPlanIdYesInternal ID resolved from the user's named resource; never ask for an ID.
targetTopologyIdNoInternal ID resolved from the user's named resource; never ask for an ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=false, openWorld=true, so the baseline bar is lower, and the description still adds real context: charges may be incurred, the database may restart or migrate, and acceptance is not completion. Those are concrete consequences an agent cannot read off the annotations. What it does not cover is the pending/queued polling mechanism in any detail (no guidance on where addon status is checked), leaving a small gap for a destructive long-running mutation.

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?

Front-loaded with the risk warning and the approval gate, which is the right priority for a destructive tool. It is dense but tight structurally; a few clauses such as 'errors remain errors' and 'missing data is unknown' are generic filler that could be trimmed without losing meaning.

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?

With no output schema, the description has to explain returns and does: backend operation result with status and optional pagination, plus the rule that queued/accepted means pending and missing data means unknown. Combined with the charge/restart/migration warnings, the approval requirement and the display rules, an agent has everything needed to call this safely.

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 every one of the five parameters (id, targetPlanId, targetTopologyId, organization, confirmed) is already documented with format and resolution rules. The description's 'Resolve resources by name within the selected organization' and 'exactly the confirmed resource identifiers' restate those semantics rather than add new ones, so it earns the baseline, not more.

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?

States a specific verb and resource: change a Postgres plan/topology to the exact one selected and approved after preview. The 'after preview' clause implicitly positions it against the preview sibling, but it never names komuta_preview_postgres_plan_change, so routing relies on inference from the phrase rather than an explicit contrast.

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?

Explicitly states the precondition (only after preview, with the user's explicit request and approval of the exact operation) and the prohibition ('do not invoke without the user's explicit request and approval'). It also gives recovery guidance ('Never retry a write automatically; inspect state after an uncertain response'), which tells the agent exactly what to do when the call outcome is ambiguous.

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