Skip to main content
Glama

uselink_create_document

Create a new draft document in your uselink workspace, optionally within a specific project or folder. Returns the document's id, slug, and edit URL for immediate access.

Instructions

Create a new draft document in the uselink workspace bound to the active PAT. Returns the created document including its id, slug, and edit URL. Content can be omitted and added later via uselink_update_document. Pass project_id and/or folder_id to drop the doc directly into that location; otherwise it lands in the user's default project at the root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNoOptional custom slug (default: derived from title)
titleNoDocument title (optional)
formatNoDocument formatmarkdown
contentNoInitial draft body (HTML or Markdown)
folder_idNoTarget folder inside the project (default: project root)
project_idNoTarget project (default: user's default project)
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so thoroughly. It discloses the authentication binding ('active PAT'), the return value details, the draft nature of the document, and the default placement behavior. It also implies that the operation is additive (create) without destructive side effects, which is appropriate for a create tool.

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?

The description is concise (three sentences) and front-loaded with the core purpose. Each sentence adds distinct value: return behavior, content flexibility, and placement guidance. No redundant or filler language is present.

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?

For a create tool with six optional parameters and no output schema, the description covers essential context: return values (id, slug, edit URL), the draft status, the ability to defer content, and default placement. This is sufficient for an agent to invoke the tool correctly without additional documentation.

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 baseline is 3. The description adds meaning beyond the schema by explaining that project_id/folder_id control the destination location and that content can be omitted for later update. This enriches the parameter semantics, though other parameters like format and slug are already well-covered by 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 states a specific action ('Create a new draft document'), names the resource ('uselink workspace') and binding ('active PAT'), and clearly distinguishes from sibling tools like uselink_update_document or uselink_publish_document. It also mentions the return of id, slug, and edit URL, reinforcing the tool's core function.

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 explicitly guides when to use this tool versus the alternative by noting that content can be omitted and added later via uselink_update_document. It also explains how to direct placement via project_id/folder_id and the default fallback, giving clear when-to-use and when-not-to-use context.

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/c0x12c/uselink-mcp'

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