Skip to main content
Glama

quip_create_document

Generate a new Quip document with a specified title and markdown content using the Quip MCP Server, enabling AI assistants to create and manage documents efficiently.

Instructions

Create a new Quip document

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesInitial markdown content for the document
titleYesTitle of the new document

Implementation Reference

  • The core handler function for the 'quip_create_document' tool. It logs the creation attempt and returns a response indicating that full implementation (via Python script) is not yet available.
    private async createDocument(title: string, content: string) { try { console.log(`Creating document "${title}"...`); // Not implemented in the Python script yet return { content: [ { type: 'text', text: `Document creation is not implemented in the current Python script. Please use the Quip web interface to create new documents.`, }, ], }; } catch (error) { console.error('Error creating document:', error); throw error; } }
  • The switch case in the CallToolRequestHandler that validates input arguments and dispatches to the createDocument handler method.
    case 'quip_create_document': { const typedArgs = args as any; if (!typedArgs.title || !typedArgs.content) { throw new McpError(ErrorCode.InvalidParams, 'title and content are required'); } return await this.createDocument(String(typedArgs.title), String(typedArgs.content)); }
  • src/index.ts:119-136 (registration)
    The tool registration in the ListToolsRequestHandler, including name, description, and input schema definition.
    { name: 'quip_create_document', description: 'Create a new Quip document', inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Title of the new document' }, content: { type: 'string', description: 'Initial markdown content for the document' } }, required: ['title', 'content'], }, },

Other Tools

Related 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/AvinashBole/quip-mcp-server'

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