Skip to main content
Glama

Set Edge Compute env variable

set_edge_env_variable

Set an environment variable for an ArvanCloud edge compute instance by providing its key, value, type (string or JSON), and secret status.

Instructions

[WRITE] OpenAPI EnvVariable: POST /edge-computes/{edgeComputeId}/env-variables — key, value, type (string|json), is_secret.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
typeYes
valueYes
is_secretYes
edge_compute_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.3

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the [WRITE] marker partly restates what structured data provides. The description adds the OpenAPI endpoint mapping but omits overwrite semantics (does setting an existing key replace it?), secret-handling behavior, and permission requirements — meaningful gaps for a 5-required-param mutation.

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 front-loaded sentence with the WRITE flag and endpoint first; little waste. It is arguably too terse for a five-parameter mutation, but structurally it is efficient.

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 write tool with no output schema, five required params, and zero schema descriptions, the definition is too thin. It never explains secret handling, overwrite behavior, or expected result, so an agent lacks enough context to invoke it confidently.

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 0%, so the description must carry parameter meaning. It names key, value, type (string|json), and is_secret, mapping 4 of 5 fields, but provides no semantic explanation of each (e.g., that value is a raw string payload or what is_secret controls). It compensates only partially.

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?

States a specific verb (set/POST) and resource (edge-compute env variable), and tags it clearly as a WRITE operation with the underlying endpoint. An agent can distinguish this from the read-side sibling list_edge_env_variables, though the description never names that sibling explicitly.

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 and no mention of alternatives or prerequisites. The [WRITE] tag implies mutation, but nothing tells the agent when this should be chosen over invoke_edge_api or how it relates to the list counterpart.

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