Skip to main content
Glama

page_exists

Checks whether a specified PukiWiki page exists, so MCP clients can verify availability before reading, editing, or creating content.

Instructions

Check whether a page exists.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "page": "<page>"
    },
    "name": "page_exists"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and discloses almost nothing. It does not say what a failed check returns, whether a negative result is an error, or whether the check is scoped to a workspace or is case-sensitive.

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?

A single short sentence with the resource front and center and no filler. It is efficient, though part of that efficiency comes from omitting information the agent needs.

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

Completeness2/5

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

The tool is structurally simple, but there is no output schema, so the return contract (boolean vs. status object) is undocumented, and the identifier format for the only parameter is undefined. For a predicate tool, those two facts are the entire specification and both are missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the lone 'page' parameter, and it does not. It never clarifies whether 'page' is an id, a path, or a title — a distinction that determines whether the call succeeds.

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

Purpose3/5

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

The description names a verb ('check whether') and resource ('a page') plus the predicate ('exists'), so the intent is inferable. But it draws no line against siblings like read_page, list_pages, or search_pages, so an agent learns nothing about how this differs from simply reading the page.

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

Usage Guidelines2/5

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

There is no guidance on when to use this rather than read_page (which would also reveal existence) or search_pages. No preconditions, no note about whether a non-existent page raises an error or returns false.

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