Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

rename_inventory_item

Change the name of inventory items in RSpace, including samples, containers, and templates, to update item information with a new identifier.

Instructions

Changes the name of any inventory item

Usage: Rename samples, subsamples, containers, or templates Universal: Works with any inventory item type Returns: Updated item information with new name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_idYes
new_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'rename_inventory_item' tool. It is decorated with @mcp.tool for automatic registration and delegates the renaming to inv_cli.rename.
    @mcp.tool(tags={"rspace", "inventory", "utility"})
    def rename_inventory_item(item_id: Union[int, str], new_name: str) -> dict:
        """
        Changes the name of any inventory item
        
        Usage: Rename samples, subsamples, containers, or templates
        Universal: Works with any inventory item type
        Returns: Updated item information with new name
        """
        return inv_cli.rename(item_id, new_name)
  • main.py:1119-1119 (registration)
    The @mcp.tool decorator registers the rename_inventory_item function as an MCP tool with tags for categorization.
    @mcp.tool(tags={"rspace", "inventory", "utility"})
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool 'Changes the name' and 'Returns: Updated item information', which implies a mutation operation with a response, but lacks details on permissions, side effects, error conditions, or whether the change is reversible. For a mutation tool, this is insufficient behavioral 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 efficiently structured with three bullet-like statements, each adding distinct value: the core action, usage scope, and return information. There is no wasted text, and key information is front-loaded.

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

Completeness3/5

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

Given a mutation tool with no annotations, 0% schema coverage, but an output schema exists, the description is moderately complete. It covers purpose and scope well, but lacks behavioral details like permissions or side effects. The output schema reduces the need to describe return values, but more context on the mutation's impact would improve completeness.

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?

Schema description coverage is 0%, so the description must compensate. It implies 'item_id' identifies the target and 'new_name' is the updated name, but doesn't explain ID formats, name constraints, or validation rules. The description adds minimal semantic value beyond what the parameter names suggest, meeting the baseline for low coverage.

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

Purpose5/5

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

The description clearly states the specific action ('Changes the name') and resource ('any inventory item'), distinguishing it from siblings like 'renameDocumentOrNotebookEntry' which handles different resource types. It explicitly lists the applicable item types (samples, subsamples, containers, templates), making the scope unambiguous.

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 context for when to use this tool ('Rename samples, subsamples, containers, or templates'), but does not explicitly state when not to use it or name alternatives. For example, it doesn't contrast with 'renameDocumentOrNotebookEntry' for non-inventory items, though the 'Universal' statement implies broad applicability within inventory.

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