Skip to main content
Glama

getNetworkDevices

Retrieve a list of all devices in a Meraki network by providing its network ID.

Instructions

Get network devices

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The MCP tool handler for 'getNetworkDevices'. Registers an async function that takes a networkId parameter and delegates to call_meraki_method('networks', 'getNetworkDevices', networkId=networkId).
    @mcp.tool()
    async def getNetworkDevices(networkId: str) -> str:
        """Get network devices"""
        return await call_meraki_method("networks", "getNetworkDevices", networkId=networkId)
  • Alternative MCP tool handler in the static meraki-mcp.py file. A synchronous function that directly calls dashboard.networks.getNetworkDevices(network_id) and returns JSON.
    @mcp.tool()
    def get_network_devices(network_id: str) -> str:
        """Get a list of devices in a specific network"""
        devices = dashboard.networks.getNetworkDevices(network_id)
        return json.dumps(devices, indent=2)
  • Helper: wraps the synchronous Meraki SDK method dashboard.networks.getNetworkDevices into an async version for use by tool handlers.
    async_get_network_devices = to_async(dashboard.networks.getNetworkDevices)
  • Registration listing in get_mcp_config() that confirms getNetworkDevices is among the 12 pre-registered common tools.
    "pre_registered_tools": ["getOrganizations", "getOrganizationAdmins", "getOrganizationNetworks",
                              "getOrganizationDevices", "getNetwork", "getNetworkClients",
                              "getNetworkEvents", "getNetworkDevices", "getDevice",
                              "getNetworkWirelessSsids", "getDeviceSwitchPorts", "updateDeviceSwitchPort"],
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must disclose behavior such as read-only nature, required permissions, or data scope. It states nothing beyond the basic action, leaving the agent uninformed about side effects or constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

While the description is short, it is not meaningfully concise—it provides no additional information beyond the tool name. Every sentence should add value; here, the single sentence is a waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of annotations and schema descriptions, the description is severely incomplete. Even though an output schema exists, the description does not hint at the return format or fields, making it insufficient for effective tool invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage for parameters, and the description adds nothing about the 'networkId' parameter—no format, source, or validation hints. The parameter's purpose is only implied by the tool's name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get network devices' is a tautology—it merely restates the tool name without specifying what network devices are retrieved (e.g., all devices in a network, filtered, detailed info). It fails to differentiate from sibling tools like 'getDevice' or 'getNetworkClients'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives (e.g., 'getDevice' for a single device, 'getOrganizationDevices' for org-wide). There are no usage prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/CiscoDevNet/meraki-magic-mcp-community'

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