create_dataset

创建新的数据集。需要先定义数据集的名称、时间范围和数据列配置。在创建列配置的时候一定要特别的注意参数,比如有些电力披露数据需要通过参数来指定省份,这个时候要按照示例中的格式传入 列配置说明: - meta_name: 列定义名称(必需),必须是已存在的列名称。可使用 list_data_columns 工具查看所有可用的列。 - alias: 列别名(可选),如果不提供则使用 meta_name 作为别名。 - params: 列参数(可选),是一个键值对对象,用于传递该列所需的参数。 示例1: 简单的单列配置 {"meta_name": "当前系统负荷值", "alias": "loa...

Server Xmo Data xmo-data-mcp-server
Category Write
Risk class Medium
Parameters 44 required

What create_dataset does on Xmo Data

AI agents use create_dataset to create or update resources in Xmo Data — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Xmo Data environment.

ParameterTypeRequiredDescription
end string Yes 结束时间(必需)。格式: "YYYY-MM-DD HH:MM:SS" 或 "YYYY-MM-DD"
name string Yes 数据集名称(必需),长度3-200个字符
start string Yes 开始时间(必需)。格式: "YYYY-MM-DD HH:MM:SS" 或 "YYYY-MM-DD"
columns array Yes 数据集列配置数组(必需)

Parameters from the server's own tool schema.

Why create_dataset needs a policy

This tool creates and persists new datasets in the system. It modifies state by adding new data resources, making it a Write operation. Severity is medium rather than high because dataset creation is typically reversible (can be deleted via the sibling delete_dataset tool), and the blast radius is limited to data organization rather than direct data corruption or destruction.

From the tool's definition Tool description states '创建新的数据集' (create new dataset), which creates data. The sibling tools include 'delete_dataset' and 'download_dataset', confirming this is part of a data management API where create_dataset adds new records/datasets to the system.

Questions about create_dataset

What does the create_dataset tool do? +

创建新的数据集。需要先定义数据集的名称、时间范围和数据列配置。在创建列配置的时候一定要特别的注意参数,比如有些电力披露数据需要通过参数来指定省份,这个时候要按照示例中的格式传入 列配置说明: - meta_name: 列定义名称(必需),必须是已存在的列名称。可使用 list_data_columns 工具查看所有可用的列。 - alias: 列别名(可选),如果不提供则使用 meta_name 作为别名。 - params: 列参数(可选),是一个键值对对象,用于传递该列所需的参数。 示例1: 简单的单列配置 {"meta_name": "当前系统负荷值", "alias": "load"} 示例2: 单列配置(带省份参数) {"meta_name": "系统负荷预测值", "alias": "load", "params": {"province": "山东省"}} 示例3: 多列配置 [ {"meta_name": "系统负荷预测值", "params": {"province": "山东省"}}, {"meta_name": "竞价空间预测值", "params": {"province": "山东省"}}, {"meta_name": "实时出清电价", "params": {"province": "山东省"}} ] 注意:params 必须是一个对象(字典),不要传入数组格式。 📅 时间格式说明: 1. 日期格式 "YYYY-MM-DD"(前包含后包含): - 示例:start="2025-01-01", end="2025-01-02" - 结果:创建包含 1月1日 和 1月2日 完整数据的数据集 - 实际时间范围:2025-01-01 00:00:00 ~ 2025-01-03 00:00:00(自动转换) 2. 时间格式 "YYYY-MM-DD HH:MM:SS"(前开后闭): - 示例:start="2025-01-01 00:00:00", end="2025-01-02 00:00:00" - 结果:数据范围从 2025-01-01 00:15:00 到 2025-01-02 00:00:00(假设间隔15分钟) - 说明:不包含起始时间点,包含结束时间点. It is categorised as a Write tool in the Xmo Data MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does create_dataset accept? +

create_dataset accepts 4 parameters: end, name, start, columns. Required: end, name, start, columns. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on create_dataset? +

Register the Xmo Data MCP server in PolicyLayer and add a rule for create_dataset: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Xmo Data. Nothing to install.

What risk level is create_dataset? +

create_dataset is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit create_dataset? +

Yes. Add a rate_limit block to the create_dataset rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block create_dataset completely? +

Set action: deny in the PolicyLayer policy for create_dataset. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides create_dataset? +

create_dataset is provided by the Xmo Data MCP server (xmo-data-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// THE FULL RECORD

create_dataset is one line of Xmo Data's registry record.

The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.