Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

get_forms

Browse available custom form templates to create structured documents in RSpace. Filter forms by name or description and access paginated metadata for document creation.

Instructions

Lists available custom forms for structured document creation

Usage: Browse available templates before creating structured documents Filtering: Use query parameter to search form names/descriptions Returns: Paginated list of form metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo
order_byNolastModified desc
page_numberNo
page_sizeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:477-486 (handler)
    The primary handler for the 'get_forms' tool. This function is decorated with @mcp.tool which both defines the tool schema via type hints/docstring and registers it with the MCP server. It proxies the call to the underlying ELN client (eln_cli.get_forms).
    @mcp.tool(tags={"rspace"})
    def get_forms(query: str = None, order_by: str = "lastModified desc", page_number: int = 0, page_size: int = 20) -> dict:
        """
        Lists available custom forms for structured document creation
        
        Usage: Browse available templates before creating structured documents
        Filtering: Use query parameter to search form names/descriptions
        Returns: Paginated list of form metadata
        """
        return eln_cli.get_forms(query=query, order_by=order_by, page_number=page_number, page_size=page_size)
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It discloses key behavioral traits: the tool returns a 'Paginated list of form metadata,' which is crucial for understanding output structure and handling large datasets. However, it lacks details on permissions, rate limits, error conditions, or whether it's read-only (implied by 'Lists' but not explicit). The description adds value but misses some operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded, with the core purpose stated first, followed by usage, filtering, and returns in bullet-like sections. Every sentence earns its place by providing distinct, non-redundant information without fluff. The structure is efficient and easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (listing with filtering/pagination), no annotations, and an output schema (which handles return values), the description is fairly complete. It covers purpose, usage, filtering, and pagination, addressing key aspects. However, it lacks details on authentication, error handling, or sibling tool differentiation, leaving minor gaps in context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 4 parameters with 0% description coverage, so the description must compensate. It adds meaning for 'query' ('Filtering: Use query parameter to search form names/descriptions'), explaining its purpose beyond the schema. However, it doesn't cover 'order_by,' 'page_number,' or 'page_size,' leaving three parameters undocumented. This partial compensation results in a baseline score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with 'Lists available custom forms for structured document creation,' specifying the verb (lists), resource (custom forms), and context (structured document creation). It distinguishes from siblings like 'get_form' (singular) and 'create_form' by focusing on listing rather than retrieving or creating. However, it doesn't explicitly contrast with other listing tools like 'list_containers' or 'list_samples,' preventing a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear usage context with 'Browse available templates before creating structured documents,' indicating when to use this tool (for browsing templates). It implies an alternative ('create_document_from_form') by referencing document creation, but doesn't explicitly state when not to use it or name all relevant alternatives like 'get_form' for single-form retrieval. This is helpful but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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