Skip to main content
Glama
qianji-mcp-server

qianji-mcp-server

qianji_probe

Read-only

Checks upstream Qianji protocol reachability and, in login mode, verifies the configured account. Use it to diagnose connectivity or account setup before running bill queries or write operations.

Instructions

检查上游协议是否可达。mode=login 时额外验证配置的账号。

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

Input Schema

NameRequiredDescriptionDefault
modeNoprotocol

Output Schema

NameRequiredDescriptionDefault
notesYes
loginStatusYes
protocolReachableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so safety and network-reaching are covered. The description adds genuinely useful context beyond them — that mode=login validates the configured account, implying failure when credentials are missing — but says nothing about timeouts, latency, or what a failed probe looks like.

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 with zero padding, and the core purpose plus the mode-specific behavior are both front-loaded. Nothing here could be removed without losing information.

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?

An output schema exists, so return values need not be explained, and the single optional parameter is partly covered. Still, the description leaves 'upstream protocol' undefined and gives no guidance on interpreting or reacting to probe failure, which matters for a diagnostic tool.

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?

Schema description coverage is 0%, so the description must carry the load for the single mode enum. It explains what mode=login does beyond the default, which meaningfully disambiguates the enum, though it never states that mode=protocol is the default or what that baseline check consists of.

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?

States a specific verb and resource: check whether the upstream protocol is reachable ("检查上游协议是否可达"). This is clearly distinguishable from the sibling bill/transfer/write CRUD tools, though it does not name or differentiate itself from qianji_status, which could sound similarly diagnostic.

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 rather than stated: as a probe, an agent infers it is for connectivity/diagnostic checks, and the sentence explains that mode=login adds account verification. There is no explicit when-to-use, when-not-to-use, or routing against qianji_status or qianji_sync.

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