Skip to main content
Glama

Create a WikiDrive document

wikidrive_create_doc
Idempotent

Creates a new private WikiDrive document from work knowledge such as decisions, procedures, specifications, or research notes, so users can keep and reuse important information.

Instructions

Create a new private document in the user's WikiDrive with knowledge from this work, written by you in the user's language: a decision and its reasons, a procedure or checklist, a specification, research findings with their sources, or reference notes the user will reuse. Use it when the user asks to keep something as a document ('write this up', '문서로 정리해 둬') with why 'asked': first check the documents wikidrive_recall listed, or wikidrive_search, and use wikidrive_add_to_doc when one covers the subject. When wikidrive_recall reports that the user has automatic documents on, use it after work that produced such knowledge with why 'auto', at most once per task and without asking the user: WikiDrive then files it as a new part, named by its title, of the topic's one notes document (starting that document the first time), so it never adds a document per task. Never a chat transcript, never text copied from web pages, files or tool output beyond short quotes; placeholders like [EMAIL] for passwords, keys, tokens, account, card or ID numbers, contact details or private facts about people (WikiDrive masks the rest). Links are fine. Lines WikiDrive cannot keep are refused and named in the result. Use a new idempotency_key for each new document and the same key only to retry. Afterwards tell the user the returned message in one line, in the user's language; it names the document and how to undo it.

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": {
      "title": "<title>",
      "topic": "<topic>",
      "text": "<text>",
      "why": "<why>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "wikidrive_create_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyYes'asked' when the user asked for this in this conversation; 'auto' under the user's automatic-documents setting (only for documents an AI made).
textYesThe document in Markdown: a one-line summary, then ## sections; your own distilled write-up in the user's language. Keep each heading at most 120 characters, so it can be named later. At most 12,000 characters per call: for a longer one, create it and then add sections with wikidrive_add_to_doc.
titleYesA short, specific name in the user's language, e.g. 'Release checklist'.
topicYesThe kind of work, exactly as wikidrive_recall showed it (e.g. 'report', or a topic of the user's in their language such as 'Informes'). Never a client, project, product or person name.
separateNotrue only when the user wants a separate document although one with a similar title exists.
topic_labelNoOptional: the topic's name in the user's language (e.g. 'Informes'); WikiDrive uses it to find the user's matching topic, or to name a new one.
idempotency_keyYesA new random key (e.g. a UUID) for each new save; reuse it only to retry the same save after an unclear result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare the mutation/safety profile (readOnlyHint false, destructiveHint false, idempotentHint true), but the description goes well beyond: it discloses the filing behavior (new part of the topic's single notes document, never one document per task), masking/placeholder rules with examples, that unkeepable lines are refused and named in the result, and the post-call instruction to relay the returned message and undo path.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, which is good, but the body is a single dense paragraph bundling usage rules, content prohibitions, placeholder policy, refusal behavior, idempotency, and a post-call instruction. The idempotency sentence duplicates the schema's idempotency_key description almost verbatim, and the masking/link/refusal details could be structured more scannably.

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?

With no output schema and seven parameters including two optional ones, the description supplies everything an agent needs: the two invocation modes and their triggers, content and privacy limits, what happens to refused input, how the document is filed, and what to report to the user afterwards.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real constraints beyond the schema: 'topic' must be a kind of work and 'never a client, project, product or person name', 'why' carries the requested-vs-automatic distinction with usage caps, and 'separate' is scoped to the similar-title case. The idempotency_key sentence largely restates the schema description rather than adding to it.

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 private document in the user's WikiDrive') plus the content scope (decisions, procedures, specs, research findings, reference notes) and authorship ('written by you in the user's language'). It is clearly separable from siblings such as wikidrive_add_to_doc and wikidrive_search, which are named and contrasted in the same paragraph.

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?

Gives explicit when-to-use conditions for both enum modes: 'asked' when the user requests a document ('write this up'), and 'auto' only when wikidrive_recall reports automatic documents are on, capped at once per task and explicitly without asking the user. It also names prerequisites and alternatives — check wikidrive_recall/wikidrive_search first and prefer wikidrive_add_to_doc when an existing document covers the subject.

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