Skip to main content
Glama

get_upload_record_v1

Check the status of a V1 map upload to GS cleaning robots using the upload record ID. Returns current upload status information for monitoring progress.

Instructions

Checks the status of a V1 map upload.

Args: record_id: The upload record ID. Returns: A dictionary containing the upload status information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
record_idYes

Implementation Reference

  • MCP tool handler function decorated with @mcp.tool(), which delegates to the underlying mcp instance method.
    async def get_upload_record_v1(record_id: str): """Checks the status of a V1 map upload. Args: record_id: The upload record ID. Returns: A dictionary containing the upload status information. """ return await mcp.get_upload_record_v1(record_id=record_id)
  • Core implementation of get_upload_record_v1 in GausiumMCP class, performs the actual API call to check upload status.
    async def get_upload_record_v1(self, record_id: str) -> Dict[str, Any]: """ V1地图上传状态检查。 Args: record_id: 上传记录ID Returns: 上传状态信息 Raises: ValueError: record_id为空 httpx.HTTPStatusError: API调用错误 httpx.RequestError: 网络问题 """ if not record_id: raise ValueError("Record ID cannot be empty") async with GausiumAPIClient() as client: return await client.call_endpoint( 'get_upload_record_v1', path_params={'record_id': record_id} )
  • API endpoint schema/definition for get_upload_record_v1 used by the GausiumAPIClient.
    'get_upload_record_v1': APIEndpoint( name="get_upload_record_v1", path="map/upload/{record_id}", method=HTTPMethod.GET, version=APIVersion.OPENAPI_V1, description="V1地图上传状态检查" ),
  • Registration of the MCP tool via @mcp.tool() decorator.
    async def get_upload_record_v1(record_id: str): """Checks the status of a V1 map upload. Args: record_id: The upload record ID. Returns: A dictionary containing the upload status information. """ return await mcp.get_upload_record_v1(record_id=record_id)

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/cfrs2005/mcp-gs-robot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server