Skip to main content
Glama

Update Bruno Environment

update_environment

Merge specified variables into an existing Bruno environment while preserving unlisted variables, enabling partial environment updates without replacing the whole file.

Instructions

Partially update an existing Bruno environment by MERGING the provided variables into the existing ones. Variables not listed are preserved, unlike create_environment, which replaces the whole file.

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": {
      "collectionPath": "<collectionPath>",
      "name": "<name>",
      "variables": "<variables>"
    },
    "name": "update_environment"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the existing environment to update.
variablesYesVariables to merge into the environment. Existing variables not listed here are kept.
collectionPathYesAbsolute path to existing collection directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

A4/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 behavioral burden. It usefully discloses merge behavior and that unlisted variables are preserved, but says nothing about what happens if the named environment does not exist, whether the operation requires specific permissions, or what the response contains.

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?

Two sentences with no wasted wording. The partial-update and merge semantics are front-loaded, and the sibling comparison follows as supporting contrast.

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 three-parameter mutation tool with full schema coverage and no output schema, the description covers the essential behavior and the closest alternative. It is slightly incomplete on error conditions and return behavior, but nothing critical for correct invocation is missing.

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 all three parameters are already documented in the input schema, including the merge behavior for variables. The description reinforces the merge meaning but adds no new syntax, constraints, or format details beyond the schema, making the baseline 3 appropriate.

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?

The description states a specific verb and resource ('Partially update an existing Bruno environment') and immediately clarifies the merge semantics. It also explicitly distinguishes itself from the sibling create_environment by contrasting merge with full-file replacement, so an agent can tell the two apart without opening a schema.

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?

The description makes clear this is for partial updates that preserve unlisted variables, and names create_environment as the alternative when a full replacement is intended. It stops short of an explicit 'use this when / do not use this when' statement and does not address single-variable siblings, but the selection context is clear.

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