Skip to main content
Glama
ckgerteis

cinii-mcp

by ckgerteis

cinii_search_libraries

Read-onlyIdempotent

Search NACSIS-CAT member libraries by name to retrieve their library IDs for holdings lookup. Supports partial and multi-word queries.

Instructions

Find NACSIS-CAT member libraries by name (/opensearch/library, live since 30 March 2026). Returns the unified envelope (record_type 'library'); each item carries the library's NACSIS-CAT ID in extra.library_id, which cinii_get_holdings takes as library_id.

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the description does not need to restate safety. It adds useful behavioral context: the live endpoint, the unified envelope with record_type 'library', and where the library ID appears.

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?

The description is two tight sentences with the core action front-loaded, followed by the useful integration detail. There is no filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the annotations, input schema, and existing output schema, the description supplies the missing operational context: endpoint currency, envelope shape, and the key output field used by a sibling tool. Nothing needed to call it correctly appears absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema itself documents the name partial-match behavior, page parameter mapping, and sort semantics, so the description does not need to repeat them. The description adds cross-tool meaning for extra.library_id, but it does not add parameter usage details beyond the schema.

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 states a specific verb and resource: finding NACSIS-CAT member libraries by name. It also explicitly relates the tool to cinii_get_holdings via extra.library_id, helping distinguish it from generic search siblings.

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 clearly implies use when looking up libraries by name and explains that the returned library ID is consumed by cinii_get_holdings. It does not explicitly say when not to use it versus other cinii_search_* tools, but the context is clear.

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