Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

createNotebookEntry

Add experimental procedures, results, or observations to an existing research notebook with HTML or plain text formatting.

Instructions

Adds a new entry to an existing notebook

Usage: Add experimental procedures, results, or observations to a notebook Content: Supports both HTML and plain text formatting Returns: Created entry information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the notebook entry
text_contentYeshtml or plain text content
notebook_idYesThe id of the notebook to add the entry

Implementation Reference

  • main.py:424-438 (handler)
    The handler function that executes the tool logic by creating a new document in the specified notebook folder using the RSpace ELN client.
    def create_notebook_entry( name: Annotated[str, Field(description="The name of the notebook entry")], text_content: Annotated[str, Field(description="html or plain text content ")], notebook_id: Annotated[int, Field(description="The id of the notebook to add the entry")], ) -> Dict[str, any]: """ Adds a new entry to an existing notebook Usage: Add experimental procedures, results, or observations to a notebook Content: Supports both HTML and plain text formatting Returns: Created entry information """ resp = eln_cli.create_document(name, parent_folder_id=notebook_id, fields=[{'content': text_content}]) return resp
  • main.py:423-423 (registration)
    Registers the create_notebook_entry function as the MCP tool named 'createNotebookEntry' with the 'rspace' tag.
    @mcp.tool(tags={"rspace"}, name="createNotebookEntry")

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