Skip to main content
Glama

get_env

Retrieve a VPS project's current .env configuration with values masked by default; optionally reveal actual values for environment troubleshooting and verification.

Instructions

Retrieve current .env configuration from the VPS (values masked for security).

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": {
      "projectId": "<projectId>",
      "instanceName": "<instanceName>",
      "projectPath": "<projectPath>"
    },
    "name": "get_env"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesGoogle Cloud project ID
showValuesNoShow actual values (use with caution)
projectPathYesPath to project directory
instanceNameYesVPS instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose one important behaviour: values are masked for security by default. However it says nothing about required credentials or VPS access, what happens when no .env file exists, or how showValues=true changes the safety profile beyond the schema's 'use with caution'.

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?

A single front-loaded sentence with no filler, and the security caveat is attached directly to the resource it qualifies. Appropriately sized for a simple read tool, though it is terse enough to leave gaps that a second sentence could have closed.

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

Completeness5/5

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

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 coverage is 100%, so all four parameters are already documented in structured form, which sets the baseline at 3. The description reinforces the meaning of the default masked state and thus the purpose of showValues, but adds no detail on how projectId, instanceName and projectPath combine to locate the file.

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 (Retrieve) and a specific resource (.env configuration) plus the source system (the VPS), so the agent can distinguish it from write-oriented siblings like configure_env or upload_env without opening the schema. It stops short of naming 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 Guidelines3/5

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

Usage is only implied: 'Retrieve current' signals a read operation, and the parenthetical hints at when masking matters. There is no explicit when-to-use, no exclusion such as 'use configure_env to modify', and no stated prerequisites for the required project/instance/path parameters.

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