Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

get_form

Retrieve detailed information about specific form templates to examine their structure, field specifications, and layout before creating documents or new forms.

Instructions

Retrieves detailed information about a specific form template

Usage: Examine form structure before creating documents or new forms Returns: Complete form definition including field specifications

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
form_idYes

Implementation Reference

  • main.py:489-498 (handler)
    The main handler function for the 'get_form' MCP tool. It is decorated with @mcp.tool which registers it automatically as a tool named 'get_form'. The function retrieves a specific form template by ID using the eln_cli client.
    @mcp.tool(tags={"rspace"}) def get_form(form_id: int | str) -> dict: """ Retrieves detailed information about a specific form template Usage: Examine form structure before creating documents or new forms Returns: Complete form definition including field specifications """ return eln_cli.get_form(form_id)
  • main.py:489-489 (registration)
    The @mcp.tool decorator registers the get_form function as an MCP tool with tag 'rspace'. FastMCP automatically uses the function name as the tool name.
    @mcp.tool(tags={"rspace"})
  • Input schema defined by type hints: form_id as int or str. Output: dict. Docstring provides description for MCP tool schema generation.
    def get_form(form_id: int | str) -> dict: """ Retrieves detailed information about a specific form template Usage: Examine form structure before creating documents or new forms Returns: Complete form definition including field specifications """

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