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.12.

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.12", 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.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."
  2. 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."
  3. 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"
      +]
  4. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false but destructiveHint=false, and the description corroborates this by explaining that the tool creates entries without binding them to an app and that users supply values only via the form. It goes well beyond the annotations with the critical safety detail that values must never be passed as parameters, plus the return shape (widget and external intake URL). It omits idempotency behavior (idempotentHint=false) and what a repeat call produces.

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 key constraint (names only, no values) are front-loaded, and the sentences are dense with operational instructions. The trailing "MCP version 2.12" is redundant with the schema's mcp_version description, a minor waste.

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?

With no output schema, the description correctly compensates by describing the return values (a widget and an external intake URL) and how to present them. Combined with full schema coverage, an agent has enough to call it correctly; only repeat-call/idempotency behavior is unaddressed.

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 description coverage is 100%, so both app_id and secret_names are already fully documented, including the new-app / pre-deploy_app guidance. The description reinforces that only names go in secret_names and that app_id scopes entries, but adds no syntax or format detail beyond the schema. Baseline 3 applies when the schema carries the load.

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: "create a secure form for app configuration" fed by secret names. It also distinguishes itself implicitly from the write-oriented siblings by noting "Creating entries does not bind them to an app" and "Users enter values only in the form," which separates it from 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides concrete usage directives: pass names only, offer both the widget and the external URL, and "use the URL when the widget is unavailable." It routes deeper workflow questions to get_secret_entry_instructions instead of answering them inline, which is a reasonable hand-off but leaves the workflow itself unspecified here.

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