Skip to main content
Glama

pier_set_env_vars

Replace all environment variables for an app at once, removing any variables not specified. Use for bulk updates; for single variable changes, use update_env_var.

Instructions

Replace the entire environment variable set for an app. Any existing variables not included in the new array will be deleted. For a single variable change, use update_env_var instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesThe numeric ID of the app
envVarsYesArray of {name, value} environment variables

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries full burden and delivers: 'Any existing variables not included in the new array will be deleted' explicitly discloses the destructive replace semantics. This is the key behavioral trait an agent needs to know.

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, each earning its place: the first states the core operation, the second exposes destructive behavior and names the lighter alternative. No filler, well front-loaded.

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

Completeness5/5

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

For a simple two-parameter tool with no output schema, everything needed to call it correctly is present: what it does, the destructive scope, and the appropriate alternative. No meaningful information gap remains.

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 the baseline is 3. The description adds valuable semantic context by clarifying that envVars is the complete replacement set, tying it to the deletion behavior rather than just listing it as 'Array of {name, value} variables'.

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 states a specific verb and resource: 'Replace the entire environment variable set for an app.' It also explicitly contrasts with 'update_env_var', making sibling differentiation clear without opening either schema.

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

Usage Guidelines5/5

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

It explicitly says when to use this tool (when replacing the full set) and when not: 'For a single variable change, use update_env_var instead.' This directly routes the agent to the correct alternative.

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