Skip to main content
Glama

create_document

Create an empty document in a Huly teamspace, optionally nested under a parent document, then add its body with update_document.

Instructions

Create an empty document in a teamspace (optionally under a parent); body: update_document

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": {
      "workspace": "<workspace>",
      "teamspaceId": "<teamspaceId>",
      "title": "<title>"
    },
    "name": "create_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesDocument title
parentIdNoParent document id; omit for top-level
workspaceYes
teamspaceIdYesTeamspace id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.6.2
    • addedInput schema / properties / title / description
      Added value: +"Document title"
  2. First observedv3.5.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations are thin (only destructiveHint=false and a title), so the description carries most of the burden. It usefully discloses that the new document has no body and that content requires a subsequent update_document call, but it omits whether the call returns the new document id, whether titles must be unique in a teamspace, and any permission or failure behavior.

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 front-loaded sentence with no filler; the create action and the follow-up update path come first. The compressed "body: update_document" notation borders on shorthand that could confuse, which keeps it below a 5.

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?

With no output schema, the description should tell the agent what it gets back (presumably the new document's id, which is required to call update_document). Given that gap and the missing permission/workspace context for a mutation tool, it is adequate but incomplete.

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

Parameters3/5

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

Schema coverage is 75% and already documents title, parentId ("omit for top-level"), and teamspaceId, so the schema does most of the work. The description's "optionally under a parent" largely restates the parentId schema text and adds no format or constraint detail, and the undocumented workspace parameter is not explained.

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 and resource ("Create an empty document in a teamspace") with scope detail (optional parent), and explicitly contrasts itself with the sibling update_document for body content. The fragment "body: update_document" is terse and slightly cryptic, but the core action is unambiguous.

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?

It implies the two-step flow (create empty, then populate via update_document) and that parentId is optional, which is real routing guidance. However, it gives no explicit when-not guidance (e.g., when to use an import/upload path instead) and no prerequisites such as the workspace/teamspace access required.

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

Deploy Server

Other Tools