get_tables
Retrieve tables for a Glide app by specifying its appId. Enables secure and type-safe data management through the Glide API MCP Server.
Instructions
Get tables for a Glide app
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | ID of the Glide app |
Implementation Reference
- src/index.ts:299-305 (handler)Handler for the 'get_tables' tool. Extracts appId from arguments, makes a GET request to `/apps/${appId}/tables` using the API client, and returns the JSON-stringified result as text content.case 'get_tables': { const { appId } = request.params.arguments as { appId: string }; const result = await this.apiClient.makeRequest('GET', `/apps/${appId}/tables`); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }], }; }
- src/index.ts:152-165 (registration)Registration of the 'get_tables' tool in the ListTools response, including name, description, and input schema requiring 'appId'.{ name: 'get_tables', description: 'Get tables for a Glide app', inputSchema: { type: 'object', properties: { appId: { type: 'string', description: 'ID of the Glide app', }, }, required: ['appId'], }, },
- src/index.ts:155-164 (schema)Input schema definition for the 'get_tables' tool, specifying an object with required 'appId' string property.inputSchema: { type: 'object', properties: { appId: { type: 'string', description: 'ID of the Glide app', }, }, required: ['appId'], },