Skip to main content
Glama

Read Bruno Environment

read_environment

Read a Bruno environment as structured JSON, including each variable's value, disabled flag, and secret flag. Omit the name to list available environments in the collection.

Instructions

Read an environment back as structured JSON: every variable with its value, plus its disabled and secret flags. Omit "name" to list the collection's environments instead. Secret variables are returned by name only — no file format stores a secret's value, so there is none to return.

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": "read_environment"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoEnvironment name, without extension. Omit to list the available environment names.
collectionPathYesAbsolute path to the collection directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it discloses a genuinely subtle behavior: secret variables are returned by name only because no file format stores a secret value. That prevents an agent from expecting secret values and retrying. It does not cover failure behavior when the named environment does not exist, nor explicitly restate read-only safety.

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?

Three tight sentences with the primary behavior front-loaded, the mode switch second, and the caveat about secrets last. Every sentence carries distinct information and nothing is repeated.

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 two-parameter read tool with no annotations and no output schema, the description adequately conveys both modes and the shape of the returned JSON, including the secret caveat. The remaining gap is error behavior for a missing or malformed environment name, which an agent might want before calling.

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% and the schema already states that name is given without extension and should be omitted to list environments, so the description largely restates it. The only added nuance is that secret variables surface by name and flag rather than value, which is return semantics rather than parameter semantics. Baseline 3 applies.

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 a specific verb and resource (read an environment) and immediately defines the return shape: every variable with its value plus disabled and secret flags. It also names the second mode (omit name to list environments), so the agent can distinguish it from sibling mutation tools like create_environment, update_environment, and set_environment_variable.

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?

Explicitly documents the mode switch: supply a name to read one environment, omit it to enumerate the collection's environments. No sibling tool in the list mirrors that listing behavior, so this is the natural entry point. It does not state exclusions (e.g., that writes belong to update_environment/set_environment_variable), 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.