Skip to main content
Glama

list_devices

Read-onlyIdempotent

List devices registered to your organization with pagination, showing device count, plan limit, and plan name. Use registration_id with revoke_device to free slots.

Instructions

List the devices registered to the caller's organization, paginated, together with the plan's device_limit and plan name. Requires an API-key identity (user-session keys fail with api_key_identity_required). Use a device's registration_id with revoke_device to free a slot. Read-only. Returns devices, device_count, total, page, pages, device_limit, and plan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page number; defaults to 1.
limitNoDevices per page, up to 200; defaults to 25.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.3
    • addedInput schema / properties / limit / description
      Added value: +"Devices per page, up to 200; defaults to 25."
    • addedInput schema / properties / page / description
      Added value: +"1-based page number; defaults to 1."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

The description goes well beyond the annotations by disclosing the auth requirement, the specific failure error (api_key_identity_required), the pagination behavior, and the complete return field set. The readOnly hint in annotations is consistent with the 'Read-only' statement and there is no contradiction.

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?

The description is compact and front-loaded with the core purpose, then adds essential auth and follow-up guidance. The return-field list is justified because there is no output schema. 'Read-only' is somewhat redundant with annotations, but it is a minor single-word repetition that does not detract from overall efficiency.

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

Completeness5/5

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

For a simple paginated list with no output schema, the description supplies everything an agent needs: scope, auth prerequisites, failure behavior, return fields, and a pointer to the related revocation action. Nothing essential is missing.

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 documentation coverage is 100% for both parameters, so the schema already explains page and limit semantics. The description mentions pagination and page-related return fields but does not add new parameter-level meaning beyond the schema, matching the baseline of 3.

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 states a specific verb and resource ('List the devices registered to the caller's organization'), which clearly identifies the tool's function. It also distinguishes this from related device operations like revoke_device by noting the relationship explicitly.

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

Usage Guidelines4/5

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

The description gives clear context for use: listing organization devices with pagination and plan info, and it specifies the auth prerequisite (API-key identity) as well as the failure mode for user-session keys. It does not explicitly state when NOT to use this tool or name alternative listing tools, but the context is strong and it directs the agent to revoke_device for slot cleanup.

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

Deploy Server

Other Tools