Skip to main content
Glama

Create a wiki page

wiki_create_page

Creates a new wiki page with frontmatter and updates index.md; use edit if the page already exists.

Instructions

Create a NEW wiki page. The server writes the frontmatter and updates index.md. Fails if the page exists (then use wiki_edit_page). Example: wiki_create_page sandbox_id="..." title="Ada Lovelace" type="entity" summary="English mathematician." sources=["raw/Example Article"] content="## Overview\n...".

Input Schema

NameRequiredDescriptionDefault
tagsNoOptional tags, e.g. ["person", "mathematics"].
typeYesOne of: source, entity, concept, comparison, synthesis, overview.
titleYesPage title = the subject's name. Others link to it as [[Title]].
contentYesMarkdown body with ## sections and [[links]]. No frontmatter, no # title.
sourcesNoRaw sources the facts come from, e.g. ["raw/Example Article"].
summaryYesOne sentence describing the page.
sandbox_idYesYour sandbox id from wiki_start.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses side effects (the server writes frontmatter and updates index.md) and the precondition that the page must not already exist. It doesn't cover auth/permission needs or what the call returns, but the key mutation behavior is disclosed.

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?

Front-loaded with the action and its guard condition, then side effects, then a compact example. The example is the longest element but earns its place by showing a realistic invocation; minor verbosity from the inline content snippet.

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 7-parameter mutation tool with no annotations and no output schema, the description covers the essential behavior (frontmatter/index.md writes, existence precondition, sibling fallback). Return shape is unspecified, but nothing critical to correct invocation is missing.

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%, so every parameter is already documented in the schema. The worked example reinforces how title/type/summary/sources/content combine, but adds little semantic meaning beyond what the schema provides. Baseline 3 applies.

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 specific verb and resource ("Create a NEW wiki page") and emphasizes NEW, immediately distinguishing it from the sibling wiki_edit_page. An agent can pick between create and edit without opening either schema.

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 states the failure condition ("Fails if the page exists") and names the alternative to use instead ("then use wiki_edit_page"). This is a clear when/when-not/alternative routing statement.

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