delete_service
Delete a service from your Railway project by providing its service ID.
Instructions
Delete a service from a project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serviceId | Yes | The service ID to delete |
Delete a service from your Railway project by providing its service ID.
Delete a service from a project
| Name | Required | Description | Default |
|---|---|---|---|
| serviceId | Yes | The service ID to delete |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must disclose behavioral consequences. It merely states 'Delete a service from a project' without covering irreversibility, cascading effects on associated resources (deployments, domains, volumes), or permission requirements.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that states the action and resource without redundant text. It is properly front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
While the tool is simple with one parameter, the description lacks critical context such as side effects, whether deletion is permanent, or any return value. It is minimally adequate but would benefit from a warning about irreversible consequences.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already fully documents the single parameter (serviceId) with a clear description, achieving 100% schema coverage. The tool description adds no extra parameter semantics, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the operation (delete) and the resource (service within a project), distinguishing it from sibling delete tools like delete_project, delete_environment, and remove_deployment.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance is provided on when to use this tool versus alternative deletion tools. The description does not mention prerequisites, such as whether the service must be undeployed, or when to prefer other tools like delete_environment.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wardspan/railway-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server