Skip to main content
Glama
KauaLealz

secrets-mcp-server

by KauaLealz

import_secrets_from_file

Import key-value pairs from a .env-style file as secrets, using a regex name pattern to filter keys, an optional prefix for secret names, and an overwrite flag to update existing secrets.

Instructions

Reads a .env-style file (KEY=VALUE per line) and imports each key as a secret. name_pattern (regex) filters which keys get imported; prefix is prepended to the created secret name; overwrite controls whether existing secrets get updated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prefixNo
overwriteNo
source_pathYes
name_patternNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description must disclose side effects itself. It does explain that overwrite controls whether existing secrets get updated, and describes prefixing and regex filtering. However, it does not state what happens when overwrite=false and a secret already exists, whether non-matching keys are silently skipped, or how malformed lines are handled. No annotation contradiction exists.

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?

Two tightly written sentences: the first states the core operation and file format, the second systematically covers all three optional parameters. Every sentence earns its place with no filler or redundancy.

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 the input file format and the semantics of each parameter, and an output schema exists for return values. It lacks edge-case behavior such as existing-secret handling when overwrite is false, handling of malformed lines, or file access assumptions, but for typical calls it gives enough to use the tool correctly.

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

Parameters4/5

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

Schema description coverage is 0%, but the description compensates by explaining name_pattern as a regex filter, prefix as prepended to the secret name, and overwrite as controlling existing secret updates. source_path is only implied by 'Reads a .env-style file', not explicitly tied to the parameter, so a slight gap remains.

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 states a clear, specific action: reads a .env-style file and imports each key as a secret. It also names the filtering, prefixing, and overwrite behaviors, which clearly differentiates it from siblings like create_secret, create_secrets_batch, and apply_secrets_to_file.

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 implies the tool is for importing secrets from a .env-style file, but it gives no explicit guidance on when to choose it over alternatives like create_secrets_batch, nor any conditions or exclusions. The context is clear but the agent is left to infer the decision boundary.

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