Skip to main content
Glama

jp_lit_search_kokusho_fulltext

Search the Kokusho Database transcription/OCR snippets by keyword. Returns book IDs, frame numbers, and official URLs for confirming each match.

Instructions

external read / local bookkeeping write(非破壊)。国書データベースの翻刻/OCR系スニペットをキーワード検索する。本文全体・manifest 本体・画像本体は取得せず、bid、コマ番号、スニペット、公式確認 URL を返す。国書DB Web アプリの公開 JSON endpoint に依存するため、採用時は公式画面で最終確認する 外部sourceは変更しない。cache hitでもlocal session履歴を更新し、cache missまたはforce_refreshではlocal cacheを作成・置換する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo検索結果ページ番号。1 始まり。
limitNo返す候補の最大件数。最大 100。
keywordYes国書データベースの翻刻/OCR スニペットまたは画像タグから探す語。
session_idYes調査案件を識別する application state handle。jp_lit_start_session が返した値を渡す。形式は YYYY-MM-DD-HHMMSS-8桁hex(旧形式 YYYY-MM-DD-HHMMSS も可)。MCP transport の接続IDや cache_key とは別物。
force_refreshNotrue の場合はローカル cache を使わず upstream API から再取得する。false の場合は保存済み cache を優先する。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawYes
pageYes
cacheNo
itemsYes
limitYes
totalYes
keywordYes
Install Server

TDQS

A4.4/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond annotations: external read vs local bookkeeping write, non-destructive cache behavior, cache-hit session history updates, cache creation/replacement on miss or force_refresh, and dependence on a public JSON endpoint. This fully explains side effects without contradicting annotations.

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 information-dense and front-loaded with the essential external-read/local-write nature. Minor redundancy exists between '非破壊' and 'local bookkeeping write' and between 'external read' and '外部sourceは変更しない', but nearly every sentence conveys a distinct operational fact.

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 tool's complexity—external dependency, local cache semantics, session-history side effects, and snippet-scoped results—the description covers all necessary operational context. The output schema exists, and the description complements it by explaining exactly what kind of data is returned and how to treat cached vs fresh results.

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?

Schema description coverage is 100%, so the baseline is 3. The description confirms the search targets snippets and clarifies that returned data is snippet-level, but it does not add new meaning about individual parameters beyond what the schema already provides.

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 names a specific verb and resource: keyword search over Kokusho DB transcription/OCR snippets. It further distinguishes itself by stating what it does not fetch (full text, manifest body, image body) and what it returns (bid, frame number, snippet, official URL), making its role clear relative to sibling search/retrieval tools.

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 clear context: use this for snippet-level keyword search, not for full-text or image retrieval, and confirm results on the official screen before adoption. It does not explicitly name alternative tools or state when to prefer them, so it stops short of full referral guidance.

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