Skip to main content
Glama

OpenFactory

set_account_env

Upsert/delete account-level env vars in a single transaction. These propagate into every subsequent app deploy you own (account vars are merged in BEFORE app vars, so app-level keys override account-level).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_account_env"
  }
}

Input Schema

NameRequiredDescriptionDefault
setNoUpsert dict of KEY → value. Same validation as set_app_env.
deleteNoOptional list of KEY names to remove from account env.
api_keyNoMCP API key
session_tokenNoSession token

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full load and does real work: it discloses single-transaction atomicity, that changes propagate into every subsequent deploy the caller owns, and the exact merge/precedence rule. It stops short of stating error behavior (e.g. deleting a nonexistent KEY) or the auth requirements implied by the api_key/session_token parameters.

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?

Two compact sentences with the primary action front-loaded and the precedence rule second, where it belongs as the consequence. Nothing is redundant, though 'in a single transaction' could be folded more explicitly into the parameter discussion.

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?

An output schema exists, so return values need no prose, and the description covers the mutation semantics an agent most needs: atomicity, propagation scope, and precedence. The remaining gap is failure/auth behavior for a 4-parameter, zero-required mutation tool with no annotations to fall back on.

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 each parameter is already documented, including the upsert dict and the optional delete list. The description only reinforces that these two mutations happen in one transaction and that set follows set_app_env validation; it adds no syntax, key-format, or value-type detail beyond the schema.

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 specific verbs (upsert/delete) against a specific resource (account-level env vars) with an atomicity qualifier. It also distinguishes itself from the app-level sibling by explaining the merge order: account vars are applied BEFORE app vars, so app keys win.

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?

The account-vs-app precedence note implies when this tool is the right scope, and 'Same validation as set_app_env' points at the sibling's rules. But there is no explicit when-to-use/when-not guidance, e.g. that list_account_env or reveal_account_env should precede a delete, or that set_app_env is the choice for per-app overrides.

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.