Skip to main content
Glama
nic01asFr
by nic01asFr

create_document

Creates a new document in a workspace by providing a workspace ID and document name.

Instructions

Crée un nouveau document dans un espace de travail.

Prérequis: - list_workspaces: Pour obtenir un workspace_id valide

Flux de travail typique: 1. list_workspaces(org_id) → obtenir workspace_id 2. create_document(workspace_id, "Nom") → créer le document 3. list_documents(workspace_id) → vérifier la création

Args: workspace_id: L'ID de l'espace de travail name: Nom du nouveau document

Returns: Dict avec statut, message et ID du document créé

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
workspace_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, so description carries full burden. It states the tool creates a document and returns status, message, and ID. No side effects or destructive behavior mentioned, but that is expected. Lacks permission or error details, still transparent enough.

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?

Description is well-structured with sections: summary, prerequisites, workflow, args, returns. Every sentence adds value, no redundancy. Front-loaded with the core action.

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's simplicity and presence of an output schema, the description covers creation, prerequisites, and expected returns. It misses error handling or validation details, but is complete enough for typical use.

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 0%, so description must add meaning. It explains workspace_id as workspace ID and name as document name. The workflow further clarifies context. Provides sufficient semantics beyond the raw 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 tool creates a new document in a workspace, distinguishing it from sibling tools like delete_document or modify_document. The verb 'Crée' and resource 'document' are specific.

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?

Explicitly lists prerequisite (list_workspaces) and a typical three-step workflow. This guides the agent on when and how to use the tool, though it doesn't specify when not to use it—which is acceptable for a creation tool.

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/nic01asFr/mcp-server-grist'

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