Skip to main content
Glama
RMITBLOG

Parallels RAS MCP Server

by RMITBLOG

ras_pub_get_status

Check publishing service health and operational status to verify functionality or diagnose resource availability issues.

Instructions

Get the overall publishing service status and health. Returns whether the publishing agent is operational and any pending changes. Use this to verify publishing is functioning or diagnose why resources are unavailable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Complete implementation of ras_pub_get_status tool - registers the tool with MCP server and provides the handler function that fetches publishing service status from the RAS API endpoint /api/publishing/status
    server.registerTool( "ras_pub_get_status", { title: "Publishing Status", description: "Get the overall publishing service status and health. Returns whether " + "the publishing agent is operational and any pending changes. Use this to " + "verify publishing is functioning or diagnose why resources are unavailable.", annotations: READ_ONLY_ANNOTATIONS, inputSchema: {}, }, async () => { try { const data = await rasClient.get("/api/publishing/status"); return { content: [{ type: "text" as const, text: JSON.stringify(data, null, 2) }] }; } catch (err) { return { content: [{ type: "text" as const, text: sanitiseError(err, "Failed to retrieve publishing status") }], isError: true }; } } );
  • Handler function for ras_pub_get_status - makes an async GET request to /api/publishing/status via rasClient, returns JSON-formatted data, or a sanitized error message if the request fails
    async () => { try { const data = await rasClient.get("/api/publishing/status"); return { content: [{ type: "text" as const, text: JSON.stringify(data, null, 2) }] }; } catch (err) { return { content: [{ type: "text" as const, text: sanitiseError(err, "Failed to retrieve publishing status") }], isError: true }; } }
  • READ_ONLY_ANNOTATIONS constant - provides shared metadata for read-only publishing tools indicating they are non-destructive, idempotent, and read-only operations
    /** Shared annotations for all read-only publishing tools. */ const READ_ONLY_ANNOTATIONS = { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true, } as const;

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/RMITBLOG/ParallelsRAS_MCP'

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