Skip to main content
Glama
ChipCloud MCP Server

ChipCloud MCP Server

by bystone84

检查芯片云认证与 License 状态

check_auth_status
Read-onlyIdempotent

Check ChipCloud authentication connectivity, license status (hasLicense/remainNum), and token validity; optionally force a login refresh when cached credentials need updating.

Instructions

检查芯片云平台认证连通性、License 状态(hasLicense / remainNum)与 Token 有效期。

    对应芯片云 API: GET /v1/admin/inner/login(端口 18083)。
    不会暴露任何明文密码或 Bearer Token。
    

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

Input Schema

NameRequiredDescriptionDefault
force_refreshNo是否强制重新调用登录接口刷新 Bearer Token(默认 false,使用缓存 Token)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely useful context beyond that: the exact upstream API and port it hits, and an explicit security guarantee that no plaintext password or Bearer Token is exposed in the result. It stops short of describing failure behavior or whether the call itself performs a login round-trip when the cache is cold.

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?

Three short lines: capability first, upstream API mapping second, security guarantee third. Every sentence carries information an agent cannot get from the structured fields, and nothing is redundant or padded.

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 return values need not be explained, and the description names the key result fields (hasLicense / remainNum) plus Token 有效期. For a single-parameter read-only probe this is nearly complete; only the failure/error semantics are left unstated, which is a minor gap given the output schema.

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% and the single parameter force_refresh is fully documented in the schema, including its default and its effect of forcing a login-interface refresh. The description does not elaborate on token caching or refresh cost beyond what the schema already says, so the baseline of 3 applies.

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

Purpose5/5

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

States a specific verb (检查/check) against three named resources: 认证连通性, License 状态 (hasLicense / remainNum), and Token 有效期. It even names the backing endpoint GET /v1/admin/inner/login, so the agent knows exactly what is being probed and can distinguish it from the job/cluster/queue siblings without opening the schema.

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?

Usage is implied by the resource names — an agent can infer it should call this to verify auth or license before other operations — but there is no explicit when-to-use, when-not-to-use, or prerequisite statement (e.g., call this first if other tools fail with auth errors). The only conditional guidance comes from the schema's force_refresh parameter, not the description.

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