Skip to main content
Glama

jp_lit_search

Search Japanese academic databases—NDL, CiNii, J-STAGE, and more—with a single query to find books, articles, dissertations, and archival materials.

Instructions

external read / local bookkeeping write(非破壊)。日本語文献ポータルを検索する。source 未指定で8ソース横断。cinii_dissertations / national_archives / jacar / nijl_articles / kokusho / ninjal_bibliography / ndl_reference_books は既定横断に含めず、博士論文・学位論文、公文書・外交・軍事・旧外地資料、国文学論文、古典籍、日本語研究文献、参考図書などで明示指定された場合のみ使う。ユーザーの言い回しから source を読み替える: 「NDL/国会図書館」→ndl_catalog、「デジコレ/NDLデジタル」→ndl_digital、「CiNii論文」→cinii_articles、「博士論文/学位論文/CiNii Dissertations」→cinii_dissertations、「CiNii図書/大学図書館」→cinii_books、「J-STAGE」→jstage_articles、「機関リポジトリ/IRDB」→irdb、「発掘調査報告書/遺跡/埋蔵文化財/出土遺物」→まずirdb、NDL Search横断確認はndl_search、NDL所蔵確認はndl_catalog、「参考図書/レファ本/事典/辞典/書誌/索引/年鑑」→ndl_reference_books(候補は source_metadata.reference_ndc と introduction で選び、jp_lit_get_record または jp_lit_get_records で詳細確認後、cinii_books / カーリル / 各館OPACで所蔵を別確認)、「国会会議録」→kokkai_minutes、「帝国議会」→teikoku_minutes、「人文専門DB/nihu_bridge」→nihu_bridge、「Japan Search/ジャパンサーチ」→japan_search、「国立公文書館/特定歴史公文書/太政官/省庁資料」→national_archives、「JACAR/アジア歴史資料/外交/軍事/旧外地/植民地/朝鮮/台湾/関東州」→jacar、「国文学論文/国文研論文/日本文学研究論文」→nijl_articles、「国書/古典籍/写本/版本」→kokusho、「日本語研究/日本語教育文献/国語教育文献」→ninjal_bibliography。total / limit / page はこの 1 回の検索呼び出し単位の値であり、Skill が複数回検索して要約する場合は各回ごとに読む。source=cinii_books では filters.cinii.category に NDC/NDLC notation を半角スペース区切りで渡せる。CiNii 系の 0 件・ローマ字 query・広すぎる結果では interpretation / diagnostics を読む。source=ndl_digital の結果にはインターネット非公開(館内限定・図書館送信)資料のメタデータも含まれる。OCR 系ツールを使う前に jp_lit_get_record で source_metadata.next_digital_library.available を確認すること 外部sourceは変更しない。cache hitでもlocal session履歴を更新し、cache missまたはforce_refreshではlocal cacheを作成・置換する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo検索結果ページ番号。1 始まり。
limitNo1 回の検索で返す最大件数。最大 100。未指定時は source ごとの既定値を使う。
queryYes検索語。資料名、著者名、主題語、機関名などを指定する。
sourceNo検索対象 source。未指定なら既定の 8 source 横断検索になるが、新規テーマの初手では通常 ndl_search と japan_search などを明示指定する。
filtersNosource 固有の追加 filter。対象 source と一致しない filter は validation error になる。
sort_byNosource が対応する場合の並び替え項目。未対応 source では無視されることがある。
issued_toNo刊行年・日付の上限。issued_from と組み合わせて範囲指定する。
session_idYes調査案件を識別する application state handle。jp_lit_start_session が返した値を渡す。形式は YYYY-MM-DD-HHMMSS-8桁hex(旧形式 YYYY-MM-DD-HHMMSS も可)。MCP transport の接続IDや cache_key とは別物。
sort_orderNosort_by 指定時の昇順 asc / 降順 desc。
issued_fromNo刊行年・日付の下限。年だけの '1900' など source が扱う文字列表現で指定する。
force_refreshNotrue の場合はローカル cache を使わず upstream API から再取得する。false の場合は保存済み cache を優先する。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
cacheNo
itemsYes
limitYes
queryYes
totalYes
facetsNo
sourceYes
diagnosticsNo
source_errorsNo
interpretationNo
Install Server

TDQS

A4.2/5.0
Behavior5/5

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

The description clearly discloses that this is an external read with local bookkeeping write, explicitly says external sources are not modified, and explains cache/session side effects on cache hit, cache miss, and force_refresh. It also exposes edge-case behavior such as ndl_digital returning non-public metadata and CiNii diagnostics. None of this contradicts the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense and most of it earns its place, but it is written as one enormous run-on paragraph with no list structure or visual separation. The side-effect warning is front-loaded, but the long mapping and mixed operational caveats make it harder for an agent to parse than it should be.

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?

For a high-complexity tool, the description covers source selection, default behavior, excluded sources, source-specific caveats, cache behavior, and follow-up verification via jp_lit_get_record / jp_lit_get_records. Since an output schema exists, return-value documentation is not required, and nothing essential for correct invocation is missing.

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 100%, so the baseline is 3. The description adds real value by explaining the default source behavior, providing a large user-phrase-to-source mapping, clarifying per-call pagination semantics, and giving source-specific filter guidance such as filters.cinii.category and force_refresh/cache behavior. This is meaningful enrichment beyond the schema.

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 clear verb and resource: '日本語文献ポータルを検索する', and adds scope by explaining the default 8-source cross-search and listing sources that are not included by default. It does not explicitly contrast itself with sibling search tools such as jp_lit_search_fulltext or jp_lit_search_pages, so it falls just short of full sibling differentiation.

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 gives unusually detailed when-to-use guidance: which sources are excluded from the default cross-search, when to use them explicitly, and how to interpret user phrasing into the correct source value. It also routes users to jp_lit_get_record / jp_lit_get_records for verification before checking holdings, but it does not state when to prefer sibling search/refinement tools over this tool.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/itarunnn/jp-lit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server