Skip to main content
Glama

RSpace MCP Server

Official
by rspace-os

search_documents

Search across RSpace documents using text, tags, dates, or multiple criteria to find specific research content and data efficiently.

Instructions

Generic search tool for RSpace documents with flexible search options

Usage: Search across all your RSpace documents using various criteria

Parameters:

  • query: The search term(s) to look for

  • search_type: "simple" for basic search, "advanced" for multi-criteria search

  • query_types: List of search types to use (for advanced search):

    • "global": Search across all document content and metadata

    • "fullText": Search within document text content

    • "tag": Search by document tags

    • "name": Search by document names/titles

    • "created": Search by creation date (use ISO format like "2024-01-01")

    • "lastModified": Search by modification date

    • "form": Search by form type

    • "attachment": Search by attachments

  • operator: "and" (all criteria must match) or "or" (any criteria can match)

  • order_by: Sort results by field (e.g., "lastModified desc", "name asc")

  • page_number: Page number for pagination (0-based)

  • page_size: Number of results per page (max 200)

  • include_content: Whether to fetch full document content (slower but more complete)

Returns: Dictionary with search results and metadata

Examples:

  • Simple text search: search_documents("PCR protocol")

  • Search by tags: search_documents("experiment", search_type="advanced", query_types=["tag"])

  • Multi-criteria search: search_documents("DNA", search_type="advanced", query_types=["fullText", "tag"], operator="or")

Input Schema

NameRequiredDescriptionDefault
include_contentNo
operatorNoand
order_byNolastModified desc
page_numberNo
page_sizeNo
queryYes
query_typesNo
search_typeNosimple

Input Schema (JSON Schema)

{ "properties": { "include_content": { "default": false, "title": "Include Content", "type": "boolean" }, "operator": { "default": "and", "enum": [ "and", "or" ], "title": "Operator", "type": "string" }, "order_by": { "default": "lastModified desc", "title": "Order By", "type": "string" }, "page_number": { "default": 0, "title": "Page Number", "type": "integer" }, "page_size": { "default": 20, "title": "Page Size", "type": "integer" }, "query": { "title": "Query", "type": "string" }, "query_types": { "default": null, "items": { "enum": [ "global", "fullText", "tag", "name", "created", "lastModified", "form", "attachment" ], "type": "string" }, "title": "Query Types", "type": "array" }, "search_type": { "default": "simple", "enum": [ "simple", "advanced" ], "title": "Search Type", "type": "string" } }, "required": [ "query" ], "type": "object" }

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