Skip to main content
Glama

delete_wiki_page

Permanently delete a wiki page by page name. Confirm the page name first; this action is irreversible, so prefer updating or redirecting the page instead.

Instructions

PERMANENTLY delete a wiki page by pageName. The page is removed from the wiki; its history survives only in the wiki git repository (clone .wiki.git to recover), so treat this as IRREVERSIBLE from the API. Confirm the pageName with the user first; prefer update_wiki_page to blank or redirect a page instead of deleting it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoNoRepository name (defaults to GITEA_DEFAULT_REPO)
ownerNoRepository owner (defaults to GITEA_DEFAULT_OWNER)
pageNameYesWiki page name/title as it appears in the wiki URL (e.g. 'Home', 'Getting-Started')
Behavior5/5

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

No annotations provided, so description carries full burden. It discloses that deletion is permanent, history only survives in git repository, and emphasizes irreversibility. This is transparent and actionable.

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?

Two sentences, no fluff. Front-loaded with action and key information. Every sentence is necessary and well-structured.

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 deletion tool with no output schema, the description sufficiently covers behavior (permanence, recovery via git clone), required confirmation, and alternative tool. It is complete for the agent's decision-making.

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 coverage is 100%, so baseline is 3. The description adds context for pageName (e.g., 'Home', 'Getting-Started') and mentions repo/owner defaults, but these are also in schema descriptions. No significant extra meaning beyond 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?

The description clearly states the action (delete a wiki page permanently) and the resource (wiki page by pageName). It distinguishes itself from the sibling update_wiki_page by recommending it as an alternative for blanking or redirecting.

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?

Explicitly provides guidance: confirm pageName with user first, prefer update_wiki_page as alternative, and warns about irreversibility. This helps the agent decide when to use this tool versus others.

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/amonstack/gitea_mcp'

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