Skip to main content
Glama

bulk_create_env_vars

Create multiple environment variables in a single API call. Optionally overwrite existing keys with upsert.

Instructions

Create multiple environment variables in one call. Pass an array of { key, value, target, type?, gitBranch?, comment? } objects. Set upsert:true to overwrite keys that already exist (otherwise existing keys cause a conflict).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesProject id or name.
variablesYesEnv vars to create.
upsertNoOverwrite existing keys instead of failing on conflict.
teamIdNoTeam ID to scope the request. Falls back to VERCEL_TEAM_ID when omitted.
slugNoTeam slug to scope the request (alternative to teamId).
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the conflict behavior and overwrite capability via upsert, but does not detail atomicity, error handling, or rate limits. Decent coverage of core behavior.

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?

Three sentences: purpose, input structure, and key option. Front-loaded, no filler, every sentence earns its place. Excellent conciseness.

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?

Given no output schema, the description covers the main behavior, parameter structure, and upsert option. It lacks details on return value and error scenarios, but for a bulk create tool it is reasonably complete.

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 baseline is 3. The description adds readable summary of the variables array structure but does not significantly extend beyond the schema. The upsert parameter is explained, adding moderate value.

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 clearly states the tool creates multiple environment variables in one call, using a specific verb and resource. It distinguishes from the singular 'create_env_var' sibling by emphasizing bulk creation.

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?

It instructs to pass an array of objects and explains the upsert toggle, providing clear context. However, it does not explicitly mention when to use this tool versus alternatives like create_env_var or update_env_var, but the bulk nature implies usage for batch operations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/helbertparanhos/vercel-mcp-pro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server