Skip to main content
Glama
KauaLealz

secrets-mcp-server

by KauaLealz

apply_secrets_to_file

Write selected secrets into a destination file as environment variables without returning their values. Optionally map secret names to custom keys for env-format output.

Instructions

Writes one or more secrets into dest_path without ever returning the value. key_names is an optional {name: key_in_file} map — without an entry, it defaults to the secret name upper-cased (e.g. 'db-pass' -> 'DB_PASS').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namesYes
formatNoenv
dest_pathYes
key_namesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are present, so the description carries the behavioral disclosure burden. It does reveal the critical property that values are never returned and explains the default key-mapping behavior. However, it omits other important behavioral details such as whether dest_path is overwritten, what happens when a referenced secret doesn't exist, and how the format parameter affects the write.

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 tight sentences with the main action and security-critical behavior front-loaded. The key_names explanation with example is concise and high-value, with no filler or redundancy.

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?

The description is strong on key_names and the non-return guarantee, and an output schema exists, so return values are covered. However, the missing format semantics and lack of file-overwrite behavior leave gaps that could cause incorrect calls, especially for non-env formats. Overall it's adequate for the most common path but not fully 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?

The description explains dest_path, names implicitly as 'one or more secrets', and key_names in detail with an example. It does not mention the format parameter at all, which is a genuine gap given that schema description coverage is 0% and format has a default of 'env'. Thus it compensates for most parameters but leaves one key parameter obscure.

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?

States a specific action: writes one or more secrets into dest_path, and highlights a key behavioral trait (never returns the value). The operation is clearly distinct from sibling tools like create_secret/update_cret/list_crets because it targets a file path rather than managing the secret store.

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

Usage Guidelines2/5

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

Provides no guidance on when to use this tool versus alternatives like import_secrets_from_file or run_with_secret. The description only states what the tool does, leaving the agent to infer the appropriate context. It doesn't mention exclusions, prerequisites, or when another sibling would be better.

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/KauaLealz/secrets-mcp-server'

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