Skip to main content
Glama

apig__DeleteEnvironmentVariable

Deletes a specified API Gateway environment variable by ID, enabling cleanup of outdated or unused configuration values.

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_variable_id": "<env_variable_id>"
    },
    "name": "apig__DeleteEnvironmentVariable"
  }
}

Input Schema

NameRequiredDescriptionDefault
env_variable_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 carries the full behavioral burden, yet it only says 'delete'. It does not disclose irreversibility, whether the variable must be unreferenced or unbound from APIs, required permissions, or what happens to dependent configuration. For a destructive operation this is a significant gap.

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?

One short sentence, front-loaded with the verb, with no wasted clauses. The '[APIG]' prefix and the filler '指定的' are minor noise but nothing is padded or buried.

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?

The tool is simple (one required path parameter, no output schema), but it is destructive and has no annotations, so the description should at minimum warn about permanence and side effects. It says nothing an agent could not already derive from the name and 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?

The single parameter env_variable_id already has a full schema description ('环境变量的ID') at 100% coverage, so the schema does the heavy lifting. The description adds no format, sourcing, or lookup guidance beyond what the schema states, which is the expected baseline here.

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 ('删除指定的环境变量' / delete the specified environment variable), so an agent knows exactly what the tool operates on. It offers no differentiation from the closely-named sibling apig__DeleteEnvironmentVariableV2, which is the only thing keeping it from a 5.

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 or when-not-to-use guidance, and no mention of the V2 sibling that performs an apparently similar deletion. The agent must infer that this is the correct delete variant 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