Skip to main content
Glama
privacyplaybook

sops-mcp

sops_create_secrets

Generate and encrypt secrets as SOPS YAML using random, external, or derived sources. Returns encrypted content for writing to disk.

Instructions

Generate and encrypt secrets as SOPS YAML. Returns encrypted content for the client to write to disk. Supports three sources: 'generated' (cryptographic randomness), 'external' (user-provided values), and 'derived' (computed from another key in the same file via a transform such as pbkdf2_sha512_authelia). Derived secret plaintexts are returned in the response so they can be copied into config files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
secretsYesList of secrets to create
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses that the tool returns encrypted content and that derived secret plaintexts are returned. It also explains the behavior of different sources (generated uses randomness, external requires value, derived uses transform from another key). Lacks disclosure on authentication or rate limits but is sufficient for basic usage.

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 concise, front-loaded with the main purpose, and uses clear, direct language. Every sentence adds value: first sentence states output and action, second sentence explains derived plaintext behavior, third sentence lists sources. No fluff.

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?

Given no output schema, the description appropriately explains the return value (encrypted content for client to write to disk) and derived secret plaintexts. It covers the main aspects of the tool's workflow. Could mention file path handling or error conditions but is fairly complete for a creation tool with complex parameter requirements.

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 coverage is 100% with descriptions for all parameters. Description adds value beyond schema by explaining the behavioral implications of source types (e.g., derived secrets return plaintexts, generated uses cryptographic randomness). This contextual information helps agents select and correctly invoke the tool.

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 generates and encrypts secrets as SOPS YAML, returns encrypted content for client to write to disk. It specifies three distinct sources (generated, external, derived) with examples, distinguishing it from sibling tools like sops_add_secrets or sops_delete_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?

The description explains when to use this tool (for creating and encrypting secrets) and provides context about derived secrets returning plaintexts. It implicitly distinguishes from siblings by focusing on creation, but lacks explicit when-not-to-use or alternative recommendations.

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/privacyplaybook/sops-mcp'

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