Skip to main content
Glama

insert_row

Add a new row at any position in CSV data using dictionary, list, or JSON string formats with proper null value handling.

Instructions

Insert new row at specified index with multiple data formats.

Supports dict, list, and JSON string input with null value handling. Returns insertion result with before/after statistics.

Input Schema

NameRequiredDescriptionDefault
row_indexYesIndex to insert row at (0-based, -1 to append at end)
dataYesRow data as dict, list, or JSON string

Input Schema (JSON Schema)

{ "properties": { "data": { "anyOf": [ { "additionalProperties": { "anyOf": [ { "type": "string" }, { "type": "integer" }, { "type": "number" }, { "type": "boolean" }, { "type": "null" } ] }, "type": "object" }, { "items": { "anyOf": [ { "type": "string" }, { "type": "integer" }, { "type": "number" }, { "type": "boolean" }, { "type": "null" } ] }, "type": "array" }, { "type": "string" } ], "description": "Row data as dict, list, or JSON string" }, "row_index": { "description": "Index to insert row at (0-based, -1 to append at end)", "type": "integer" } }, "required": [ "row_index", "data" ], "type": "object" }

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/jonpspri/databeak'

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