Skip to main content
Glama
LawrenceCirillo

QuickBase MCP Server

quickbase_create_lookup_field

Create a lookup field in QuickBase to pull data from a related table by specifying parent and child table IDs, field references, and a label for the new field.

Instructions

Create a lookup field to pull data from a related table

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
childTableIdYesChild table ID where lookup field will be created
lookupFieldLabelYesLabel for the new lookup field
parentFieldIdYesField ID in parent table to lookup
parentTableIdYesParent table ID to lookup from
referenceFieldIdYesReference field ID in child table

Implementation Reference

  • Core handler function that executes the QuickBase API call to create a lookup field using the specified reference and lookup parameters.
    async createLookupField( childTableId: string, parentTableId: string, referenceFieldId: number, parentFieldId: number, lookupFieldLabel: string ): Promise<number> { const response = await this.axios.post('/fields', { tableId: childTableId, label: lookupFieldLabel, fieldType: 'lookup', properties: { lookupReference: { tableId: parentTableId, fieldId: parentFieldId, referenceFieldId: referenceFieldId } } }); return response.data.id; }
  • Zod schema defining the input validation for the tool's parameters.
    const CreateLookupFieldSchema = z.object({ childTableId: z.string().describe('Child table ID where lookup field will be created'), parentTableId: z.string().describe('Parent table ID to lookup from'), referenceFieldId: z.number().describe('Reference field ID in child table'), parentFieldId: z.number().describe('Field ID in parent table to lookup'), lookupFieldLabel: z.string().describe('Label for the new lookup field') });
  • MCP tool registration object defining the tool's metadata and input schema for use in the server.
    name: 'quickbase_create_lookup_field', description: 'Create a lookup field to pull data from a related table', inputSchema: { type: 'object', properties: { childTableId: { type: 'string', description: 'Child table ID where lookup field will be created' }, parentTableId: { type: 'string', description: 'Parent table ID to lookup from' }, referenceFieldId: { type: 'number', description: 'Reference field ID in child table' }, parentFieldId: { type: 'number', description: 'Field ID in parent table to lookup' }, lookupFieldLabel: { type: 'string', description: 'Label for the new lookup field' } }, required: ['childTableId', 'parentTableId', 'referenceFieldId', 'parentFieldId', 'lookupFieldLabel'] } },

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