Skip to main content
Glama
code-alchemist01

MCP Cloud Services Server

get_resource

Retrieve detailed information about cloud resources across AWS, Azure, and GCP by specifying provider, resource ID, and type.

Instructions

Get detailed information about a specific resource

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
providerYesCloud provider
resourceIdYesResource ID
resourceTypeYesResource type

Implementation Reference

  • Handler implementation for the 'get_resource' tool. Extracts resourceId from parameters and returns a placeholder detailed resource information object.
    case 'get_resource': { const resourceId = params.resourceId as string; // Implementation would fetch detailed resource info return { id: resourceId, provider, message: 'Detailed resource information retrieval not yet fully implemented', }; }
  • Input schema definition for the 'get_resource' tool, specifying required parameters: provider, resourceId, and resourceType.
    { name: 'get_resource', description: 'Get detailed information about a specific resource', inputSchema: { type: 'object', properties: { provider: { type: 'string', enum: ['aws', 'azure', 'gcp'], description: 'Cloud provider', }, resourceId: { type: 'string', description: 'Resource ID', }, resourceType: { type: 'string', enum: ['instance', 'storage', 'database', 'function'], description: 'Resource type', }, }, required: ['provider', 'resourceId', 'resourceType'], }, },
  • src/server.ts:19-27 (registration)
    Registration of resourceManagementTools (including 'get_resource') into the central allTools array, which is served via ListToolsRequest.
    const allTools = [ ...awsTools, ...azureTools, ...gcpTools, ...resourceManagementTools, ...costAnalysisTools, ...monitoringTools, ...securityTools, ];
  • src/server.ts:70-71 (registration)
    Dispatch/registration logic in MCP server that routes calls to 'get_resource' (and other resourceManagementTools) to the handleResourceManagementTool function.
    } else if (resourceManagementTools.some((t) => t.name === name)) { result = await handleResourceManagementTool(name, args || {});

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/code-alchemist01/Cloud-mcp_server'

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