Skip to main content
Glama
LawrenceCirillo

QuickBase MCP Server

quickbase_create_table

Create a custom table in QuickBase by specifying a name and description using this tool. It enables structured data management within applications hosted on the QuickBase MCP Server.

Instructions

Create a new table in QuickBase

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionNoTable description
nameYesTable name

Implementation Reference

  • Core handler function that executes the QuickBase API call to create a new table.
    async createTable(table: { name: string; description?: string }): Promise<string> {
      const response = await this.axios.post('/tables', {
        appId: this.config.appId,
        name: table.name,
        description: table.description,
        singleRecordName: table.name.slice(0, -1), // Remove 's' for singular
        pluralRecordName: table.name
      });
      return response.data.id;
    }
  • MCP server handler that processes the tool call and delegates to QuickBaseClient.createTable.
    case 'quickbase_create_table':
      if (!args || typeof args !== 'object') {
        throw new Error('Invalid arguments');
      }
      const tableId = await this.qbClient.createTable({
        name: args.name as string,
        description: args.description as string
      });
      return {
        content: [
          {
            type: 'text',
            text: `Table created with ID: ${tableId}`,
          },
        ],
      };
  • Tool registration in the quickbaseTools array, including name, description, and input schema.
      name: 'quickbase_create_table',
      description: 'Create a new table in QuickBase',
      inputSchema: {
        type: 'object',
        properties: {
          name: { type: 'string', description: 'Table name' },
          description: { type: 'string', description: 'Table description' }
        },
        required: ['name']
      }
    },
  • Zod schema for validating create table input parameters.
    const CreateTableSchema = z.object({
      name: z.string().describe('Table name'),
      description: z.string().optional().describe('Table description')
    });

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/LawrenceCirillo/QuickBase-MCP-Server'

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