Skip to main content
Glama

Take a service out of maintenance

komuta_end_service_maintenance
Idempotent

Turn maintenance off for this service and start it again; visitors reach the service once it is running. Running resources can incur charges. Maintenance is turned off before the service is started, so a refused start (for example this month's free awake hours are used up or the account is suspended) still leaves maintenance off with the service stopped. 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": {
      "serviceId": "<serviceId>",
      "confirmed": "<confirmed>"
    },
    "name": "komuta_end_service_maintenance"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedYesTrue only after the user explicitly approved this exact action, target and financial/availability impact.
serviceIdYesInternal ID resolved from the user's named resource; never ask for an ID.
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

A4.2/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing cost implications ('Running resources can incur charges'), the operation ordering (maintenance is cleared before start), and the refused-start edge case that leaves the service stopped with maintenance off. It also defines error and pending semantics. Minor tension: annotations declare idempotentHint=true while the text forbids automatic retries, though this reads as policy rather than a behavioral contradiction.

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?

The purpose and the ordering/cost caveats are front-loaded, and the sentence order follows the decision flow: what it does, what it costs, what can go wrong. It loses a point for generic boilerplate ('Show user:', 'Never show user:', 'Sends:') that is policy text rather than tool-specific information.

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 carries the return contract itself ('the backend operation result, including status and pagination when present; errors remain errors') and clarifies that queued/accepted means pending, not done. Combined with the ordering and failure disclosure, nothing an agent needs to invoke and interpret this mutation is missing.

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 explains confirmed, serviceId and organization in detail. The description's 'Resolve resources by name within the selected organization' largely restates the organization parameter's documented behavior rather than adding new meaning. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Turn maintenance off for this service and start it again') plus the observable outcome ('visitors reach the service once it is running'). This directly contrasts with the sibling komuta_start_service_maintenance, so an agent can select between them without opening a schema.

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?

Gives an explicit gating condition: 'Do not invoke without the user's explicit request and approval of the exact operation', and backs it with a required confirmed=true parameter. It also says never to auto-retry and to inspect state after an uncertain response. It lacks an explicit 'use X instead when...' routing clause, 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