Skip to main content
Glama
novitalabs

Novita MCP Server

Official
by novitalabs

update-network-storage

Modify network storage capacity and rename storage volumes on the Novita AI platform to accommodate growing data needs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
storageIdYesThe unique ID of the network storage to update. Please ensure it exists before updating.
storageNameNoNew name for the network storage. This is optional, if not provided, the name will not be changed. Use only letters, numbers, and hyphens
storageSizeYesNew size in GB (must be larger than current size). You can use the `list-network-storage` tool to get the current size if you don't know it.

Implementation Reference

  • Handler function for the 'update-network-storage' tool. It sends a POST request to the /networkstorage/update endpoint with the provided parameters and returns the JSON response as text content.
    }, async (params) => { const result = await novitaRequest(`/networkstorage/update`, "POST", params); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; });
  • Input schema using Zod for validating parameters: storageId (required string), storageName (optional string), storageSize (required number >=10).
    storageId: z .string() .nonempty() .describe("The unique ID of the network storage to update. Please ensure it exists before updating."), storageName: z .string() .optional() .describe("New name for the network storage. This is optional, if not provided, the name will not be changed. Use only letters, numbers, and hyphens"), storageSize: z .number() .min(10) .describe("New size in GB (must be larger than current size). You can use the `list-network-storage` tool to get the current size if you don't know it."),
  • src/tools.ts:574-597 (registration)
    Registration of the 'update-network-storage' tool on the MCP server, including input schema and handler.
    server.tool("update-network-storage", { storageId: z .string() .nonempty() .describe("The unique ID of the network storage to update. Please ensure it exists before updating."), storageName: z .string() .optional() .describe("New name for the network storage. This is optional, if not provided, the name will not be changed. Use only letters, numbers, and hyphens"), storageSize: z .number() .min(10) .describe("New size in GB (must be larger than current size). You can use the `list-network-storage` tool to get the current size if you don't know it."), }, async (params) => { const result = await novitaRequest(`/networkstorage/update`, "POST", params); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; });

Latest Blog Posts

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/novitalabs/novita-mcp-server'

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