Skip to main content
Glama
xjtlu-library-mcp

xjtlu-library-mcp

by seally-web

library_status

Verifies on-campus network access, saved login cookies, and EBSCO portal auto-login status; use before retrying failed searches or 403/302 login redirects.

Instructions

检查图书馆访问状态:是否在校内网、是否已保存登录 cookie、EBSCO 门户能否自动登录。

在检索失败或下载 403/302 到登录页时先调用它。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A4.1/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 burden, and it does disclose the behavioral content: the three conditions it evaluates, which effectively defines the result surface for a zero-parameter diagnostic. It also frames the tool as a read-only pre-flight check by placing it before search and download. It omits any statement about side effects or how to interpret a negative result, so it is strong but not exhaustive.

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: the first defines what is checked, the second defines the trigger condition. Purpose is front-loaded and every clause carries information, with no restatement of the name or 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, annotation-free, output-schema-free diagnostic, the description supplies enough to call it correctly and to know when. The only gap is guidance on what to do with each outcome (for example, which sibling to call when the cookie is missing), which the presence of save_library_cookie and browser_login makes relevant.

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 and the baseline of 4 applies. The description correctly does not invent arguments and instead spends its words on when to invoke the tool.

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 (检查图书馆访问状态) and enumerates the three things it inspects: campus-network presence, saved login cookie, and EBSCO portal auto-login. That is far more concrete than a tautology. It stops short of a 5 because it does not explicitly contrast itself with the similarly named sibling browser_login_status.

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 a clear, actionable trigger: call this first when a search fails or a download returns 403 or redirects (302) to a login page. This is concrete and grounded in real symptoms rather than generic advice. It does not name an alternative tool or state when not to use it, which keeps it below 5.

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