Skip to main content
Glama

create_or_update_page

Creates a new wiki page or overwrites an existing page's full content with the provided text.

Instructions

Create a page or overwrite its entire content with content.

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>",
      "content": "<content>"
    },
    "name": "create_or_update_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYes
contentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it does disclose the key destructive trait: existing page content is replaced wholesale. However, it says nothing about required permissions, whether creation is an upsert or fails when the page exists, idempotency, or irreversibility of the overwrite.

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 economical sentence with the two operations front-loaded and no filler. Slightly terse given how much behavioral detail is absent, but nothing is wasted.

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?

For a two-parameter destructive write tool with no annotations, no output schema, and zero schema coverage, the definition covers only the core semantics. Critical facts for correct invocation — what `page` identifies, failure mode on nonexistent pages, permission requirements — 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% and neither property has a description, so the description is the only source of parameter meaning. It clarifies that `content` is the full replacement body, but leaves `page` entirely unexplained — no indication whether it is a path, title, ID, or slug.

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?

States a specific verb+resource pair ('Create a page or overwrite its entire content') and the overwrite framing implicitly distinguishes it from append_to_page. It stops short of naming siblings explicitly, so differentiation is inferential rather than stated.

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 phrase 'overwrite its entire content' hints at when this is the right choice versus appending, but no explicit when-to-use or when-not guidance is given. An agent must infer that append_to_page is the non-destructive alternative and read_page is needed to preserve content first.

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