Skip to main content
Glama
kintone

kintone MCP Server

Official
by kintone

Add Records

kintone-add-records

Add multiple records to a kintone app by providing field codes and values. Use get-form-fields to verify formats first; skip unsupported fields like STATUS, CATEGORY, and calculated fields.

Instructions

Add multiple records to a kintone app. Use kintone-get-form-fields tool first to discover available field codes and their required formats. Note: Some fields cannot be registered (LOOKUP copies, STATUS, CATEGORY, CALC, ASSIGNEE, auto-calculated fields).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appYesThe ID of the app to add records to (numeric value as string)
recordsYesArray of records to add (min 1, max 100). Each record is an object with field codes as keys. Use kintone-get-form-fields tool first to discover available field codes and their types.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesArray of IDs of the created records
revisionsYesArray of revision numbers of the created records

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.9.3
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / records / items / additionalProperties / anyOf
      Previous value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "description": "Text value for string fields (SINGLE_LINE_TEXT, MULTI_LINE_TEXT, RICH_TEXT, LINK)",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "description": "Numeric value as string for NUMBER fields (e.g., '123.45'). Only half-width numbers, +/- signs, decimal point (.), and exponential notation (e/E) are allowed. Empty string, null, or undefined for empty values.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "description": "Date/time value for DATE, TIME, DATETIME fields (DATE: 'YYYY-MM-DD', TIME: 'HH:mm', DATETIME: 'YYYY-MM-DDTHH:mm:ssZ')",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "description": "Selected option value for RADIO_BUTTON and DROP_DOWN fields",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "anyOf": [
      -              {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "minItems": 0,
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Array of selected option values for CHECK_BOX and MULTI_SELECT fields"
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "anyOf": [
      -              {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "code": {
      -                      "description": "User code/login name",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "code"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Array of selected users for USER_SELECT fields"
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "anyOf": [
      -              {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "code": {
      -                      "description": "Organization code",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "code"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Array of selected organizations for ORGANIZATION_SELECT fields"
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "anyOf": [
      -              {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "code": {
      -                      "description": "Group code",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "code"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Array of selected groups for GROUP_SELECT fields"
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "code": {
      -                    "description": "User code/login name",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "code"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "User information for CREATOR and MODIFIER fields (registration format with code only)"
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "anyOf": [
      -              {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "id": {
      -                      "description": "Row ID (optional for new rows)",
      -                      "type": "string"
      -                    },
      -                    "value": {
      -                      "additionalProperties": {},
      -                      "description": "Field values within this subtable row",
      -                      "type": "object"
      -                    }
      -                  },
      -                  "required": [
      -                    "value"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Array of subtable rows for SUBTABLE fields"
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "description": "Lookup field value for LOOKUP fields (string for SINGLE_LINE_TEXT key, numeric string for NUMBER key)",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "value": {
      -            "description": "Date/time value for CREATED_TIME and UPDATED_TIME fields (ISO 8601 format, only for registration)",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "value"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "value": {
      -        "description": "FILE fields are not supported yet (file upload tool not implemented)",
      -        "not": {}
      -      }
      -    },
      -    "required": [
      -      "value"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Text value for string fields (SINGLE_LINE_TEXT, MULTI_LINE_TEXT, RICH_TEXT, LINK)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Numeric value as string for NUMBER fields (e.g., '123.45'). Only half-width numbers, +/- signs, decimal point (.), and exponential notation (e/E) are allowed. Empty string, null, or undefined for empty values.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Date/time value for DATE, TIME, DATETIME fields (DATE: 'YYYY-MM-DD', TIME: 'HH:mm', DATETIME: 'YYYY-MM-DDTHH:mm:ssZ')",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Selected option value for RADIO_BUTTON and DROP_DOWN fields",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "minItems": 0,
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Array of selected option values for CHECK_BOX and MULTI_SELECT fields",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "properties": {
      +                    "code": {
      +                      "description": "User code/login name",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "code"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Array of selected users for USER_SELECT fields",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "properties": {
      +                    "code": {
      +                      "description": "Organization code",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "code"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Array of selected organizations for ORGANIZATION_SELECT fields",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "properties": {
      +                    "code": {
      +                      "description": "Group code",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "code"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Array of selected groups for GROUP_SELECT fields",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "properties": {
      +                  "code": {
      +                    "description": "User code/login name",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "code"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "User information for CREATOR and MODIFIER fields (registration format with code only)",
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "properties": {
      +                    "id": {
      +                      "description": "Row ID (optional for new rows)",
      +                      "type": "string"
      +                    },
      +                    "value": {
      +                      "additionalProperties": {},
      +                      "description": "Field values within this subtable row",
      +                      "propertyNames": {
      +                        "type": "string"
      +                      },
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "value"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Array of subtable rows for SUBTABLE fields",
      +            "type": [
      +              "array",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Lookup field value for LOOKUP fields (string for SINGLE_LINE_TEXT key, numeric string for NUMBER key)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "value": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Date/time value for CREATED_TIME and UPDATED_TIME fields (ISO 8601 format, only for registration)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "value"
      +        ],
      +        "type": "object"
      +      }
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "value": {
      +        "description": "FILE fields are not supported yet (file upload tool not implemented)",
      +        "not": {}
      +      }
      +    },
      +    "required": [
      +      "value"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / records / items / additionalProperties / type
      Added value: +"object"
    • addedInput schema / properties / records / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv1.9.1
  3. Removedv1.9.0
  4. First observedv1.4.0

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full disclosure burden and does meaningful work: it warns that certain field types cannot be registered (LOOKUP copies, STATUS, CATEGORY, CALC, ASSIGNEE, auto-calculated), which is exactly the kind of trap that causes failed invocations, and it signals batching behavior with 'multiple records'. It omits authorization requirements and partial-failure semantics, but the output schema covers return values.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with zero filler: the core action is front-loaded, the prerequisite workflow is second, and the exclusion warning closes. Every sentence earns its place and no information is repeated from the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a highly complex tool (12+ field-type variants, nested records array), the combination of a 100%-covered schema, an output schema, and a description that flags non-registrable fields is nearly complete. The batch limit (max 100) and FILE-field unsupported status live in the schema. Minor gaps: no explicit guidance on choosing this over kintone-update-records and no authorization context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents every field-type variant in detail (text, number, date/time, selects, user/org/group, subtable, lookup, created/updated time). The description adds complementary value the schema cannot express: the get-form-fields-first discovery workflow and the list of non-registrable field types, which are valid schema types that simply cannot be written.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action — 'Add multiple records to a kintone app' — with a clear verb, resource, and batching scope. It naturally distinguishes from sibling record tools (kintone-get-records, kintone-update-records, kintone-delete-records) via the 'add' verb and 'multiple records' scope, going beyond the title 'Add Records'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly establishes a prerequisite workflow — 'Use kintone-get-form-fields tool first to discover available field codes and their required formats' — and enumerates field types that will fail registration (LOOKUP copies, STATUS, CATEGORY, CALC, ASSIGNEE, auto-calculated fields). It does not explicitly contrast with kintone-update-records or kintone-delete-records, but the creation context makes the intended usage clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.