Skip to main content
Glama

doc_create

Suggest a new document from Markdown (headings, lists, "- [ ] " checklists, tables, bold, links) in a folder (0 = My files). kind "folder": a new folder there instead, with no markdown. kind "file": a file, named with its extension (prices.csv, budget.xlsx, report.pdf), from text (written as it is) or data (its bytes in base64), up to 2.5 MB. The user accepts it unless "Create files" is set to Auto. A new version of one of yours still waiting replaces it: give it the same name in the same folder, or pass that suggestion's id as replaces. kind "signing": instead, prepare the PDF in Files with id pdf to be signed, at once, as a draft only the user sees (no name): the places to sign are found in it, and signers ([{"name", "email", "role"}], up to 10, or {"me": true} for the user) are put on them; message is a note shown to signers. Nothing is sent: the user checks it and presses Send in Files, which emails each signer their own link. Answers the draft's link and what it still needs.

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": {
      "author": "<author>"
    },
    "name": "doc_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
pdfNo
dataNo
kindNodocument
nameNo
textNo
modelNo
authorYes
folderNo
reasonNo
messageNo
signersNo
sourcesNo
markdownNo
replacesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (which only declare it non-read-only, non-destructive, closed-world), the description discloses the approval workflow ('The user accepts it unless "Create files" is set to Auto'), the 2.5 MB ceiling, the overwrite semantics for a still-pending version, and for signing that it is draft-only, nothing is sent, and the user must press Send. These are exactly the behavioral traits an agent cannot infer from the structured fields.

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?

Every sentence carries real information and the primary case (Markdown document) is front-loaded, so there is little waste. But it is delivered as one dense run-on paragraph of semicolon-chained clauses, making the four modes hard to scan and the signing branch easy to misread.

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?

For a 14-parameter, four-mode tool with no output schema and no schema descriptions, the definition covers the creation and signing flows well and even sketches the signing return value ('the draft's link and what it still needs'). Gaps remain: the required author field and the model, reason, and sources parameters are unexplained, and no return behavior is described for the document, folder, or file modes.

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 carries the full burden, and it explains most of the 14 parameters substantively: markdown syntax accepted, folder 0 meaning My files, name needing an extension, data as base64 bytes, pdf as a file id, signers shape with the 10-signer cap and the {"me": true} shortcut, message as a signer note, and replaces as a suggestion id. However the required parameter author, plus model, reason, and sources, are never mentioned, leaving an agent guessing on the one field it must supply.

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?

The opening clause states a specific verb and resource ('Suggest a new document from Markdown') and then enumerates the four distinct modes via kind (document, folder, file, signing), each with its own payload. An agent can tell what will be created and in what form. It does not, however, contrast itself with the related sibling doc_propose_edit, so the boundary with editing an existing document is left implicit.

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?

Per-mode routing is explicit: kind 'folder' creates a folder instead, kind 'file' takes text or base64 data with an extension, kind 'signing' prepares a PDF draft rather than a new document. It also states the trigger for the pending-replacement path (same name and folder, or pass replaces). It stops short of stating when NOT to use this tool or naming an alternative for editing existing documents.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.