Skip to main content
Glama

get_environment

Retrieves local OS, installed tools, and disk usage so MCP agents can assess the environment before executing terminal commands.

Instructions

Get info about the local environment: OS, installed tools, disk usage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 burden. 'Get info' implicitly signals a safe read operation and it discloses the concrete response categories (OS, installed tools, disk usage), which is useful, but it says nothing about permission requirements, execution cost, or latency for what may be an expensive environment scan.

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 that names the action and its scope with zero filler. Nothing is repeated from the schema and nothing could be trimmed without losing information.

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 read tool with no output schema, the description does the essential job of telling the agent what the response will contain. The only meaningful gap is the lack of sibling disambiguation against get_server_info.

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, so there is nothing for the description to disambiguate; baseline for a parameterless tool applies.

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 ('Get') and resource ('local environment') and enumerates the returned categories (OS, installed tools, disk usage). It is clear on its own, but it never distinguishes itself from the similarly named sibling get_server_info, so an agent must guess which one covers local vs. server context.

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 gives no explicit when-to-use condition, prerequisites, or named alternatives. Given the presence of get_server_info among siblings, some routing guidance ('use this for the local machine, get_server_info for remote servers') would have been valuable but is absent.

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