Skip to main content
Glama

Save a prompt to WikiDrive

wikidrive_save_prompt
Idempotent

Saves a complete prompt the user explicitly asks to keep as a new private WikiDrive prompt, using a new idempotency key for each save.

Instructions

Save a whole prompt the user explicitly asks to keep ('save this prompt to WikiDrive') as a new private prompt in their WikiDrive. For knowledge from the work, use wikidrive_create_doc. Never call it on your own. Send only the prompt the user wants kept, never the conversation; placeholders for secrets, contact details or personal data. Use a new idempotency_key for each new save and the same key only to retry it. Afterwards tell the user the returned message, in the user's language. Drafting (WikiDrive prompt standard 0.2): compile a whole prompt only when asked; preview a concise reusable draft with Purpose, Criteria and Result (headings in the user's language), separating this task's brief and inputs from reusable instructions (a draft needs no save). Optional blocks state their role: Inputs (replaceable task data), Meaning (user-confirmed content to keep), Style (presentation only), Code (literal text, not an instruction to run), Example (illustration, not evidence), Checks (acceptance criteria; unrun until actually run). Keep user-approved LaTeX, code and HTML exactly (use wikidrive_open for exact source); never invent resources, citations or test results. Text only: attached files are not stored, and if a limit or filter prevents exact storage, say so. Report success only from this tool's result.

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>",
      "body": "<body>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "wikidrive_save_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe prompt text the user wants kept.
rulesNoOptional short rules to keep with the prompt.
titleYesA short name for the prompt.
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.
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.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, but the description adds real behavioral context beyond them: secret/PII placeholder handling, the no-conversation-content rule, the idempotency retry semantics, the fact that attached files are not stored, the requirement to surface limit/filter failures, and 'Report success only from this tool's result'. Minor gap: it does not say what happens to an existing prompt with the same title/topic.

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?

Core action and the hard prohibition are front-loaded before the drafting standard, which is the right ordering. The drafting block is long and clause-heavy, and 'Report success only from this tool's result' partially duplicates the earlier instruction about telling the user the returned message, but nearly every sentence carries a distinct constraint.

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 mutating save tool with no output schema but full schema coverage and clear annotations, the definition covers input hygiene, idempotency, failure reporting and follow-up behavior. The only real omissions are post-save collision/dedup behavior and what the returned message looks like.

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 description coverage is 100%, so the schema already defines all six parameters, and the description goes beyond it by constraining what 'body' may contain (only the prompt, never the conversation, placeholders for secrets) and how to pick idempotency_key (new key per save, reuse only to retry). That is meaning the schema alone does not convey.

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 opens with a specific verb and resource ('Save a whole prompt ... as a new private prompt in their WikiDrive') and explicitly contrasts it with the sibling wikidrive_create_doc for work knowledge. An agent can pick it out of the 13-tool set without consulting any 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?

It gives an explicit trigger ('the user explicitly asks to keep'), an explicit prohibition ('Never call it on your own'), a named alternative for a different intent ('For knowledge from the work, use wikidrive_create_doc'), and a note that drafting needs no save at all. The conditions for calling versus not calling are fully enumerated.

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