Skip to main content
Glama

jp_lit_suggest_classification_codes

Find NDC/NDLC classification codes from a subject term; returns parameters for CiNii Books category filter and an example search call.

Instructions

external read / local bookkeeping write(非破壊)。Web NDL Authorities で件名語から NDC/NDLC 分類記号を探し、CiNii Books の category filter に渡せる suggested_category_param と jp_lit_search 呼び出し例を返す。分類記号から件名語を探す場合は jp_lit_find_authority_terms_by_classification、実際の文献検索は jp_lit_search を使う 外部sourceは変更しない。cache hitでもlocal session履歴を更新し、cache missまたはforce_refreshではlocal cacheを作成・置換する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
termYes分類記号を探す元になる件名・主題語。例: 近代日本文学。
schemesNo返す分類体系。CiNii Books category には NDC/NDLC の notation を半角スペース区切りで渡す。
max_codesNosuggested_category_param に含める分類記号の最大件数。
concept_limitNoNDLSH 件名概念候補の最大件数。
force_refreshNotrue の場合はローカル cache を使わず upstream API から再取得する。false の場合は保存済み cache を優先する。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
termYes
cacheNo
itemsYes
cautionYes
schemesYes
max_codesYes
used_codesYes
total_codesYes
concept_limitYes
total_conceptsYes
suggested_searchYes
suggested_category_paramYes
Behavior4/5

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

Annotations indicate non-read-only and non-destructive. The description adds details: it performs external reads and local bookkeeping writes, updates session history on cache hit, and creates/replaces local cache on miss or force_refresh. This is valuable context beyond 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.

Conciseness4/5

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

The description is reasonably concise with two sentences. It front-loads the core purpose and includes usage guidance. The first sentence is somewhat dense but still readable. No wasted words.

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 (5 parameters, caching behavior, external API calls, session bookkeeping), the description covers key behaviors: external vs local operations, caching strategy, and return value format. It lacks explicit error handling or rate limits but these are not critical for basic usage.

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 coverage is 100% with detailed parameter descriptions. The description does not add significant new meaning for individual parameters beyond what the schema already provides. It does mention the return format (suggested_category_param and call example) which is helpful for usage.

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 looks up NDC/NDLC classification codes from Web NDL Authorities given a subject term, and returns a suggested_category_param usable in CiNii Books category filter along with a call example. It also distinguishes itself by specifying what it does not do (reverse lookup or actual search), making its purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly tells the agent when to use this tool versus siblings: use jp_lit_find_authority_terms_by_classification for reverse lookup (classification to subject) and jp_lit_search for actual document search. It also notes that external sources are not modified, guiding appropriate use.

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

Install Server

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