Skip to main content
Glama

jp_lit_enrich_record

Verify a single literature candidate against Crossref and OpenAlex by matching DOI, title, author, and year, returning bibliographic confidence and evidence to confirm externally found references.

Instructions

external read / local bookkeeping write(非破壊)。既に見つけた単一文献候補を Crossref / OpenAlex で DOI・タイトル・著者・刊行年から照合し、候補の書誌確認 confidence と根拠を返す。文献検索 source ではなく、NDL / CiNii / J-STAGE / IRDB などで得た候補の外部検証に使う。OpenAlex は OPENALEX_API_KEY が無い場合 skipped になり、未収録・低引用は日本語人文系での低重要度を意味しない 外部sourceは変更しない。cache hitでもlocal session履歴を更新し、cache missまたはforce_refreshではlocal cacheを作成・置換する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doiNo照合したい DOI。URL 形式や doi: 接頭辞でもよい。指定すると title より DOI 照合を優先する。
titleNo照合したい候補タイトル。DOI が無い人文系文献では title / authors / issued_year の組み合わせで補助照合する。
authorsNo候補の著者名配列。未指定なら空配列として扱う。title-only 照合の confidence 判定に使う。
providersNo照合に使う外部 provider。Crossref は無認証、OpenAlex は OPENALEX_API_KEY が無い場合 skipped になる。
session_idYes調査案件を識別する application state handle。jp_lit_start_session が返した値を渡す。形式は YYYY-MM-DD-HHMMSS-8桁hex(旧形式 YYYY-MM-DD-HHMMSS も可)。MCP transport の接続IDや cache_key とは別物。
issued_yearNo候補の刊行年。title-only 照合の confidence 判定に使う。
force_refreshNotrue の場合はローカル cache を使わず upstream API から再取得する。false の場合は保存済み cache を優先する。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cacheNo
queryYes
cautionYes
matchesYes
providersYes
Install Server

TDQS

A4.4/5.0
Behavior5/5

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

The description discloses several behavioral traits beyond the annotations: external sources are unchanged, local session history is updated even on cache hits, cache is created/replaced on miss or force_refresh, OpenAlex is skipped without OPENALEX_API_KEY, and absence from OpenAlex or low citation counts is not evidence of low importance. This strongly supplements the limited annotation signals.

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 dense and front-loaded with the core purpose and scoping constraint. The latter half packs several important caveats into a run-on structure, with some redundancy between '非破壊' and '外部sourceは変更しない', so it could be better organized.

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 tool with 7 parameters and an output schema, the description covers the essential context: purpose, non-destructive behavior, local side effects, provider availability, and interpretation caveats. Since an output schema exists, the description does not need to document the return shape.

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%, and the input schema already documents DOI-priority, title-only matching, authors/issued_year usage, provider skipping behavior, force_refresh, and session_id format. The description adds little parameter-level meaning beyond what the schema already provides, so the baseline of 3 is appropriate.

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 operation: verifying an already-found single literature candidate against Crossref/OpenAlex and returning a bibliographic confidence score with evidence. It explicitly distinguishes itself from a literature search source, which differentiates it from the many jp_lit_search sibling 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 says when to use it: for external validation of candidates obtained from NDL/CiNii/J-STAGE/IRDB, and when not to use it: not as a literature search/discovery source. It does not name a specific alternative sibling tool, but the boundary is explicit enough.

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