Skip to main content
Glama

create_doc

Create encrypted markdown documents with end-to-end encryption, generating unique document IDs and access keys for secure knowledge base management.

Instructions

Create a new encrypted document. Returns the document ID and both write and read keys. IMPORTANT: Save these keys - they are shown only once!

Args: content: Initial markdown content for the document (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It successfully discloses the return structure (document ID, write/read keys) and the critical behavioral constraint that keys are ephemeral ('shown only once'), though it omits other potential behavioral details like rate limits or permissions.

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?

Every sentence earns its place: the first defines the action, the second states the return values, the third provides a critical warning, and the Args section documents the single parameter. No redundancy or fluff.

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?

Given the tool has only one parameter and an output schema exists, the description is appropriately complete. It covers the essential behavioral warning (one-time keys) and parameter semantics without needing to exhaustively document return values that the output schema should define.

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?

With 0% schema description coverage, the description compensates effectively by specifying that the content parameter accepts 'Initial markdown content' and is 'optional', providing type context and requirement status absent from the 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 specific action ('Create') and resource ('encrypted document'), immediately distinguishing it from sibling tools like read_doc, update_doc, or append_doc which handle existing documents.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

While it doesn't explicitly name alternatives (e.g., 'use update_doc for modifications'), the description provides critical usage context by specifying that keys are shown only once and must be saved immediately, implying this is an initialization operation.

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/bndkts/molt-md-mcp'

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