Skip to main content
Glama

Delete environment

render_delete_environment
DestructiveIdempotent

Delete an empty Render environment by providing its ID. If the environment contains services or resources, deletion will fail; empty it first or use the Render Dashboard.

Instructions

Delete environment. Delete the environment with the provided ID. Requires the environment to be empty (i.e., it must contain no services or other resources). Otherwise, deletion fails with a 409 response. To delete a non-empty environment, do one of the following: - First move or delete all contained services and other resources. - Delete the environment in the Render Dashboard. Calls DELETE /environments/{environmentId} on the Render Public API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
environmentIdYes
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true. The description adds critical context: deletion fails with 409 if the environment is not empty, and offers alternatives. This supplements the annotations well, though the core destructiveness is already indicated.

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 concise: four sentences covering action, condition, alternatives, and API call. No redundant information; each sentence adds value.

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?

For a simple delete tool with one parameter and no output schema, the description fully covers: action, precondition (empty), error case (409), alternatives, and API endpoint. No missing information needed for proper use.

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?

The only parameter 'environmentId' is a simple string. With 0% schema coverage, the description does not elaborate on its format or meaning beyond 'the provided ID'. However, the purpose is obvious from the tool name and description, so this is adequate but not exceptional.

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 tool deletes an environment by ID, using the verb 'Delete environment'. It distinguishes this from sibling tools like render_create_environment and render_retrieve_environment by specifying the action and resource.

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 states when to use (to delete an empty environment) and when not to use (if non-empty), providing alternatives such as moving/deleting resources or using the Dashboard. This clearly guides the agent on correct invocation.

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/LuSrodri/render-useful-mcp'

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