Skip to main content
Glama

get_services

Retrieve available Roblox services and their children for better integration and interaction with Roblox Studio projects using the MCP server.

Instructions

Get available Roblox services and their children

Input Schema

NameRequiredDescriptionDefault
serviceNameNoOptional specific service name to query

Input Schema (JSON Schema)

{ "properties": { "serviceName": { "description": "Optional specific service name to query", "type": "string" } }, "type": "object" }

Implementation Reference

  • Core handler function that executes the get_services tool by requesting '/api/services' from StudioHttpClient and returning formatted JSON response.
    async getServices(serviceName?: string) { const response = await this.client.request('/api/services', { serviceName }); return { content: [ { type: 'text', text: JSON.stringify(response, null, 2) } ] }; }
  • Input schema definition for the get_services tool, specifying optional serviceName parameter.
    name: 'get_services', description: 'Get available Roblox services and their children', inputSchema: { type: 'object', properties: { serviceName: { type: 'string', description: 'Optional specific service name to query' } } }
  • src/index.ts:656-657 (registration)
    MCP server request handler registration: dispatches get_services calls to the tools.getServices method.
    case 'get_services': return await this.tools.getServices((args as any)?.serviceName);
  • HTTP endpoint registration for /mcp/get_services, proxying requests to tools.getServices for Studio plugin compatibility.
    app.post('/mcp/get_services', async (req, res) => { try { const result = await tools.getServices(req.body.serviceName); res.json(result); } catch (error) { res.status(500).json({ error: error instanceof Error ? error.message : 'Unknown error' }); } });

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/boshyxd/robloxstudio-mcp'

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