Skip to main content
Glama

union_search

Search across library union catalogs to find bibliographic records and holdings from multiple institutions. Provides read-only access to the external PROCAT service.

Instructions

跨馆联盟联合目录检索(OPAC 结果页「联盟图书馆检索」的外部 PROCAT 服务)。

默认关闭,需 opac.union_enabled=true 且配置 union_base_url / union_tenant / union_token(读者会话 JWT,由 OPAC reader 登录取得,见 docs/联盟联合目录检索.md)。 仅只读检索,不实现馆际借阅下单(写操作)。未启用或配置不完整时返回明确提示。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
fieldNoany|title|author|subject|isbn|clc|publisher|series|callnoany
logicNoand(多个条件同时满足)| or(任一满足)and
queryYes检索词(多值用逗号/分号分隔,按 logic 组合为多条件)
tokenNo
page_sizeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explicitly states the tool is read-only, requires configuration, and returns clear prompts when improperly configured. It does not elaborate on authentication failures or performance, but the reference to external documentation partly compensates for these gaps.

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?

The description is efficiently structured with three sentences that front-load the purpose, then cover prerequisites and behavioral notes. It is concise and to the point, though it could benefit from slight restructuring (e.g., bullet points for configuration) without adding length.

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?

Given the tool's complexity (cross-library search, configuration requirements, read-only), the description covers the essential aspects: purpose, prerequisites, behavioral traits, and error handling. The presence of an output schema mitigates the need for return value details. It is sufficiently complete for an agent to understand the tool's role and constraints.

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 50%, meaning half of the parameters lack descriptions in the schema. The tool description adds meaningful context: it explains the token parameter as a reader session JWT, outlines configuration dependencies, and clarifies the query parameter's multi-value behavior. This adds value beyond the raw schema, although a full parameter breakdown is absent.

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 description clearly states the tool's purpose as a cross-library union catalog search ('跨馆联盟联合目录检索'), specifying it as an external PROCAT service for OPAC results. This is a specific verb-resource combination that distinguishes it from sibling tools like search_books, which likely target a single library catalogue.

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?

The description provides clear prerequisites (requires configuration flags and a JWT token) and declares its read-only nature ('仅只读检索'), clarifying what it does not do (no inter-library loan ordering). While it does not explicitly compare to sibling tools, the context signals infer its specialized use case, and the description mentions an external documentation reference for further detail.

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