Skip to main content
Glama

Flush the page cache

flush_page_cache

Clear the entire Wiki.js rendered-page cache to force all pages to re-render on next access. Requires a confirmation token before executing.

Instructions

Drops Wiki.js’ rendered-page cache for the whole wiki. Nothing is lost, but every page has to be rendered again on first access, so a busy instance gets slower for a while. Requires a confirmation token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirm_tokenNoToken from this tool’s previous, unconfirmed call. Omit it to receive one.
Behavior5/5

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

The description goes well beyond the idempotentHint=false annotation by disclosing that nothing is lost, every page must be re-rendered, busy instances slow down, and a confirmation token is required. This gives an agent a realistic picture of side effects, safety, and workflow.

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?

Three short sentences front-load the core action, then add consequences and the confirmation requirement. There is no filler, redundancy, or unnecessary restatement of the title.

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 simple one-parameter tool, the description covers the action, scope, side effects, safety profile, and confirmation requirement. The token mechanics are already documented in the parameter schema, and no output schema is needed for an agent to call this correctly.

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?

The only parameter, confirm_token, is fully described in the schema ('Token from this tool’s previous, unconfirmed call. Omit it to receive one.'), so schema coverage is 100%. The description only repeats that a token is required and adds no new format or workflow detail beyond the schema.

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?

States a concrete action: 'Drops Wiki.js’ rendered-page cache for the whole wiki.' It specifies the resource (rendered-page cache) and scope (whole wiki), which distinguishes it from sibling rebuild/purge tools like rebuild_search_index or purge_page_history.

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?

The operational context is clear: pages are re-rendered on first access and a busy instance gets slower. However, the description does not explicitly say when to use this tool versus alternatives such as rebuild_page_tree or rebuild_search_index, so the usage guidance is implied rather than stated.

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/ni-c/wikijs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server