Skip to main content
Glama

Configure app securely

create_secret_entry

Use this tool to create a secure form for app configuration, such as backend API keys. Pass parameter names only in secret_names; optional app_id scopes the entries. Users enter values only in the form. Creating entries does not bind them to an app. Returns a widget and an external intake URL; offer both so the user can choose, and use the URL when the widget is unavailable. Call get_secret_entry_instructions for usage and workflow. MCP version 2.13.

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": {
      "secret_names": "<secret_names>"
    },
    "name": "create_secret_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idNoOptional existing app id. Omit this when preparing secrets for a brand-new app before deploy_app.
mcp_versionNoSet to "2.13", the MCP version in this tool's description. Use this tool's version, not another tool's version.
secret_namesYesAll secret names needed for this request, together in one array and one call. Use a one-element array for one secret. Never supply values or split names across separate calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.12\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.13\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  2. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.11.7\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.12\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  3. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.11.0\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.11.7\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  4. Changed4 schema fields changed
    • addedInput schema / properties / mcp_version
      Added value: +{
      +  "description": "Set to \"2.11.0\", the MCP version in this tool's description. Use this tool's version, not another tool's version.",
      +  "maxLength": 32,
      +  "minLength": 1,
      +  "pattern": "^\\d+\\.\\d+(?:\\.\\d+)?$",
      +  "type": "string"
      +}
    • removedInput schema / properties / secret_name
      Removed value: -{
      -  "description": "Secret name in uppercase env-style format, for example STRIPE_API_KEY.",
      -  "minLength": 1,
      -  "pattern": "^[A-Z_][A-Z0-9_]*$",
      -  "type": "string"
      -}
    • addedInput schema / properties / secret_names
      Added value: +{
      +  "description": "All secret names needed for this request, together in one array and one call. Use a one-element array for one secret. Never supply values or split names across separate calls.",
      +  "items": {
      +    "description": "Secret name in uppercase env-style format, for example STRIPE_API_KEY.",
      +    "maxLength": 128,
      +    "minLength": 1,
      +    "pattern": "^[A-Z_][A-Z0-9_]*$",
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "secret_name"
      -]New value: +[
      +  "secret_names"
      +]
  5. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (which only say it is a non-read-only, non-destructive, non-idempotent write), the description discloses that users enter values only in the form, that entries are not bound to an app on creation, and that the result is a widget plus an external intake URL with a fallback rule. It omits any note on permissions, repeat-call behavior for the same names, or URL lifetime.

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?

Purpose and the critical no-values rule are front-loaded, and most sentences earn their place. The trailing 'MCP version 2.13' note duplicates the schema's mcp_version description and is the one piece of removable text.

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?

There is no output schema, so the description usefully explains what comes back (widget and external intake URL) and how to offer both, which an agent would otherwise not know. It stops short of describing what happens on subsequent calls for the same secret names or how status is polled, which get_secret_entry_status presumably covers.

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

Parameters3/5

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

Schema coverage is 100%, so all three parameters are already documented, including the app_id omission case and the no-values rule. The description reinforces 'pass parameter names only in secret_names' and optional app_id scoping, but adds no format or syntax detail beyond the schema, so the baseline 3 applies.

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 states a specific verb and resource — creating a secure form/entry for app configuration such as backend API keys — and adds the important scope caveat that creating entries does not bind them to an app. That distinguishes it from binding-oriented siblings like set_app_secrets, though no sibling is named explicitly.

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?

It covers the widget-vs-URL choice and points to get_secret_entry_instructions for workflow, which is genuine routing guidance. However, it never states when to use this tool versus set_app_secrets or deploy_app, leaving the main workflow decision to be inferred from the 'does not bind' remark.

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.

Resources