Skip to main content
Glama
configcat

ConfigCat MCP Server

Official

delete-environment

Delete an environment by ID, with optional cleanup of its audit log entries.

Instructions

This endpoint removes an Environment identified by the environmentId parameter. If the cleanupAuditLogs flag is set to true, it also deletes the audit log records related to the environment (except for the Created a new environment and Deleted an environment records).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
environmentIdYesThe identifier of the Environment.
cleanupAuditLogsNoAn optional flag which indicates whether the audit log records related to the environment should be deleted or not.
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the primary destructive action and the optional audit log cleanup, including which records are excluded. However, it does not explicitly state that the operation is permanent, any authorization requirements, or impact on related resources.

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 two sentences, front-loaded with the core action, followed by the optional cleanup detail. Every sentence adds necessary information, no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Without an output schema, the description should cover what the response looks like, but it doesn't. It also lacks details on irreversibility, error conditions, or idempotency. For a simple delete operation, it is adequate but not comprehensive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the behavior of cleanupAuditLogs flag beyond the schema, specifically that it deletes audit logs except 'Created a new environment' and 'Deleted an environment' records.

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 it removes an Environment using environmentId. It also mentions optional cleanup of audit logs, which adds specificity. It distinguishes itself from sibling tools like create-environment and update-environment.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives, no prerequisites, no warnings about irreversibility or dependencies. The description simply states what it does without usage context.

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/configcat/mcp-server'

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