Skip to main content
Glama

jp_lit_list_cache

Read-onlyIdempotent

List cached search results and metadata, filterable by tool, session, save date, or source, to inventory and locate cache entries.

Instructions

read-only。ローカル cache の一覧・集計を返し、tool、session_id、保存日、source で絞り込める。cache_key を探す棚卸しに使う。保存済み jp_lit_search の中身を語で横断検索したい場合は jp_lit_search_cache_index、削除は jp_lit_delete_cache または jp_lit_prune_cache を使う。cache や session は変更しない

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNo一覧対象の tool cache 名。未指定なら全 tool cache を対象にする。
limitNo返す cache entry の最大件数。最大 500。
sourceNo保存済み検索結果の source で絞る。source を持たない cache には一致しない。
saved_onNocache 保存日の簡易指定。YYYY-MM-DD, today, yesterday, last_7_days のいずれか。
saved_toNocache saved_at の上限 ISO datetime。
saved_fromNocache saved_at の下限 ISO datetime。
session_idNoこのセッションに紐づく cache だけを一覧する。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
itemsYes
limitYes
totalYes
sourceYes
summaryYes
saved_onYes
saved_toYes
cache_keysYes
saved_fromYes
session_idYes
saved_on_resolvedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • changedInput schema / properties / tool / enum
      Previous value: -[
      -  "jp_lit_enrich_record",
      -  "jp_lit_find_authority_terms_by_classification",
      -  "jp_lit_get_fulltext",
      -  "jp_lit_get_record",
      -  "jp_lit_get_text_coordinates",
      -  "jp_lit_resolve_authority",
      -  "jp_lit_search",
      -  "jp_lit_search_fulltext",
      -  "jp_lit_search_guides_cases",
      -  "jp_lit_search_guides_manuals",
      -  "jp_lit_search_illustrations",
      -  "jp_lit_search_kaken_projects",
      -  "jp_lit_search_kokusho_fulltext",
      -  "jp_lit_search_kokusho_image_tags",
      -  "jp_lit_search_pages",
      -  "jp_lit_suggest_classification_codes"
      -]New value: +[
      +  "jp_lit_enrich_record",
      +  "jp_lit_find_authority_terms_by_classification",
      +  "jp_lit_get_fulltext",
      +  "jp_lit_get_record",
      +  "jp_lit_get_text_coordinates",
      +  "jp_lit_record_ndl_browser_search",
      +  "jp_lit_resolve_authority",
      +  "jp_lit_search",
      +  "jp_lit_search_fulltext",
      +  "jp_lit_search_guides_cases",
      +  "jp_lit_search_guides_manuals",
      +  "jp_lit_search_illustrations",
      +  "jp_lit_search_kaken_projects",
      +  "jp_lit_search_kokusho_fulltext",
      +  "jp_lit_search_kokusho_image_tags",
      +  "jp_lit_search_pages",
      +  "jp_lit_suggest_classification_codes"
      +]
  2. Changed2 schema fields changedv0.13.0
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "ndl_search",
      -  "ndl_catalog",
      -  "ndl_digital",
      -  "ndl_articles",
      -  "ndl_articles_online",
      -  "irdb",
      -  "jdcat",
      -  "jstage_articles",
      -  "japan_search",
      -  "cinii_articles",
      -  "cinii_dissertations",
      -  "cinii_books",
      -  "kokkai_minutes",
      -  "teikoku_minutes",
      -  "nihu_bridge",
      -  "national_archives",
      -  "jacar",
      -  "nijl_articles",
      -  "kokusho",
      -  "ninjal_bibliography"
      -]New value: +[
      +  "ndl_search",
      +  "ndl_reference_books",
      +  "ndl_catalog",
      +  "ndl_digital",
      +  "ndl_articles",
      +  "ndl_articles_online",
      +  "irdb",
      +  "jdcat",
      +  "jstage_articles",
      +  "japan_search",
      +  "cinii_articles",
      +  "cinii_dissertations",
      +  "cinii_books",
      +  "kokkai_minutes",
      +  "teikoku_minutes",
      +  "nihu_bridge",
      +  "national_archives",
      +  "jacar",
      +  "nijl_articles",
      +  "kokusho",
      +  "ninjal_bibliography"
      +]
    • changedOutput schema / properties / source / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "ndl_search",
      -      "ndl_catalog",
      -      "ndl_digital",
      -      "ndl_articles",
      -      "ndl_articles_online",
      -      "irdb",
      -      "jdcat",
      -      "jstage_articles",
      -      "japan_search",
      -      "cinii_articles",
      -      "cinii_dissertations",
      -      "cinii_books",
      -      "kokkai_minutes",
      -      "teikoku_minutes",
      -      "nihu_bridge",
      -      "national_archives",
      -      "jacar",
      -      "nijl_articles",
      -      "kokusho",
      -      "ninjal_bibliography"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "ndl_search",
      +      "ndl_reference_books",
      +      "ndl_catalog",
      +      "ndl_digital",
      +      "ndl_articles",
      +      "ndl_articles_online",
      +      "irdb",
      +      "jdcat",
      +      "jstage_articles",
      +      "japan_search",
      +      "cinii_articles",
      +      "cinii_dissertations",
      +      "cinii_books",
      +      "kokkai_minutes",
      +      "teikoku_minutes",
      +      "nihu_bridge",
      +      "national_archives",
      +      "jacar",
      +      "nijl_articles",
      +      "kokusho",
      +      "ninjal_bibliography"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed3 schema fields changedv0.9.0
    • changedInput schema / properties / session_id / pattern
      Previous value: -"^\\d{4}-\\d{2}-\\d{2}-\\d{6}$"New value: +"^\\d{4}-\\d{2}-\\d{2}-\\d{6}(?:-[0-9a-f]{8})?$"
    • addedInput schema / properties / tool / enum
      Added value: +[
      +  "jp_lit_enrich_record",
      +  "jp_lit_find_authority_terms_by_classification",
      +  "jp_lit_get_fulltext",
      +  "jp_lit_get_record",
      +  "jp_lit_get_text_coordinates",
      +  "jp_lit_resolve_authority",
      +  "jp_lit_search",
      +  "jp_lit_search_fulltext",
      +  "jp_lit_search_guides_cases",
      +  "jp_lit_search_guides_manuals",
      +  "jp_lit_search_illustrations",
      +  "jp_lit_search_kaken_projects",
      +  "jp_lit_search_kokusho_fulltext",
      +  "jp_lit_search_kokusho_image_tags",
      +  "jp_lit_search_pages",
      +  "jp_lit_suggest_classification_codes"
      +]
    • removedInput schema / properties / tool / minLength
      Removed value: -1
  4. Changed2 schema fields changedv0.7.7
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "ndl_search",
      -  "ndl_catalog",
      -  "ndl_digital",
      -  "ndl_articles",
      -  "ndl_articles_online",
      -  "irdb",
      -  "jdcat",
      -  "jstage_articles",
      -  "japan_search",
      -  "cinii_articles",
      -  "cinii_books",
      -  "kokkai_minutes",
      -  "teikoku_minutes",
      -  "nihu_bridge",
      -  "national_archives",
      -  "jacar",
      -  "nijl_articles",
      -  "kokusho",
      -  "ninjal_bibliography"
      -]New value: +[
      +  "ndl_search",
      +  "ndl_catalog",
      +  "ndl_digital",
      +  "ndl_articles",
      +  "ndl_articles_online",
      +  "irdb",
      +  "jdcat",
      +  "jstage_articles",
      +  "japan_search",
      +  "cinii_articles",
      +  "cinii_dissertations",
      +  "cinii_books",
      +  "kokkai_minutes",
      +  "teikoku_minutes",
      +  "nihu_bridge",
      +  "national_archives",
      +  "jacar",
      +  "nijl_articles",
      +  "kokusho",
      +  "ninjal_bibliography"
      +]
    • changedOutput schema / properties / source / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "ndl_search",
      -      "ndl_catalog",
      -      "ndl_digital",
      -      "ndl_articles",
      -      "ndl_articles_online",
      -      "irdb",
      -      "jdcat",
      -      "jstage_articles",
      -      "japan_search",
      -      "cinii_articles",
      -      "cinii_books",
      -      "kokkai_minutes",
      -      "teikoku_minutes",
      -      "nihu_bridge",
      -      "national_archives",
      -      "jacar",
      -      "nijl_articles",
      -      "kokusho",
      -      "ninjal_bibliography"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "ndl_search",
      +      "ndl_catalog",
      +      "ndl_digital",
      +      "ndl_articles",
      +      "ndl_articles_online",
      +      "irdb",
      +      "jdcat",
      +      "jstage_articles",
      +      "japan_search",
      +      "cinii_articles",
      +      "cinii_dissertations",
      +      "cinii_books",
      +      "kokkai_minutes",
      +      "teikoku_minutes",
      +      "nihu_bridge",
      +      "national_archives",
      +      "jacar",
      +      "nijl_articles",
      +      "kokusho",
      +      "ninjal_bibliography"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  5. Changed7 schema fields changedv0.7.1
    • addedInput schema / properties / limit / description
      Added value: +"返す cache entry の最大件数。最大 500。"
    • addedInput schema / properties / saved_from / description
      Added value: +"cache saved_at の下限 ISO datetime。"
    • addedInput schema / properties / saved_on / description
      Added value: +"cache 保存日の簡易指定。YYYY-MM-DD, today, yesterday, last_7_days のいずれか。"
    • addedInput schema / properties / saved_to / description
      Added value: +"cache saved_at の上限 ISO datetime。"
    • addedInput schema / properties / session_id / description
      Added value: +"このセッションに紐づく cache だけを一覧する。"
    • addedInput schema / properties / source / description
      Added value: +"保存済み検索結果の source で絞る。source を持たない cache には一致しない。"
    • addedInput schema / properties / tool / description
      Added value: +"一覧対象の tool cache 名。未指定なら全 tool cache を対象にする。"
  6. Changed2 schema fields changedv0.6.0
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "ndl_search",
      -  "ndl_catalog",
      -  "ndl_digital",
      -  "ndl_articles",
      -  "ndl_articles_online",
      -  "irdb",
      -  "jdcat",
      -  "jstage_articles",
      -  "japan_search",
      -  "cinii_articles",
      -  "cinii_books",
      -  "kokkai_minutes",
      -  "teikoku_minutes",
      -  "nihu_bridge",
      -  "national_archives",
      -  "jacar"
      -]New value: +[
      +  "ndl_search",
      +  "ndl_catalog",
      +  "ndl_digital",
      +  "ndl_articles",
      +  "ndl_articles_online",
      +  "irdb",
      +  "jdcat",
      +  "jstage_articles",
      +  "japan_search",
      +  "cinii_articles",
      +  "cinii_books",
      +  "kokkai_minutes",
      +  "teikoku_minutes",
      +  "nihu_bridge",
      +  "national_archives",
      +  "jacar",
      +  "nijl_articles",
      +  "kokusho",
      +  "ninjal_bibliography"
      +]
    • changedOutput schema / properties / source / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "ndl_search",
      -      "ndl_catalog",
      -      "ndl_digital",
      -      "ndl_articles",
      -      "ndl_articles_online",
      -      "irdb",
      -      "jdcat",
      -      "jstage_articles",
      -      "japan_search",
      -      "cinii_articles",
      -      "cinii_books",
      -      "kokkai_minutes",
      -      "teikoku_minutes",
      -      "nihu_bridge",
      -      "national_archives",
      -      "jacar"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "ndl_search",
      +      "ndl_catalog",
      +      "ndl_digital",
      +      "ndl_articles",
      +      "ndl_articles_online",
      +      "irdb",
      +      "jdcat",
      +      "jstage_articles",
      +      "japan_search",
      +      "cinii_articles",
      +      "cinii_books",
      +      "kokkai_minutes",
      +      "teikoku_minutes",
      +      "nihu_bridge",
      +      "national_archives",
      +      "jacar",
      +      "nijl_articles",
      +      "kokusho",
      +      "ninjal_bibliography"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  7. Changed2 schema fields changedv0.3.0
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "ndl_search",
      -  "ndl_catalog",
      -  "ndl_digital",
      -  "ndl_articles",
      -  "ndl_articles_online",
      -  "irdb",
      -  "jdcat",
      -  "jstage_articles",
      -  "japan_search",
      -  "cinii_articles",
      -  "cinii_books",
      -  "kokkai_minutes",
      -  "teikoku_minutes",
      -  "nihu_bridge"
      -]New value: +[
      +  "ndl_search",
      +  "ndl_catalog",
      +  "ndl_digital",
      +  "ndl_articles",
      +  "ndl_articles_online",
      +  "irdb",
      +  "jdcat",
      +  "jstage_articles",
      +  "japan_search",
      +  "cinii_articles",
      +  "cinii_books",
      +  "kokkai_minutes",
      +  "teikoku_minutes",
      +  "nihu_bridge",
      +  "national_archives",
      +  "jacar"
      +]
    • changedOutput schema / properties / source / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "ndl_search",
      -      "ndl_catalog",
      -      "ndl_digital",
      -      "ndl_articles",
      -      "ndl_articles_online",
      -      "irdb",
      -      "jdcat",
      -      "jstage_articles",
      -      "japan_search",
      -      "cinii_articles",
      -      "cinii_books",
      -      "kokkai_minutes",
      -      "teikoku_minutes",
      -      "nihu_bridge"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "ndl_search",
      +      "ndl_catalog",
      +      "ndl_digital",
      +      "ndl_articles",
      +      "ndl_articles_online",
      +      "irdb",
      +      "jdcat",
      +      "jstage_articles",
      +      "japan_search",
      +      "cinii_articles",
      +      "cinii_books",
      +      "kokkai_minutes",
      +      "teikoku_minutes",
      +      "nihu_bridge",
      +      "national_archives",
      +      "jacar"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  8. First observedv0.1.9

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds context by stating 'read-only' and 'does not change cache or session', which aligns with annotations. It also mentions the tool returns filtered results but doesn't detail the return structure, which is covered by the output schema. No contradiction with annotations.

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 compact and front-loaded with the key 'read-only' and 'returns list/aggregation' information, followed by filter dimensions, usage context, and alternatives. Every sentence serves a purpose without redundancy.

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?

For a read-only listing tool with an output schema and safety annotations, the description covers purpose, usage, and filters. It doesn't describe the return format (covered by output schema) or edge cases, but it's complete enough for an agent to decide when and how to call it.

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%, with each parameter already described. The description groups parameters by category (tool, session_id, save date, source) which provides a helpful overview, but it doesn't add substantial meaning beyond what the schema provides. 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 clearly states it returns a list/aggregation of local caches and specifies the filtering dimensions (tool, session_id, save date, source). It explicitly names sibling tools for other tasks (jp_lit_search_cache_index for content search, jp_lit_delete_cache / jp_lit_prune_cache for deletion), distinguishing this tool from them.

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 states when to use this tool (to find cache_key during inventory) and provides alternatives for other use cases (cross-search and deletion). This gives the agent clear routing guidance without ambiguity.

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