Skip to main content
Glama

Ferrite

Set an app secret

set_secret
DestructiveIdempotent

Set one per-app SECRET (confidential config: an API key, token, or connection string). The value is stored ENCRYPTED at rest and injected DECRYPTED into your app at deploy — the app reads it via ctx.secret("") (NEVER an env var; the code gate bars std::env). Owner-gated; the value is write-only (never returned by the API). Bounds: name [A-Za-z0-9_.-] <=64, value <=64 KiB, <=64 secrets per app. Returns {SecretSet:{app,name}}.

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": {
      "app": "<app>",
      "name": "<name>"
    },
    "name": "set_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
nameYes
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused
valueNoSecret value. Omit on MCP 2026-07-28 clients supporting URL elicitation to enter it directly in the Ferrite Dashboard without sending it through chat.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses that values are encrypted at rest and injected decrypted at deploy, that access is owner-gated, that the value is write-only and never returned, and that there are hard bounds (name charset/length, 64 KiB value, 64 secrets per app). It even states the return shape, which is notable given no output schema exists. Nothing here conflicts with destructiveHint=true or idempotentHint=true.

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?

Information is front-loaded — the core action and storage model come first, then access and bounds, then the return shape. It is dense and parenthetical-heavy, which slightly slows scanning, but essentially every clause carries operational information rather than filler.

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

Completeness5/5

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

For a mutation tool with no output schema and partial parameter coverage, the description supplies the missing pieces: auth requirement (owner-gated), storage/injection behavior, limits, and the exact return value. An agent has everything needed to call this correctly and to warn about overwrites.

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?

With only 50% schema description coverage, the description compensates well: it specifies the name charset and 64-char bound, the 64 KiB value bound, and reinforces write-only semantics of value. The app and token parameters are left to the schema (token is well documented there), so the added meaning is strong but not exhaustive.

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 opens with a specific verb and resource ('Set one per-app SECRET') and immediately scopes it to confidential config such as API keys, tokens, or connection strings. It also distinguishes the secret mechanism from the env-var alternative the platform forbids, so an agent can tell what this tool does and what it is not.

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?

It gives clear context for when to reach for this tool (storing confidential per-app config) and an implicit exclusion (the app must read via ctx.secret, never an env var). It does not explicitly route against siblings like delete_secret or mention what to do when a secret already exists, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.