Skip to main content
Glama
dhippley

Azure Topology Graph MCP Server

by dhippley

refresh_topology

Update Azure infrastructure topology maps by re-querying Azure Resource Graph, ARM, and Network Watcher APIs to reflect current resource states and relationships.

Instructions

Refresh the topology cache by re-querying Azure

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the refresh_topology tool. Invalidates the cache and rebuilds the topology graph from Azure resources, returning a success message with node and edge counts.
    case 'refresh_topology': {
      topologyCache = null;
      cacheTimestamp = 0;
      const topology = await buildTopology();
      
      return {
        content: [
          {
            type: 'text',
            text: `Topology refreshed successfully.\n\n` +
              `Resources: ${topology.nodes.length}\n` +
              `Connections: ${topology.edges.length}`,
          },
        ],
      };
    }
  • src/server.ts:418-425 (registration)
    Tool registration in the ListToolsRequestHandler, defining the tool's name, description, and input schema (no parameters required).
    {
      name: 'refresh_topology',
      description: 'Refresh the topology cache by re-querying Azure',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • Input schema definition for the refresh_topology tool, specifying an empty object (no input parameters).
    inputSchema: {
      type: 'object',
      properties: {},
    },

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/dhippley/azure_mcp_graph'

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