Skip to main content
Glama
mayjack0312
by mayjack0312

eda_sys_environment_is_client

Determine whether the current environment is a client environment. Returns a boolean to conditionally execute client-specific logic.

Instructions

sys_Environment.isClient() -> boolean 是否处于客户端环境 returns: 是否处于客户端环境

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo按官方签名顺序排列的JSON参数数组
windowIdNo目标EDA窗口ID;省略时使用当前活动窗口

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does state the return type ('-> boolean'), which is minimal useful information, but it never defines what 'client environment' means, what true/false signify, whether the result depends on the windowId, or whether any side effects exist. The repeated phrase adds nothing behavioral.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and the signature line is front-loaded, which is good. But the Chinese purpose line and the 'returns:' line are identical ('是否处于客户端环境'), creating redundancy that wastes one of the only three lines. It is compact but not efficiently informative.

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

Completeness2/5

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

The tool is simple and the boolean return is stated, but in a context where roughly eight sibling environment predicates exist, the description fails to pin down what 'client' means relative to 'web' or 'online', so an agent could select the wrong predicate. No output schema exists and annotations are absent, so the description needed to carry more context than it does.

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 args and windowId are already documented in the schema. The signature line 'sys_Environment.isClient()' is the main value-add, implying the wrapped method takes no arguments and thus the args array should typically be empty. This is a mild semantic hint beyond the schema but nothing substantive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a predicate check on the current environment ('是否处于客户端环境' = whether in client environment) and exposes the underlying API signature 'sys_Environment.isClient() -> boolean', which adds a small amount of value beyond the name. However, it largely just translates the tool name, and with siblings like is_web, is_online_mode, and is_offline_mode present, it does not clarify what 'client environment' means or how it differs from those.

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?

No guidance is given about when to invoke this tool versus any of the many sibling environment predicates (is_web, is_online_mode, is_offline_mode, is_jlcedapro_edition, etc.). An agent has no way to decide which environment check fits its goal, and there are no exclusions or selection conditions stated.

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

Deploy Server

Other Tools