Skip to main content
Glama
LawrenceCirillo

QuickBase MCP Server

quickbase_run_report

Execute a specific report in QuickBase by providing the Report ID and Table ID, enabling efficient data management and analysis within the MCP server.

Instructions

Run a specific report

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reportIdYesReport ID
tableIdYesTable ID

Implementation Reference

  • Core handler function in QuickBaseClient that executes the QuickBase API call to run the specified report and returns the report data.
    async runReport(reportId: string, tableId: string): Promise<any[]> {
      const response = await this.axios.post('/records/query', {
        from: tableId,
        options: {
          reportId
        }
      });
      return response.data.data;
    }
  • MCP server handler that dispatches the tool call to the QuickBaseClient.runReport method and formats the response.
    case 'quickbase_run_report':
      if (!args || typeof args !== 'object') {
        throw new Error('Invalid arguments');
      }
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(
              await this.qbClient.runReport(args.reportId as string, args.tableId as string), 
              null, 
              2
            ),
          },
        ],
      };
  • Tool schema definition including input schema for parameters reportId and tableId, used for registration and validation.
      name: 'quickbase_run_report',
      description: 'Run a specific report',
      inputSchema: {
        type: 'object',
        properties: {
          reportId: { type: 'string', description: 'Report ID' },
          tableId: { type: 'string', description: 'Table ID' }
        },
        required: ['reportId', 'tableId']
      }
    },
  • src/index.ts:51-52 (registration)
    Registration of all QuickBase tools including quickbase_run_report via the listTools handler.
    return {
      tools: quickbaseTools,

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