Skip to main content
Glama

get_login_status

Checks whether the user is logged in, returns login expiry and CAD terms consent status, and renews an expiring session when possible so you know if sign-in or consent action is needed.

Instructions

查看目前的登入狀態與 CAD 條款的同意情況。

回傳是否已登入、登入的到期時間(ISO-8601 UTC)、已同意與尚未同意的條款(misumi_cad、 cadenas、smc_eula)。登入到期或即將到期時,這個工具會先續期一次再回答,所以可能等待 一次連線的時間。續期沒有完成(無法連到 MISUMI、逾時、暫時被限速或封鎖)而登入已過期 時,logged_in 是 false,並有 reason(expired_unconfirmed)與 message 說明目前無法確認 登入能否延續;可稍後再呼叫,或請真人開啟 login_url 重新登入。尚未登入或缺少條款時, login_url 是登入頁網址,請真人開啟並重新輸入帳號密碼、勾選缺少的條款;不需要時 login_url 是 null。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.6/5.0
Behavior5/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 so thoroughly. It discloses a hidden side effect (a renewal attempt occurs before answering), the resulting latency (may wait one connection's time), specific failure modes (MISUMI unreachable, timeout, temporary rate-limit or block), and the exact degraded shape of the response (logged_in=false with reason=expired_unconfirmed plus a message).

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?

It is front-loaded with purpose, then return fields, then edge-case behavior, which is the right ordering. It runs long and leans on parenthetical hedging and repeated instructions about asking a human to open login_url, which could be tightened without losing information.

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

Completeness5/5

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

There is no output schema and no annotations, so the description must explain return values, and it does: logged_in, ISO-8601 UTC expiry, the three named terms (misumi_cad, cadenas, smc_eula) split into agreed and pending, reason, message, and when login_url is null. Nothing an agent needs in order to interpret the response or recover from failure is missing.

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 the schema is an empty object, so there is nothing for the description to disambiguate; the baseline for a parameterless tool applies. The description uses that space productively to explain the shape of the response instead.

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?

The first line states a specific verb and resource: check the current login state and the consent status of CAD terms. It also implicitly separates itself from the login and logout siblings by directing the actual re-authentication to a human via login_url, so an agent can tell it is a read-only status probe, not an authentication action.

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?

It gives clear context for when the result is actionable: on not-logged-in or missing terms, hand login_url to a human; on expired_unconfirmed, retry later or have a human re-login. What it lacks is an explicit call-ordering hint (e.g. check this before download_cad) and a direct comparison against the login or logout siblings, so it is clear context without explicit alternatives or exclusions.

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