Skip to main content
Glama

Manage test environment

manage_test_environment
Destructive

Create or update a test environment for a project (the target a suite runs against). kind = live|staging|test|custom. Pass id to update. Secrets belong in integrations, not here.

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": {
      "project_id": "<project_id>",
      "name": "<name>"
    },
    "name": "manage_test_environment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoEnvironment UUID to update (omit to create)
kindNoEnvironment kind (default test)
nameYesEnvironment name
configNoNon-secret extra config
base_urlNoBase URL of the target (used by http/browser/load tests when a test has no absolute url)
project_idYesProject UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, so the description's job is to explain the risk, and it does not: it never says whether updating overwrites the existing config or preserves unmentioned fields. What it does add beyond structured data is non-obvious routing context (secrets belong in integrations) and the create-vs-update switch. Nothing here contradicts the annotations — an update tool can legitimately be destructive.

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?

Four short fragments, front-loaded with the create/update distinction and the id rule, with no filler. Every sentence carries either behavioral scope or a routing constraint.

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?

With six parameters, a nested config object, and a destructive annotation, the description is thin on update semantics: it doesn't say what a partial update does to existing config or base_url. The return behavior is moot since no output schema exists, but the mutation semantics should be spelled out more fully.

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%, including the enum values that the description restates, so the baseline is 3. The only genuine additions are "Pass id to update" and the warning that config/base_url must not carry secrets, which refines the meaning of the object parameter slightly.

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?

"Create or update a test environment for a project" gives a specific verb pair and resource, and the parenthetical "the target a suite runs against" disambiguates it from the sibling suite/test tools. It stops short of naming a specific sibling (e.g. manage_test_suite) as the alternative for suite-level configuration.

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?

"Pass id to update" states the exact condition that selects update behavior versus creation, and "Secrets belong in integrations, not here" tells the agent when to route elsewhere. It gives no explicit when-not guidance for the other sibling tools, which keeps it below a 5.

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