Skip to main content
Glama
mayjack0312
by mayjack0312

eda_sys_environment_is_web

Determine whether the active EDA window runs in a browser environment, returning a boolean to guide environment-specific logic.

Instructions

sys_Environment.isWeb() -> 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.9/5.0
Behavior2/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. It states the return type (boolean) and the semantic meaning (whether in browser environment), but doesn't disclose edge cases, what 'web' means in contrast to 'client', or any side effects. For a simple read-only check, this is minimal but not misleading.

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?

The description is very short and front-loaded with the function signature and return type. The Chinese text repeats the same meaning as the signature, which is slightly redundant, but the overall size is appropriate for a simple boolean check tool.

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?

For a simple environment check, the description is mostly complete, but it lacks context about the distinction between 'web' and 'client' environments, which is relevant given sibling tools like eda_sys_environment_is_client. No output schema exists, so the return value description ('boolean') is helpful but could be more explicit about what true/false means in practical terms.

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 description coverage is 100%, so the schema already documents the two parameters (args array and windowId). The description adds no parameter-specific meaning beyond the schema. Baseline 3 is appropriate since the schema covers the parameters.

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 states a specific verb and resource: 'sys_Environment.isWeb() -> boolean' and '是否处于浏览器环境' (whether in browser environment). It clearly indicates this is a boolean environment check. It doesn't explicitly differentiate from siblings like eda_sys_environment_is_client, but the name and description make the purpose clear enough.

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 on when to use this tool versus alternatives like eda_sys_environment_is_client, eda_sys_environment_is_offline_mode, etc. The description only states what it does, not when to prefer it. There is no mention of exclusions or alternatives.

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