Skip to main content
Glama
SashiDo MCP Server

SashiDo MCP Server

Official

set_env_var

Set or change an app's cloud code environment variable, such as a service API key, then redeploy the app and follow with wait_for_deployment.

Instructions

Set or change an environment variable of an app (process.env in its cloud code), e.g. the key of a service the cloud code calls. The app is redeployed: follow with wait_for_deployment.

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": {
      "appObjectId": "<appObjectId>",
      "name": "<name>",
      "value": "<value>"
    },
    "name": "set_env_var"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesEnvironment variable name
valueYesEnvironment variable value
appObjectIdYesThe app: its name or objectId (see list_apps)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnly=false and destructive=false; the description adds the crucial side effect that the app is redeployed as a result, which is exactly the kind of consequence annotations cannot convey. It stops short of saying whether an existing variable is overwritten or what happens if the value is invalid.

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?

Two sentences, front-loaded with the action and ending on the required follow-up. Nothing is redundant or padded.

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

Completeness4/5

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

For a three-parameter mutation with no output schema, the definition covers the target, the side effect, and the next step. Only minor gaps remain, such as overwrite semantics or permission requirements.

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%, so name, value, and appObjectId are already documented including the name-or-objectId option. The description adds only a light hint about content ('e.g. the key of a service the cloud code calls'), so baseline 3 applies.

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?

States a specific verb and resource ('Set or change an environment variable of an app') and pins down the exact target with '(process.env in its cloud code)', which distinguishes it from app-level settings siblings like set_engine or set_high_availability. An agent knows precisely what this mutates without opening the schema.

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

Usage Guidelines4/5

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

Gives a concrete workflow requirement: the app is redeployed, so follow with wait_for_deployment. It does not explicitly say when to use delete_env_var or list_env_vars instead, but the create/update framing plus the named follow-up step is clear operational context.

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