setEnvVar

Set or update an environment variable for your Rails application on Hatchbox. This tool uses the Hatchbox API to modify environment variables, which will be applied on the next deployment. Changes do not take effect immediately - you must trigger a deployment after setting variables. Example resp...

Server Pointsyeah slack-workspace-mcp-server
Category Write
Risk class Medium
Parameters 00 required

What setEnvVar does on Pointsyeah

AI agents use setEnvVar to create or update resources in Pointsyeah — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Pointsyeah environment.

Why setEnvVar needs a policy

This tool creates or modifies configuration data (environment variables) reversibly. While high severity due to potential impact on application security and behavior if credentials or critical configs are misconfigured, it remains a Write operation rather than Execute/Destructive because: (1) changes are reversible—environment variables can be updated again to correct values, (2) the tool itself does not execute…

From the tool's definition Tool description states it will "Set or update an environment variable" and "modify environment variables" which are reversible write operations.

Questions about setEnvVar

What does the setEnvVar tool do? +

Set or update an environment variable for your Rails application on Hatchbox. This tool uses the Hatchbox API to modify environment variables, which will be applied on the next deployment. Changes do not take effect immediately - you must trigger a deployment after setting variables. Example response: Successfully set environment variable: FEATURE_FLAG_ENABLED=true Use cases: - Enabling or disabling feature flags - Updating API endpoints or external service URLs - Changing application configuration values - Setting new API keys or credentials - Adjusting performance tuning parameters - Configuring third-party service integrations Important notes: - Changes require a deployment to take effect - Use getEnvVars to verify current values before changes - Requires READONLY=false in configuration - Some variables like RAILS_ENV should be changed with caution. It is categorised as a Write tool in the Pointsyeah MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on setEnvVar? +

Register the Pointsyeah MCP server in PolicyLayer and add a rule for setEnvVar: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Pointsyeah. Nothing to install.

What risk level is setEnvVar? +

setEnvVar is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit setEnvVar? +

Yes. Add a rate_limit block to the setEnvVar rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block setEnvVar completely? +

Set action: deny in the PolicyLayer policy for setEnvVar. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides setEnvVar? +

setEnvVar is provided by the Pointsyeah MCP server (slack-workspace-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.