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_variable

Set a NON-SECRET configuration value a project's Functions read at runtime, as req.env['KEY'].

Variables are stored and returned in plain text — that is the point of them not being secrets. Anything that must not be readable (an API key, an OAuth token) belongs in set_secret instead.

This sets the project DEFAULT. A tenant can override any key for itself by calling the project's own REST API; those overrides are not reachable from here, because this MCP is scoped to the platform project.

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>",
      "value": "<value>"
    },
    "name": "set_variable"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesName as the Function sees it. Cannot begin AWS_ or AALY_ — those would shadow the runtime's own environment.
valueYesThe value, in plain text.
project_idNoProject these variables apply to. Get it from whoami or list_projects.
descriptionNoWhat this variable 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 these variables apply to. Optional if whoami returned a default_project_id."New value: +"Project these variables apply to. Get it from whoami or list_projects."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnly=false, idempotent=false, destructive=false and openWorld=false; the description adds genuinely non-obvious behavior by disclosing that values are stored and returned in plain text and that the platform scopes writes to the project default layer. It stops short of saying what happens when a key already exists (overwrite vs. error) or what the call returns, which matters given idempotentHint=false.

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?

Three short paragraphs, each front-loaded with its main point: what it does, the plain-text/secret boundary, then the project-default scope. No sentence repeats the name or title, and the most decision-relevant line (the set_secret redirect) appears early.

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 four-parameter, fully documented write tool with annotations but no output schema, the description covers storage semantics, the secret boundary, and scope limits. The remaining gap is overwrite/upsert behavior and return value, which an agent would plausibly want before re-setting an existing key.

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 the baseline is 3; the description's contribution is framing the key as the name the Function sees at req.env['KEY'] and reinforcing that value is plain text. It adds helpful mental model but no new per-parameter syntax or constraints beyond what the schema already documents, including the AWS_/AALY_ prefix restriction.

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 ('Set a NON-SECRET configuration value a project's Functions read at runtime') and pins down the exact access form, req.env['KEY']. It also distinguishes itself from the sibling set_secret by naming it outright, so an agent can choose between them without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit when-not rule: anything that must not be readable, such as an API key or OAuth token, belongs in set_secret instead. It also scopes expectations by explaining that this sets the project default and that tenant overrides are not reachable from this MCP, which prevents a futile search for them.

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