Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

createNewNotebook

Create a new electronic lab notebook to organize related experiments and research entries under a single container for better project management.

Instructions

Creates a new electronic lab notebook

Usage: Organize related experiments/entries under a single notebook Returns: Created notebook information including ID for adding entries

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the notebook to create

Implementation Reference

  • main.py:409-420 (handler)
    The main handler function for the 'createNewNotebook' tool. It takes a notebook name as input and uses the eln_cli to create a new folder marked as a notebook, returning the response.
    @mcp.tool(tags={"rspace"}, name="createNewNotebook") def create_notebook( name: Annotated[str, Field(description="The name of the notebook to create")], ) -> Dict[str, any]: """ Creates a new electronic lab notebook Usage: Organize related experiments/entries under a single notebook Returns: Created notebook information including ID for adding entries """ resp = eln_cli.create_folder(name, notebook=True) return resp
  • main.py:409-409 (registration)
    The MCP tool registration decorator that registers the create_notebook function as the 'createNewNotebook' tool with 'rspace' tag.
    @mcp.tool(tags={"rspace"}, name="createNewNotebook")
  • Input schema definition using Pydantic Annotated and Field for the 'name' parameter.
    name: Annotated[str, Field(description="The name of the notebook to create")],

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/rspace-os/rspace-mcp'

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