Skip to main content
Glama
wikijs-graphql-mcp

wikijs-graphql-mcp

by vanisoul

列出 Wiki.js 頁面

wikijs_list_pages
Read-onlyIdempotent

List Wiki.js page metadata without content, filtered by path prefix, tags, and locale, and sorted to find recently updated pages in a directory.

Instructions

列出 Wiki.js 頁面的中繼資料(不含內容),可依路徑前綴、標籤與語系篩選並排序,例如查看某目錄下最近更新的頁面。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wikijs_list_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo只列出同時包含這些標籤的頁面
limitNo回傳筆數上限,預設 50
localeNo頁面語系,例如 zh-tw;省略時使用 WIKIJS_LOCALE(預設 zh-tw)
orderByNo排序欄位,預設 UPDATED
pathPrefixNo只保留此路徑底下的頁面,例如 RD部/Projects(以路徑段落比對,不分大小寫)
orderByDirectionNo排序方向,預設 DESC

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

描述中「不含內容」的說法揭露了一項行為特質:它只回傳頁面中繼資料,不會回傳頁面內文;這是 annotations 沒有的資訊,因為 annotations 只講了安全設定。它沒有提到分頁或總筆數的行為,也沒有提到結果順序的保證,但既然 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?

這是一句密度很高、把重點放前面的句子,一開始就講明資源,接著是中繼資料的限制,然後才是篩選與排序。結尾的舉例帶來了一點重複,因為它只是把前面提到的篩選條件換句話說,但整句仍然相當精簡。

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

這是一個有六個參數的查詢工具,annotations 說明了安全性,還算充分,但沒有 output schema,因此描述就必須負責說明回傳結果長什麼樣子。它只說回傳「中繼資料」,卻沒有具體說明有哪些欄位,也沒有說明在 limit 上限(500)之下要如何分頁或截斷結果。以這個工具的中等複雜度來說,這些說明顯然只是達到可用的最低標準。

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 的說明覆蓋率是 100%,涵蓋全部六個參數,包括帶有列舉的 orderBy 與 orderByDirection、標籤的比對語意,以及 locale 的預設值。描述只是隱含地重述了篩選維度(路徑前綴、標籤、語系、排序),沒有補充額外的知識,因此依評分標準,基準分 3 分是正確的。

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

明確的動詞加資源(列出頁面),且限定在「中繼資料(不含內容)」,因此 agent 知道這是清單工具而非內容擷取。不過,它從未點名兄弟工具 wikijs_search_pages 或 wikijs_browse_tree,因此與同名清單工具之間的區分必須靠推論。

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

Usage Guidelines3/5

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

「例如查看某目錄下最近更新的頁面」提供了一個具體的使用情境,暗示了何時該用這個工具。但描述中沒有明確說明何時應改用 wikijs_search_pages,也沒有列出前置條件或排除條件,因此使用指引只能算是隱含的,而非明確陳述的。

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