Skip to main content
Glama

trove_add_secret

Add an encrypted secret to the vault, storing key-value fields securely with age encryption and cleartext metadata.

Instructions

Save an encrypted secret under secrets//.age plus a cleartext metadata sidecar (title, tags, dates — never values). Encrypts in memory with age; plaintext never touches disk. Requires recipients in trove.toml.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoNon-sensitive tags.
notesNoFree text stored INSIDE the encrypted payload.
titleYesHuman-readable title; slug derived from it.
fieldsYesKey/value secret material (username, password, token…).
categoryYesCategory folder under secrets/, e.g. 'aws'.
overwriteNoReplace an existing entry (default false).
Behavior4/5

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

With no annotations, the description carries full burden. It discloses encryption in memory with age, that plaintext never touches disk, and the existence of a cleartext metadata sidecar. It does not contradict any annotations. The behavior is fairly transparent, though it omits details on return values or error handling.

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?

The description is two sentences, each packed with meaningful information. No fluff or redundancy. It efficiently communicates the core action, encryption method, and prerequisite. The structure is front-loaded with the main purpose.

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

Completeness3/5

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

Given the complexity (6 params, nested object, no output schema), the description covers the encryption process, path structure, and prerequisite. However, it lacks any mention of return values or what the agent receives after execution, which is a notable gap since there is no output schema to fill that gap.

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%, so baseline is 3. The description adds global context (e.g., fields are encrypted inside payload, tags are non-sensitive) but does not significantly enhance individual parameter understanding beyond the schema's own descriptions. It does not introduce new parameter-specific semantics.

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 saves an encrypted secret under a specific path pattern (secrets/<category>/<slug>.age) and explains the metadata sidecar. The verb 'Save' and resource 'encrypted secret' are explicit, and the description distinguishes from siblings like trove_get_secret and trove_update_secret by focusing on creation and encryption details.

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

Usage Guidelines3/5

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

The description mentions a prerequisite (requires recipients in trove.toml) but does not explicitly guide when to use this tool over alternatives like trove_add_snippet or trove_update_secret. The usage context is implied through the description of encryption and storage, but no direct when/when-not guidance is provided.

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/mauriziomocci/mcp-trove'

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