Skip to main content
Glama
GeminiDesk MCP
by LZ7TOP

Get Terminal & System Environment

terminal_env_info

Retrieves local OS, CPU and memory details, current user, default shell, working directory, and active MCP permission policy to verify your terminal environment before running commands.

Instructions

获取本机操作系统、CPU/内存、当前用户、默认 Shell、工作目录及当前 MCP 权限策略信息。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "terminal_env_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the sensitive scope of disclosure (current user, permission policy) and implies a passive read via 获取. However, it says nothing about side effects, cost, latency, or whether the data is cached versus sampled live. The behavioral picture is adequate but not rich.

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 front-loaded sentence listing the returned fields with zero filler. Every clause maps to a distinct piece of information the agent gets back, and nothing is repeated from the title verbatim without adding detail.

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 zero-parameter, no-output-schema tool, the description effectively serves as return-value documentation by enumerating OS, CPU/memory, user, shell, cwd, and permission policy. What is missing is confirmation that the operation is read-only and non-mutating, which no annotation covers. Overall it is close to complete for this complexity level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters and the schema is an empty object, so there is nothing for the description to disambiguate. Baseline 4 applies; no parameter-level gaps exist.

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?

The description names a specific verb (获取/get) and resource (本机操作系统、CPU/内存、当前用户、默认 Shell、工作目录及当前 MCP 权限策略信息), enumerating exactly what data is surfaced. An agent can distinguish this as a whole-machine environment snapshot rather than a filesystem or policy tool. It stops short of explicitly differentiating itself from siblings such as fs_get_info or system_get_policy, which overlap on policy info.

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?

The description only enumerates the fields returned; it never states when to call this versus alternatives like terminal_exec or system_get_policy. There is no when-not guidance, no prerequisite context, and no mention of overlap with the dedicated policy tool. Usage must be entirely inferred from the tool name and title.

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