Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

tagDocumentOrNotebookEntry

Add tags to RSpace documents or notebook entries to organize research data and improve searchability by categorizing content with consistent labels.

Instructions

Adds tags to documents for organization and searchability

Usage: Categorize documents by project, experiment type, etc. Tags: Use consistent naming for better organization Returns: Updated document with new tags

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
tagsYesOne or more tags in a list

Implementation Reference

  • main.py:443-457 (handler)
    The core handler function for the 'tagDocumentOrNotebookEntry' tool. It uses the RSpace ELN client to update a document or notebook entry with the provided tags. The @mcp.tool decorator registers it with the exact name.
    @mcp.tool(tags={"rspace"}, name="tagDocumentOrNotebookEntry") def tag_document( doc_id: int | str, tags: Annotated[List[str], Field(description="One or more tags in a list")] ) -> Dict[str, any]: """ Adds tags to documents for organization and searchability Usage: Categorize documents by project, experiment type, etc. Tags: Use consistent naming for better organization Returns: Updated document with new tags """ resp = eln_cli.update_document(document_id=doc_id, tags=tags) return resp

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