Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as AALY. If you published it, claim ownership there.

set_secret

Read-onlyIdempotent

Register a credential a project's Functions read at runtime, as req.secrets['KEY'].

NO VALUE IS ACCEPTED HERE. This returns instructions for a human to enter the value in the AALY app, along with the exact key name to use — a live credential must not pass through an agent's context, this MCP's transport, or a conversation transcript. Call this to declare which secrets a Function needs, then hand the operator that list.

A secret may hold a single string (an API key) or a whole structured token set — an OAuth access token, refresh token and expiry together, so they rotate atomically in one write rather than tearing across separate records. The web app decides which when the value is entered.

This sets the project DEFAULT; a tenant overrides its own via the project's REST API.

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

Input Schema

NameRequiredDescriptionDefault
keyYesName as the Function sees it. Cannot begin AWS_ or AALY_.
project_idNoProject this credential applies to. Get it from whoami or list_projects.
descriptionNoWhat this credential is for. Shown to whoever has to set it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Project this credential applies to. Optional if whoami returned a default_project_id."New value: +"Project this credential applies to. Get it from whoami or list_projects."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the return value is a set of instructions plus the exact key name for a human, values deliberately never traverse agent context or transport, and a secret may hold a structured token set that rotates atomically. This is exactly the context the readOnlyHint/idempotentHint annotations cannot convey, and it is consistent with them.

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?

Front-loads the prohibition on passing values in the very first line, then layers data model and scoping. Every paragraph adds a distinct fact — no restatement of the title, no 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?

With no output schema, the description correctly explains what the caller gets back (human-facing instructions plus the key name). For a three-parameter declaration tool this covers purpose, safety constraint, and return behavior completely.

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?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning beyond the schema: key is the identifier the Function actually dereferences at runtime, and project_id carries default-vs-tenant override semantics. It does not elaborate on the description parameter's visibility to the operator, which is minor.

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?

States a specific verb and resource — register a credential that Functions read at runtime as req.secrets['KEY'] — and immediately scopes what the tool does NOT do by declaring no value is accepted. An agent can tell this apart from delete_secret and from ordinary variable-setting without opening any schema.

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?

Gives an explicit call condition ("Call this to declare which secrets a Function needs, then hand the operator that list") and a scope rule (sets the project DEFAULT; tenants override via the project's REST API). It does not name a sibling alternative for plain non-secret config, so the routing guidance is clear but not exhaustive.

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