Skip to main content
Glama

jp_lit_annotate_session

Label and annotate retrieved Japanese literature candidates in a research session, preserving original search results and recording selection decisions like adopt or hold.

Instructions

write: session。session_id で明示した調査セッション内で、既存の検索・書誌取得結果に候補ラベルと短いメモを保存する。未選別結果そのものや cache は変更せず、採否・保留・弱候補などの選別判断だけを追加する。調査全体の目的・未確認事項・次アクションは jp_lit_update_session_trace、単なる履歴検索には jp_lit_find_sessions / jp_lit_list_sessions を使う

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes注釈対象の結果を生成した tool 名。通常は jp_lit_search または jp_lit_refine_results。
notesNoこの注釈 entry 全体に対する補足メモ。
traceNo検索意図、判断、根拠確認範囲などの調査経過。
cache_keyYes保存済み tool 実行結果を指す cache_key。jp_lit_search や cache 一覧 tool の戻り値から渡す。
session_idYes調査案件を識別する application state handle。jp_lit_start_session が返した値を��す。形式は YYYY-MM-DD-HHMMSS-8桁hex(旧形式 YYYY-MM-DD-HHMMSS も可)。MCP transport の接続IDや cache_key とは別物。
selected_itemsYes現在の調査セッションに保存する選別済み候補。未選別の検索結果そのものは変更しない。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
updated_atYes
annotated_countYes
Install Server

TDQS

A4.5/5.0
Behavior4/5

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

Annotations are all false and carry essentially no safety information, so the description carries the burden. It discloses that the tool writes to the session, only adds selection judgments, and does not modify unselected results or the cache. This is useful behavioral context beyond the schema, though it does not cover overwrite/idempotency semantics explicitly.

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 four short clauses, front-loaded with the core purpose, followed by side-effect clarification and sibling routing. Every sentence earns its place and there is no redundant restatement of the schema.

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 complex nested schema and rich per-parameter descriptions, the description adds the missing behavioral and routing context: write scope, non-destruction of raw results/cache, and clear alternative tools. An output schema exists, so return-value documentation is not required. No meaningful information needed for correct invocation is missing.

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 each parameter already has detailed descriptions, validations, and examples in the schema. The tool description adds no parameter-level meaning beyond mentioning session_id and the cache in passing. Baseline 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 names a specific action—saving candidate labels and short memos to existing search/bibliographic results within a session identified by session_id—and clearly scopes what is written. It also explicitly distinguishes itself from jp_lit_update_session_trace, jp_lit_find_sessions, and jp_lit_list_sessions, so an agent can tell them apart without opening schemas.

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 states exactly when to use this tool (annotating selection decisions on existing results) and when not to: overall research goals/unresolved items/next actions go to jp_lit_update_session_trace, and plain history retrieval goes to jp_lit_find_sessions / jp_lit_list_sessions. This is explicit routing with named alternatives.

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