Skip to main content
Glama

deployment_trigger

Trigger new deployments for Railway services to deploy code changes, apply configuration updates, or roll back to previous states using specific commit SHAs.

Instructions

[API] Trigger a new deployment for a service

⚡️ Best for: ✓ Deploying code changes ✓ Applying configuration updates ✓ Rolling back to previous states

⚠️ Not for: × Restarting services (use service_restart) × Updating service config (use service_update) × Database changes

→ Prerequisites: service_list

→ Alternatives: service_restart

→ Next steps: deployment_logs, deployment_status

→ Related: variable_set, service_update

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesID of the project
serviceIdYesID of the service
environmentIdYesID of the environment
commitShaYesSpecific commit SHA from the Git repository
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively communicates this is a deployment-triggering action (implying a write/mutation operation), specifies use cases and exclusions, and provides workflow context through prerequisites and next steps. It doesn't mention rate limits, authentication requirements, or error conditions, but offers substantial behavioral guidance beyond basic functionality.

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 efficiently structured with clear sections (purpose, best for, not for, prerequisites, alternatives, next steps, related tools). Every sentence earns its place by providing distinct value, with no redundant information. The bullet-point format enhances readability while maintaining compactness.

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 mutation tool with no annotations and no output schema, the description provides excellent contextual completeness. It clearly explains what the tool does, when to use it, what not to use it for, prerequisites, alternatives, and next steps. The only gap is the lack of information about return values or error conditions, which would be helpful given the absence of an output schema.

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 all four parameters. The description doesn't add any parameter-specific information beyond what's in the schema (projectId, serviceId, environmentId, commitSha). It provides excellent usage context but no additional parameter semantics, meeting the baseline expectation when schema coverage is complete.

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 specific action ('Trigger a new deployment') and resource ('for a service'), distinguishing it from siblings like service_restart and service_update. It provides a precise verb+resource combination that leaves no ambiguity about the tool's function.

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?

The description explicitly provides 'Best for' scenarios (deploying code changes, applying configuration updates, rolling back) and 'Not for' exclusions with named alternatives (service_restart, service_update). It also lists prerequisites (service_list), alternatives (service_restart), next steps (deployment_logs, deployment_status), and related tools, offering comprehensive guidance on when and how to use this tool.

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/Kruglyak/railway-mcp'

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