Skip to main content
Glama

get_connection_status

Check the current connection mode to confirm access to personal and public data or public-only data, plus authentication source, token expiry, and available capabilities without a network request.

Instructions

查看当前连接模式:authenticated(个人数据+公开数据) 或 public(仅公开数据)。 返回认证来源(token/password/none)、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": "get_connection_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden, and it discloses two things an agent could not otherwise know: the exact return payload (auth source token/password/none, token expiry, capability notes) and the fact that the call makes no network request, so it is a safe local check. The main omission is permission or timing constraints.

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?

Two short sentences, front-loaded with the mode enumeration and followed by the return contents and the no-network caveat. Every clause adds information, and there is 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?

For a zero-parameter status tool with no output schema, the description supplies the two modes, the return fields, and the no-network behavior, which is enough to decide when and how to call it. Minor gap: it does not say what the capability notes contain or whether the result is cached.

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, so there is no parameter meaning to add. The description correctly spends no space on parameter documentation and instead explains the returned state.

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 names a specific action and resource (view current connection mode) and defines the two possible modes with their data-scope meaning (authenticated = personal + public data, public = public only). That is well beyond restating the name. It stops short of 5 because it does not distinguish itself from the many sibling get_* tools in the same family.

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 the tool to call when it needs to know whether it can see personal data or only public data. There is no explicit when-to-use instruction, no statement of prerequisites, and no pointer to an alternative for related questions such as account details.

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