Skip to main content
Glama

List devices

mesh_list_devices
Read-only

List MeshCentral devices with ID, name, group, online state, OS, and logged-in user; apply optional group, online-only, or MeshCentral filter criteria.

Instructions

List devices with id, name, group, online state (agent connected), OS and logged-in user. Optional MeshCentral filter such as 'omen', 'g:PCs', 'os:windows', 'tag:prod'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mesh_list_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupNoDevice group name
filterNoMeshCentral filter string
online_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

readOnlyHint=true already declares the safe read profile, so the bar is lower. The description adds useful context by naming the returned fields and clarifying that 'online' means agent connected, but it says nothing about result limits, ordering, or pagination behavior for potentially large device lists.

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

Conciseness5/5

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

Two sentences, zero filler, with the returned fields front-loaded before the optional filter detail. Nothing is redundant or buried.

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

Completeness4/5

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

With no output schema, describing the returned attributes is the right compensation and is done well for a three-parameter, all-optional listing tool. The only meaningful omission is any note on result size or ordering.

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

Parameters4/5

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

Schema coverage is 67% and the filter parameter is documented only as 'MeshCentral filter string', so the description's concrete filter examples ('g:PCs', 'os:windows', 'tag:prod') add genuine meaning the schema lacks. The group and online_only parameters get no extra explanation, keeping it short of a 5.

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

Purpose4/5

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

States a specific verb and resource ('List devices') and enumerates the returned fields (id, name, group, online state, OS, logged-in user), so the scope is concrete. It does not explicitly distinguish itself from siblings like mesh_device_info or mesh_list_device_groups, leaving that separation to inference.

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

Usage Guidelines3/5

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

The filter syntax examples ('omen', 'g:PCs', 'os:windows', 'tag:prod') imply how to narrow a listing, which is real usage guidance. However there is no explicit when-to-use versus mesh_device_info or mesh_list_device_groups, and no statement about when-not to use it.

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