Skip to main content
Glama
InstaNode-dev

instanode-mcp

Official

set_vault_key

Store an encrypted secret in the team vault under a specified environment and key, enabling reference in deploys via vault://env/key. Each write creates a new version.

Instructions

Write a secret to the team vault (PUT /api/v1/vault/:env/:key).

This is the WRITE side of the vault:// references create_deploy advertises. Store a secret here, then reference it from a deploy as vault:/// in env_vars (or resource_bindings) — the api decrypts it at deploy time so the plaintext never sits in your tool params or the deploy record. Closes the gap where create_deploy could point at vault://env/KEY but there was no MCP tool to populate it.

Every write creates a NEW version (v1 on first create, v2+ on updates), so the returned 'version' tells you which generation this call minted. The plaintext value is never echoed back.

Vault is a paid feature: Hobby+ (20 entries) through Pro/Team (unlimited). On anonymous/free you get 403 vault_not_available; at the entry cap you get 402. Hobby/Pro tiers restrict the env to 'production' only — pass env="production" there (the api returns 403 vault_env_not_allowed otherwise).

Requires INSTANODE_TOKEN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envYesVault environment namespace (e.g. 'production', 'staging'). Hobby/Pro tiers allow 'production' only. Format: ^[A-Za-z0-9_-]{1,64}$.
keyYesSecret key name (e.g. 'DATABASE_URL', 'STRIPE_SECRET_KEY'). Format: ^[A-Za-z0-9_.-]{1,256}$. Reference it later as vault://<env>/<key>.
valueYesThe secret value (≤1 MiB). Stored encrypted at rest; never echoed back.
Behavior5/5

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

No annotations provided, so description carries full burden. It discloses version creation, that plaintext is never echoed, authentication requirement (INSTANODE_TOKEN), and possible error codes (403, 402, 403 vault_env_not_allowed).

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?

The description is well-structured with a clear opening sentence followed by relevant details. It is slightly verbose but every sentence adds value.

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?

Covers return value (version), error scenarios, and authentication. Without an output schema, it provides sufficient context for a simple write operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 100% coverage, but description adds critical context: env tier restrictions, key reference format, and value encryption/echo behavior. This goes beyond the schema's basic descriptions.

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 it writes a secret to the team vault using a specific HTTP method and path. It distinguishes itself from sibling tools like rotate_vault_key by focusing on writing/updating secrets.

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?

Explains when to use the tool: to populate a vault:// reference for create_deploy. Also covers tier restrictions and possible HTTP errors, but does not explicitly mention alternative tools for read 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/InstaNode-dev/mcp'

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