Skip to main content
Glama

Environment self-check

info
Read-onlyIdempotent

Verifies environment health: reports CLI versions, login status, bundled binaries, and executable entry points for DingTalk/WeCom; run before first use or when commands fail.

Instructions

环境自检:返回各平台 CLI 版本、登录状态、是否随包携带二进制与实际可执行入口。首次使用或命令异常时先调用。

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": "info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okYes
errorNo
providersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.6

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld, so the safety profile is covered without the text. The description adds real diagnostic context — that it inspects packaging and executable paths rather than just versions — which an agent would not infer from annotations alone. It stops short of saying anything about cost or whether results are cached.

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 with the returned fields enumerated up front and the call-when rule appended at the end. Dense but every clause carries information; no filler.

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 and no parameters are required, so return-value and input detail can safely stay out of the text. The only soft gap is not clarifying the boundary with login_status for agents choosing diagnostics, and the description being non-English while siblings are English-named.

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 schema coverage is 100%, so there is nothing for the description to compensate for; baseline 4 applies. No parameter detail is needed or missing.

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?

Names a concrete resource set — per-platform CLI version, login status, bundled-binary presence, and executable entry point — which is far more specific than the bare name 'info'. It does not explicitly differentiate itself from the sibling login_status, which also touches login state, so an agent might hesitate between the two.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit trigger conditions: call first on first use and when commands misbehave, which is a clear, actionable usage rule. It names no alternative tool for the login-status portion, but the when-to-use guidance itself is unambiguous.

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