Skip to main content
Glama

apig__DeleteEnvironment

Deletes a specified APIG environment by its environment ID, removing it from API Gateway configuration. Use it to clean up environments that are no longer needed.

Instructions

[APIG] 删除指定的环境。

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": {
      "env_id": "<env_id>"
    },
    "name": "apig__DeleteEnvironment"
  }
}

Input Schema

NameRequiredDescriptionDefault
env_idYes环境的ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description bears full disclosure burden, and it only implies that the operation is destructive via the word '删除'. It says nothing about irreversibility, what dependent resources are affected, permission requirements, or what happens on failure — all critical for an unannotated delete tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with the verb and resource front-loaded and no filler. It is efficient, though the brevity is under-specification rather than tight writing, and '指定的' contributes little information.

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

Completeness2/5

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

For a destructive operation with no annotations and no output schema, the description should at minimum state that deletion is permanent and note any preconditions. As written, an agent has nothing beyond the tool name to judge risk or expected outcome.

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%, with env_id documented as '环境的ID' and an example value, so the schema already carries the parameter meaning. The description adds nothing beyond it, which is acceptable at the baseline for fully covered schemas.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('删除' + '环境'), so an agent immediately knows this is an environment deletion operation. It does not differentiate from the sibling apig__DeleteEnvironmentV2, which the description leaves entirely ambiguous, but the core purpose itself is clear.

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?

There is no when-to-use guidance, no mention of prerequisites (e.g. environment must be empty or have no bound APIs), and no routing to alternatives such as DeleteEnvironmentV2. The agent must infer all usage conditions from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools