Skip to main content
Glama
knmurphy

Glide API MCP Server

by knmurphy

add_table_row

Insert a new row into a Glide app table by specifying the app ID, table ID, and column values for the row. Facilitates data management via a secure, type-safe interface.

Instructions

Add a new row to a table in a Glide app

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesID of the Glide app
tableIdYesID of the table
valuesYesColumn values for the new row

Implementation Reference

  • Handler for the 'add_table_row' tool. Extracts appId, tableId, and values from arguments, then makes a POST request to the Glide API endpoint `/apps/{appId}/tables/{tableId}/rows` with the values to add a new row.
    case 'add_table_row': { const { appId, tableId, values } = request.params.arguments as { appId: string; tableId: string; values: Record<string, any>; }; const result = await this.apiClient.makeRequest( 'POST', `/apps/${appId}/tables/${tableId}/rows`, values ); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }], }; }
  • src/index.ts:194-216 (registration)
    Registration of the 'add_table_row' tool in the list of available tools, including its description and input schema definition.
    { name: 'add_table_row', description: 'Add a new row to a table in a Glide app', inputSchema: { type: 'object', properties: { appId: { type: 'string', description: 'ID of the Glide app', }, tableId: { type: 'string', description: 'ID of the table', }, values: { type: 'object', description: 'Column values for the new row', additionalProperties: true, }, }, required: ['appId', 'tableId', 'values'], }, },
  • Input schema for the 'add_table_row' tool, defining required parameters: appId, tableId, and values object.
    inputSchema: { type: 'object', properties: { appId: { type: 'string', description: 'ID of the Glide app', }, tableId: { type: 'string', description: 'ID of the table', }, values: { type: 'object', description: 'Column values for the new row', additionalProperties: true, }, }, required: ['appId', 'tableId', 'values'], },

Other Tools

Related Tools

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/knmurphy/glide-api-mcp-server'

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