Skip to main content
Glama

List devices

listDevices
Read-onlyIdempotent

Retrieve a list of devices from the Level API. Use filters for hostname, tag, or group, and include detailed hardware or security information.

Instructions

List devices. Returns a list of your devices. Level API endpoint: GET /v2/devices

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoA limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
tag_idNoFilter to only include devices that have the specified tag.
group_idNoFilter to only include devices with the given parent group id. If not provided, all devices are returned. If 'null' is provided, only devices without a parent group are returned.
hostnameNoFilter to only include devices with the specified hostname.
include_cpusNoInclude detailed CPU information in the response.
ending_beforeNoA cursor for use in pagination. ending_before is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with ID '1234', your subsequent call can include 'ending_before=1234' in order to fetch the previous page of the list.
include_disksNoInclude detailed disk and disk partitioninformation in the response.
serial_numberNoFilter to only include devices with the specified serial number.
include_memoryNoInclude detailed memory information in the response.
starting_afterNoA cursor for use in pagination. starting_after is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with ID '1234', your subsequent call can include 'starting_after=1234' in order to fetch the next page of the list.
include_securityNoInclude detailed security information in the response.
ancestor_group_idNoFilter to only include devices with the given group id as an ancestor.
include_motherboardNoInclude motherboard information in the response.
include_operating_systemNoInclude detailed operating system information in the response.
include_network_interfacesNoInclude detailed network interface information in the response.
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is established. The description adds the endpoint 'GET /v2/devices,' confirming a read operation, but does not disclose additional behavioral traits such as pagination behavior, response structure, or any access requirements. It neither contradicts nor significantly enriches the annotations.

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

Conciseness4/5

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

The description is very concise, consisting of two short sentences and an endpoint reference. 'List devices' and 'Returns a list of your devices' are slightly redundant, but the overall structure is efficient and front-loaded. It earns a high score for minimal waste, though the redundancy prevents a perfect 5.

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?

Despite having no output schema and 15 parameters, the description covers the basic purpose and return value ('Returns a list of your devices'). The schema handles parameter documentation comprehensively. However, it omits context like pagination behavior or filtering scope, which are inferable from the schema but not explicitly stated, leaving room for improvement.

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

Parameters3/5

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

Schema description coverage is 100%, so the input schema fully documents all 15 parameters and their meanings. The description adds no parameter-specific information beyond what the schema provides, making the baseline score of 3 appropriate.

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

Purpose5/5

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

The description clearly states the tool's function with a specific verb and resource: 'List devices' and 'Returns a list of your devices.' It distinguishes from sibling tools like showDevice (single device) and deleteDevice, establishing its role as the comprehensive listing operation.

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 description implies usage by stating 'List devices,' which clearly signals when to use it (to fetch a list), but it does not explicitly mention alternatives or exclusionary conditions. No guidance is provided on when to prefer listDevices over showDevice or other list tools, relying instead on the tool name and context.

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/pbozzay/level-mcp'

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