Skip to main content
Glama

haldir_store_secret

Store encrypted API keys, tokens, and credentials in the Vault with AES-256-GCM AAD binding, and define the session scope required to read them.

Instructions

Store an encrypted secret (API key, token, credential) in the Vault. AES-256-GCM with AAD binding. scope_required gates which sessions can later read it.

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>",
      "value": "<value>"
    },
    "name": "haldir_store_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
valueYes
scope_requiredNoSession scope needed to read this secret

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: encryption with AES-256-GCM and AAD binding, plus scope-based read gating. However, it does not address permissions, overwrite behavior for duplicate names, error handling, or what is returned after a store operation.

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 three short sentences and front-loads the core action before adding security and scope details. There is no redundant wording or unnecessary preamble.

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?

For a three-parameter mutation tool with no annotations or output schema, the description covers the core action, encryption, and read-scope behavior. It remains incomplete regarding authentication requirements, duplicate-name behavior, and response semantics, which an agent would need for reliable invocation.

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 only 33%, so the description must compensate for undocumented parameters. It adds some meaning for scope_required by saying it gates later session reads, but it does not explain the required name or value parameters beyond implying that value holds secret material.

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?

The description gives a specific verb and resource: storing an encrypted secret in the Vault, with examples of secret types. It is clearly a write operation, though it does not explicitly contrast itself with sibling read/list tools such as haldir_get_secret or haldir_list_secrets.

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?

The description explains what the tool does but gives no explicit guidance on when to use it versus alternatives. It does not state prerequisites, when not to use it, or how it relates to reading or listing secrets.

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