Skip to main content
Glama

Get a service's auto-deploy configuration

komuta_get_service_auto_deploy
Read-only

Get the current auto-deploy (deploy-on-push) configuration for one service — the same data the web console's Auto Deploy page shows: enabled/disabled, include path patterns, exclude path patterns, cooldown seconds, and commit-message skip directives. Also reports whether the service's GitHub App connection (which auto-deploy requires) is configured and active. Resolve the id from the NAME the user gave (via komuta_list_services) — never ask the user for an id. Returns: { serviceName, gitHubAppConnected: boolean, gitHubAppInstallationActive: boolean, configured: boolean, settings: { isEnabled, includePathPatterns: string[], excludePathPatterns: string[], cooldownSeconds, skipDeployPatterns: string[], lastTriggeredAt, triggerScope: { kind: 'includePatterns' | 'buildContext' | 'everyPath', patterns: string[], buildContext?, excludePatterns: string[] } } | null, recentDecisions: [{ at, decision, commit }] (newest first, at most 10; decision is Triggered or a Skipped*/TriggerFailed reason), recentDecisionsUnavailable? } — settings is null when configured is false (auto-deploy was never enabled). Show user: service name and every settings field in plain language (enabled/disabled, include patterns, exclude patterns, cooldown in seconds, skip directives, last trigger time). Always say which pushes deploy, from triggerScope: kind buildContext means ONLY pushes that change files under that build context folder deploy (other pushes are skipped with SkippedNoPathMatch) — state this plainly, it is the usual reason a push 'did nothing'; includePatterns means only matching files; everyPath means any changed path. In every kind, files matching excludePatterns never count, and only pushes to the service's configured branch deploy (others are SkippedBranchMismatch). When the user asks why a push did not deploy, answer from recentDecisions (each Skipped* reason in plain words). If configured is false, say auto-deploy has never been set up for this service; if gitHubAppConnected is false or gitHubAppInstallationActive is false, say the feature is unavailable until the GitHub App connection is (re)established.

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>"
    },
    "name": "komuta_get_service_auto_deploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
serviceIdYesInternal service id, resolved from the service NAME the user gave or from local context. Never ask the user for it.
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.3/5.0
Behavior5/5

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

Well beyond the readOnlyHint/openWorldHint annotations: it discloses that settings is null when configured is false, that recentDecisions is capped at 10 and newest-first, the Skipped*/TriggerFailed decision vocabulary, and that auto-deploy depends on an active GitHub App connection. These are exactly the behavioral facts an agent needs before calling.

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 in sentence one, but the remainder is a single dense paragraph that inlines an entire return-shape sketch and lengthy presentation instructions. Much of it is necessary given no output schema, yet the wall-of-text formatting makes it hard to scan and the 'Show user:' directives could be far tighter.

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 and only two simple parameters, the description carries the full burden and does so: it documents the returned fields, the null case, the triggerScope variants and their deployment consequences, and the GitHub App prerequisite. An agent has everything needed to call it and interpret the result.

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 both serviceId and organization are already documented in the schema. The description reinforces the id-resolution rule but adds no new meaning about format, validation, or the organization override, so the baseline 3 applies.

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?

Opens with a precise verb and resource ('Get the current auto-deploy (deploy-on-push) configuration for one service') and immediately scopes what is included: enabled/disabled, include/exclude patterns, cooldown, skip directives. It is clearly the read counterpart to komuta_set_service_auto_deploy and cannot be confused with the deploy-status siblings.

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 concrete routing guidance: resolve the id from the user-supplied NAME via komuta_list_services and never ask for an id, and use recentDecisions when the user asks why a push did not deploy. It never names the setter as the alternative for making changes, so the modify-this-config case is left implicit.

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