Skip to main content
Glama

Bind submitted secrets to an app

set_app_secrets
Destructive

Call this tool with app_id and submitted secret_entry_ids to bind secrets to an existing app. Matching secret names replace stored values. 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": {
      "app_id": "<app_id>",
      "secret_entry_ids": "<secret_entry_ids>"
    },
    "name": "set_app_secrets"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesTarget app id
mcp_versionNoSet to "2.13", the MCP version in this tool's description. Use this tool's version, not another tool's version.
secret_entry_idsYesSubmitted secret entry ids to bind to this existing app. Each entry contributes one secret name/value.

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. Changed1 schema field 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"
      +}
  5. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety bar is partly covered. The description still adds real value beyond them by disclosing the overwrite rule — matching names replace stored values — which is the key destructive behavior an agent needs before calling. It does not address partial-failure behavior or whether replaced values are recoverable.

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?

The actionable instruction and the overwrite semantics are front-loaded in the first two sentences, with the pointer to instructions last. The trailing 'MCP version 2.13' is redundant with the schema's mcp_version parameter description but is not disruptive.

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?

For a three-parameter mutation tool with no output schema, the definition covers the action, the overwrite consequence, and the workflow pointer, which is most of what an agent needs. Missing are failure modes (e.g. what happens with an invalid or already-consumed secret_entry_id) and confirmation of the resulting state.

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%, including the note that each secret entry is an opaque one-time id contributing one name/value pair, so the baseline is 3. The description restates the role of app_id and secret_entry_ids but adds no format, ordering, or duplicate-handling semantics beyond the schema.

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 pairs a specific verb with a specific resource — bind submitted secret_entry_ids to an existing app — and adds the consequence that matching secret names replace stored values. It is clearly distinguishable from create_secret_entry or get_secret_entry_status by its binding action, though it never explicitly contrasts with siblings like set_app_resources or delete_app_secrets.

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 states the call shape and redirects to get_secret_entry_instructions for usage and workflow, which implies the correct sequence without spelling it out. There is no explicit statement of when to prefer this over set_app_resources or delete_app_secrets, and no preconditions (e.g. that entries must be submitted and unbound) are given.

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