Skip to main content
Glama
knmurphy

Glide API MCP Server

by knmurphy

update_table_row

Modify specific row data in a Glide app table by providing the app ID, table ID, row ID, and updated column values through the Glide API MCP Server.

Instructions

Update an existing row in a table

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesID of the Glide app
rowIdYesID of the row to update
tableIdYesID of the table
valuesYesNew column values for the row

Implementation Reference

  • The handler function for the 'update_table_row' tool. It extracts parameters from the request, makes a POST request to the Glide API to update the specified row in the table, and returns the JSON response.
    case 'update_table_row': {
      const { appId, tableId, rowId, values } = request.params.arguments as {
        appId: string;
        tableId: string;
        rowId: string;
        values: Record<string, any>;
      };
      const result = await this.apiClient.makeRequest(
        'POST',
        `/apps/${appId}/tables/${tableId}/rows/${rowId}`,
        values
      );
      return {
        content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
      };
    }
  • src/index.ts:218-243 (registration)
    Registration of the 'update_table_row' tool in the listTools response, including its name, description, and detailed input schema definition.
      name: 'update_table_row',
      description: 'Update an existing row in a table',
      inputSchema: {
        type: 'object',
        properties: {
          appId: {
            type: 'string',
            description: 'ID of the Glide app',
          },
          tableId: {
            type: 'string',
            description: 'ID of the table',
          },
          rowId: {
            type: 'string',
            description: 'ID of the row to update',
          },
          values: {
            type: 'object',
            description: 'New column values for the row',
            additionalProperties: true,
          },
        },
        required: ['appId', 'tableId', 'rowId', 'values'],
      },
    },
  • Input schema definition for the 'update_table_row' tool, specifying parameters appId, tableId, rowId, and values object.
    inputSchema: {
      type: 'object',
      properties: {
        appId: {
          type: 'string',
          description: 'ID of the Glide app',
        },
        tableId: {
          type: 'string',
          description: 'ID of the table',
        },
        rowId: {
          type: 'string',
          description: 'ID of the row to update',
        },
        values: {
          type: 'object',
          description: 'New column values for the row',
          additionalProperties: true,
        },
      },
      required: ['appId', 'tableId', 'rowId', 'values'],
    },
Install Server

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