@arizeai/phoenix-mcp

Official

add-dataset-examples

Enhance datasets by adding new examples with inputs, outputs, and metadata. Use to augment datasets, cover edge cases, and ensure data diversity while avoiding duplicates.

Instructions

Add examples to an existing dataset.

This tool adds one or more examples to an existing dataset. Each example includes an input, output, and metadata. The metadata will automatically include information indicating that these examples were synthetically generated via MCP. When calling this tool, check existing examples using the "get-dataset-examples" tool to ensure that you are not adding duplicate examples and following existing patterns for how data should be structured.

Example usage: Look at the analyze "my-dataset" and augment them with new examples to cover relevant edge cases

Expected return: Confirmation of successful addition of examples to the dataset. Example: { "dataset_name": "my-dataset", "message": "Successfully added examples to dataset" }

Input Schema

NameRequiredDescriptionDefault
datasetNameYes
examplesYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "datasetName": { "type": "string" }, "examples": { "items": { "additionalProperties": false, "properties": { "input": { "additionalProperties": {}, "type": "object" }, "metadata": { "additionalProperties": {}, "type": "object" }, "output": { "additionalProperties": {}, "type": "object" } }, "required": [ "input", "output" ], "type": "object" }, "type": "array" } }, "required": [ "datasetName", "examples" ], "type": "object" }
ID: ee9d3exkn8