datasets_update
Modify a dataset's name, description, tags, and visibility settings to keep data organized and access controlled.
Instructions
Update dataset metadata — name, description, tags, visibility.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Dataset UUID |
Implementation Reference
- src/index.js:53-53 (registration)The tool 'datasets_update' is registered in the static tool catalog (STATIC_TOOLS array) with its name, description, and input schema. Its actual handler is not implemented locally; calls are proxied to the remote MCP server via remoteClient.callTool().
{ name: "datasets_update", description: "Update dataset metadata — name, description, tags, visibility.", inputSchema: { type: "object", properties: { uuid: { type: "string", description: "Dataset UUID" } }, required: ["uuid"] } }, - src/index.js:53-53 (schema)The input schema for datasets_update requires only a 'uuid' (Dataset UUID) string. Additional metadata fields like name, description, tags, visibility are described in the tool description but not defined in the inputSchema — they may be handled server-side by the remote API.
{ name: "datasets_update", description: "Update dataset metadata — name, description, tags, visibility.", inputSchema: { type: "object", properties: { uuid: { type: "string", description: "Dataset UUID" } }, required: ["uuid"] } }, - src/index.js:121-146 (handler)All tool calls (including datasets_update) are handled by a single generic CallToolRequestSchema handler that proxies requests to the remote MCP server. There is no local-specific logic for datasets_update; the actual implementation lives on the remote server.
server.setRequestHandler(CallToolRequestSchema, async (request) => { if (!remoteClient) { return { content: [ { type: "text", text: "MCP Analytics API key required. Set MCP_ANALYTICS_API_KEY in your environment.\nGet a free key at https://app.mcpanalytics.ai", }, ], isError: true, }; } try { const result = await remoteClient.callTool({ name: request.params.name, arguments: request.params.arguments || {}, }); return result; } catch (err) { return { content: [{ type: "text", text: `Error: ${err.message}` }], isError: true, }; } });