Skip to main content
Glama

zentao_login

Validates ZenTao login availability by probing REST API v1 token and web Cookie authentication, caches working credentials, and supports forced re-login to refresh cached access.

Instructions

验证禅道登录是否可用(需求①:地址要能登录验证)。自动探测 REST API v1 token 与网页 Cookie 两条通道,成功后缓存凭证;force=true 强制重新登录。

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

Input Schema

NameRequiredDescriptionDefault
forceNo强制重新登录,不复用缓存凭证

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a solid job: it discloses that two auth channels (REST API v1 token and web Cookie) are probed automatically, that credentials are cached on success, and that force bypasses that cache. What it omits is what a failed login looks like, whether it mutates server-side state, and whether it requires prior configuration from zentao_config.

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 core purpose is front-loaded in the first clause, followed by the mechanism and the force override, which is a sensible ordering. The '(需求①:…)' requirement tag is internal-project noise that does not help an agent decide or call correctly. Overall dense and mostly free of waste.

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

Completeness3/5

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

There is no output schema, so the description should convey what a verification returns — success/failure signal, which channel succeeded, or cached-credential state — and it does not. For a one-parameter, no-annotation tool this is a moderate but real gap; the auth-mechanism disclosure partially compensates.

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 there is only one optional boolean, so the schema already defines force completely. The description's 'force=true 强制重新登录' restates the schema's meaning with no additional detail about side effects such as invalidating an existing cached session. Baseline 3 applies since the schema does the heavy lifting.

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: it verifies whether ZenTao login is usable, rather than performing other operations. It is clearly distinct from data-oriented siblings such as zentao_bug or zentao_products, though it does not explicitly contrast itself with the potentially adjacent zentao_doctor or zentao_config. The parenthetical '(需求①:地址要能登录验证)' adds a requirement reference rather than further sharpening the purpose.

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 only implied: an agent can infer this is a pre-flight credential/address check to run before other ZenTao calls. There is no explicit statement of when to prefer it over zentao_doctor, nor any when-not guidance or prerequisite description. Adequate but leaves routing decisions to inference.

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