Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

renameDocumentOrNotebookEntry

Update document or notebook entry titles to improve organization and clarity in RSpace research data.

Instructions

Changes the name/title of a document or notebook entry

Usage: Update document titles for better organization Returns: Updated document information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
nameYes

Implementation Reference

  • main.py:459-471 (handler)
    The core handler function for the 'renameDocumentOrNotebookEntry' tool. It is registered via the @mcp.tool decorator specifying the exact tool name. The function takes a document ID (int or str) and new name, then calls the RSpace ELN client's update_document method to perform the rename operation, returning the updated document information.
    @mcp.tool(tags={"rspace"}, name="renameDocumentOrNotebookEntry") def rename_document( doc_id: int | str, name: str ) -> Dict[str, any]: """ Changes the name/title of a document or notebook entry Usage: Update document titles for better organization Returns: Updated document information """ resp = eln_cli.update_document(document_id=doc_id, name=name) return resp
  • main.py:459-459 (registration)
    The @mcp.tool decorator registers the rename_document function as the MCP tool named 'renameDocumentOrNotebookEntry' with 'rspace' tag.
    @mcp.tool(tags={"rspace"}, name="renameDocumentOrNotebookEntry")

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