Skip to main content
Glama

env_configure

Create or update environment profiles like dev or prod, saving credentials, headers, variables, and auth settings directly to the active project's local SQLite database.

Instructions

Configure or create an environment profile (e.g. dev, prod) inside the active project. Saves credentials directly into the local SQLite DB.

Input Schema

NameRequiredDescriptionDefault
nameYesName of environment (e.g., dev, prod, local)
baseUrlNoBase URL for API requests (e.g. https://api.dev.example.com). Supports {{var}} interpolation from environment variables.
cookiesNoDefault cookies
headersNoDefault headers
timeoutNoDefault request timeout in milliseconds (default: 30000)
authTypeNonone
authTokenNoStatic token value (Bearer or API Key)
variablesNoDefault variables key-value mapping
oauth2ConfigNo
apiKeyHeaderNameNoCustom API Key header name (default: x-api-key)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose one important behavioral trait beyond the schema: credentials are persisted into the local SQLite DB. However, it is silent on the critical create-vs-configure ambiguity (does calling it on an existing name overwrite or merge settings?) and on secret-handling or permission requirements.

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 short sentences with the resource and the persistence side effect front-loaded; no filler. Slight ambiguity from pairing 'configure' with 'create' in one verb phrase, but the size is appropriate for a 10-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 10 parameters, nested oauth2Config, no output schema and no annotations, yet the description is only two sentences. It omits what happens when the name already exists, the response shape, and whether stored credentials are masked or retrievable — gaps an agent would want before a mutating call.

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 80%, with rich per-parameter descriptions including {{var}} interpolation and defaults, so the schema does most of the work. The description adds only the notion that the values are 'credentials', which is marginally useful but below what the schema already conveys.

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 clear verb ('configure or create') and resource ('environment profile') and clarifies scope with 'inside the active project' plus examples of profile names. It implicitly separates itself from env_rename/env_set_variable by covering full-profile creation, but never names those siblings explicitly.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance or alternatives. It does not say whether to use env_set_variable for a single value, env_switch to activate the profile, or env_rename to change its name, leaving the agent to infer routing from sibling names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.