Skip to main content
Glama

store_secret

Store a secret in OpenStack Barbican with a write-only base64-encoded payload. Returns the secret ID and metadata, never the payload itself.

Instructions

Store a secret in Barbican. The payload is write-only.

Service: Barbican (key-manager). Mutates state. The response contains the id and metadata, never the payload. The payload is sent base64-encoded, which is what Barbican requires, and is not logged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "payload": "<payload>"
    },
    "name": "store_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
nameYes
payloadYes
algorithmNo
bit_lengthNo
secret_typeNoopaque
payload_content_typeNotext/plain

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does so well: it declares that state is mutated, that the payload is write-only, that the response returns only id and metadata, and that the payload is base64-encoded and not logged. Gaps remain around idempotency, duplicate-name conflicts, and permission requirements, which are exactly the failure modes of a write tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Short, front-loaded sentences with the key constraint (write-only payload) stated early. The clause "which is what Barbican requires" is mild filler but does not bloat the text.

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

Completeness2/5

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

This is a 7-parameter mutation tool with no annotations and no schema descriptions, so the description is the only source of guidance and it covers one parameter and the return shape. The mirror create_secret_container sibling suggests a meaningful storage-model choice that goes unaddressed, leaving the definition incomplete for its complexity.

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

Parameters2/5

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

Schema description coverage is 0% and the description only explains the payload parameter's encoding and write-only nature. Six other parameters (name, mode, algorithm, bit_length, secret_type, payload_content_type) get no semantic explanation, and the distinction between algorithm/bit_length usage versus opaque secrets is left entirely unstated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Store a secret in Barbican") plus the service, so the agent knows exactly what domain this operates in. It never distinguishes itself from nearby siblings such as create_secret_container, so an agent choosing between container creation and direct secret storage gets no help from the text.

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?

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites (for example whether a container is required), and no reference to alternatives. "Mutates state" signals the operation class but is not a usage rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools