Skip to main content
Glama
LawrenceCirillo

QuickBase MCP Server

quickbase_get_relationships

Retrieve and manage relationships for a specified table using the QuickBase MCP Server, enabling efficient data structure organization and integration.

Instructions

Get relationships for a table

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableIdYesTable ID

Implementation Reference

  • The main handler function that performs the QuickBase API GET request to /relationships?childTableId={tableId} and returns the response data.
    async getRelationships(tableId: string): Promise<any[]> { const response = await this.axios.get(`/relationships`, { params: { childTableId: tableId } }); return response.data; }
  • Defines the tool's metadata including name, description, and input schema requiring a tableId.
    { name: 'quickbase_get_relationships', description: 'Get relationships for a table', inputSchema: { type: 'object', properties: { tableId: { type: 'string', description: 'Table ID' } }, required: ['tableId'] } },
  • src/index.ts:351-362 (registration)
    Registers the tool in the MCP callTool handler switch case, validating args and calling the QuickBaseClient handler.
    case 'quickbase_get_relationships': if (!args || typeof args !== 'object') { throw new Error('Invalid arguments'); } return { content: [ { type: 'text', text: JSON.stringify(await this.qbClient.getRelationships(args.tableId as string), null, 2), }, ], };

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