Skip to main content
Glama
InstaNode-dev

instanode-mcp

Official

rotate_vault_key

Rotate a vault secret's value to replace a compromised or expiring key, minting a new version with distinct audit trail for intentional rotation.

Instructions

Rotate a vault secret's value (POST /api/v1/vault/:env/:key/rotate).

Functionally a vault write that mints a new version, but recorded under a distinct audit action so the vault audit log distinguishes an intentional rotation (e.g. a leaked credential, scheduled key rotation) from a routine update. Use this when you're replacing a compromised or expiring secret; use set_vault_key for a first write or a normal value change.

After rotating, redeploy any app that references vault:/// so the new value is injected (the running container keeps the old value until its next deploy).

Requires INSTANODE_TOKEN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envYesVault environment namespace of the existing secret (e.g. 'production').
keyYesSecret key name to rotate (e.g. 'DATABASE_URL').
valueYesThe NEW secret value (≤1 MiB). Stored encrypted; never echoed back.
Behavior5/5

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

With no annotations, the description fully discloses that the tool mints a new version under a distinct audit action, that the running container keeps the old value until redeploy, and that the value is encrypted and not echoed. Also notes auth requirement.

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?

Every sentence adds value. The description is front-loaded with the core purpose, followed by functional distinction, usage guidance, redeploy note, and auth requirement. No wasted words.

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?

The description covers purpose, usage, side effects, and auth. However, it does not mention the return value or response format, which is a minor gap for a write operation. Still, given the thoroughness elsewhere and no output schema, a 4 is reasonable.

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 coverage is 100% with descriptive parameter docs (env, key, value). The description adds no new parameter details beyond the schema, but the schema itself is sufficient; baseline 3 is appropriate.

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 action ('Rotate a vault secret's value'), specifies the HTTP endpoint, and distinguishes the tool from its sibling set_vault_key by identifying the intended use case (compromised or expiring secret).

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?

Explicitly states when to use this tool vs set_vault_key ('Use this when... use set_vault_key for...'), advises redeploying dependent apps, and mentions the required INSTANODE_TOKEN.

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