Skip to main content
Glama
xjtlu-library-mcp

xjtlu-library-mcp

by seally-web

book_detail

Retrieve complete bibliographic details and current holdings status for a book using its marc_no from search results.

Instructions

查看一本书的完整书目信息与馆藏状态。

Args: marc_no: search_books 返回的 marc_no。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "marc_no": "<marc_no>"
    },
    "name": "book_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
marc_noYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the return content (full bibliographic data plus holdings/availability status), which is genuine behavioral information, and '查看' implies a read-only operation. It is silent on error behaviour for an invalid marc_no, whether holdings are real-time, and whether authentication (cf. siblings save_library_cookie, library_status) is required first.

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?

Front-loaded purpose sentence followed by a single argument annotation; nothing is padded. The 'Args:' block is somewhat redundant in a one-parameter tool but harmless and easy to scan.

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 one-parameter lookup with no output schema, the definition covers purpose, result content, and where the identifier comes from — enough to call it correctly. The remaining gaps (auth prerequisite, error case) are modest given the tool's simplicity.

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 coverage is 0% — the schema only says 'Marc No' as a string — so the description must compensate, and it does by naming the exact provenance of the value (the marc_no returned by search_books). That is the key semantic an agent needs, though format examples or failure behaviour for a bad value are not given.

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 object: '查看一本书的完整书目信息与馆藏状态' (view a book's full bibliographic info and holdings status). That is clearly a single-record detail lookup, separable from the sibling search_books that produces the marc_no, though the description never explicitly names the contrast.

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?

The dependency hint is explicit — marc_no is 'search_books 返回的 marc_no' — which tells the agent this is the step after a search. However, there is no statement of when to prefer this over exam_detail/open_fulltext, no when-not guidance, and no note of prerequisites such as library login.

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