Skip to main content
Glama

env_import

Imports an environment configuration from a portable JSON object, restoring exported settings into the active project or a specified target project.

Instructions

Import an environment configuration from a portable JSON object.

Input Schema

NameRequiredDescriptionDefault
dataYesExported environment JSON object (from env_export)
projectIdNoOptional: target project ID (default: active project)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden yet says nothing about mutation semantics: does it create a new environment, overwrite an existing one with the same name, or merge into the active env? Questions of destructive impact, name collisions, required permissions, and response shape are all unaddressed for a write operation.

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?

A single well-formed sentence that front-loads the verb and resource with zero filler. Nothing in it is redundant or wasted.

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

Completeness2/5

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

For a mutating import tool with a nested payload, no annotations, and no output schema, the description is too thin — an agent cannot predict what state the environment or project will be in after the call, or how failure and conflicts are handled.

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 both the nested data object and the optional projectId override are already documented in the schema. The description adds no format constraints, size limits, or nesting rules beyond restating the schema's content, so the baseline 3 applies.

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 specific verb (import) and resource (environment configuration) plus the input form (portable JSON object). An agent can distinguish it from env_export as the inverse operation, though the description never names the sibling or clarifies how it differs from project_import.

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?

No when-to-use framing at all: nothing says whether to reach for this versus env_configure or env_set_variable when building an environment, and no preconditions (e.g., must the project exist first) are given. The only hint of intent, that the payload comes from env_export, lives in the schema parameter description rather than the tool description.

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