Skip to main content
Glama
zix-chen
by zix-chen

Check exec environment

check_exec_environment
Read-onlyIdempotent

Check the exec_command sandbox and environment status known to the server before running commands. Confirms whether the execution environment is available and what constraints apply.

Instructions

Return lightweight exec_command sandbox and environment status known to the server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo
warningsNo
workspaceNo
landlock_abiNo
permission_modeNo
landlock_enabledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds modest value by signaling the response is 'lightweight' and reflects state 'known to the server' (i.e., a cached snapshot rather than a live probe), but says nothing about freshness, auth, or failure behavior.

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 compact sentence that front-loads the verb and the resource. Nothing is padded, though the phrase 'known to the server' is slightly opaque.

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?

An output schema exists, so the description need not document return values. For a zero-parameter diagnostic, the description supplies adequate context, with the only gap being when to reach for it versus exec_command.

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, which is the baseline-4 case; there is no argument surface the description could or should explain. Schema coverage is 100% but trivially so, since the schema has no properties.

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 (Return) and resource (exec_command sandbox and environment status), so an agent knows this is a read-only status probe rather than a command runner. It is clear but does not explicitly contrast itself with exec_command or read_output, leaving sibling differentiation to inference.

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?

No explicit when-to-use or when-not-to-use guidance is given. Usage is only implied by context — an agent would infer you call this before exec_command to learn the sandbox environment — but nothing states that or names an alternative.

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