Skip to main content
Glama

Read devices

AccountDevicesReadTool
Read-onlyIdempotent

The account's devices: list them, read one, and read its logs, an upcoming check-in forecast, its playlist coverage or its timeline (what it showed today and what it will show next).

  • listDevices: List my devices

  • getDevice: Get the data of a device — params: id (path)

  • getDeviceLogs: Read the logs of a device — params: device_id (path), level (query), source (query), limit (query), before_ts (query), before_event_id (query)

  • getDeviceForecast: Simulate a device's coming check-ins, deciding each one the way a real check-in would — params: device_id (path), hours (query)

  • getDevicePlaylistCoverage: Times of the week a device's playlist shows nothing scheduled — params: device_id (path)

  • getDeviceTimeline: Read a device timeline — params: device_id (path), date (query), source (query), hours (query)

Input Schema

NameRequiredDescriptionDefault
actionYesThe API operation to run
paramsNoThe operation's path, query and body parameters by name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real semantic context beyond that: getDeviceForecast 'simulates' check-ins deciding each the way a real one would (i.e., it is a simulation, not real check-ins), and playlist coverage is 'times of the week a playlist shows nothing scheduled'. No auth, rate-limit, or pagination notes are given.

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?

One front-loaded summary sentence followed by a scannable per-action list; every line carries distinct information and nothing is restated. Appropriate length for a six-operation multiplexed tool.

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?

All six actions, their purposes, and their parameters are covered, which is the main gap such tools have; no output schema exists so return-value detail is not required. Minor omissions remain around pagination/limits (e.g., limit semantics) and when to prefer one action over another.

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?

The top-level schema only exposes an opaque 'action' enum plus a generic 'params' object, so the description's mapping of each action to its named path/query parameters (id, device_id, level, source, limit, before_ts, before_event_id, hours, date) supplies meaning the schema does not. It does not explain parameter formats, defaults, or valid ranges.

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?

The opening sentence names the specific resource (the account's devices) and enumerates the six concrete operations, so an agent knows exactly what the tool can do. It does not explicitly distinguish itself from AccountDevicesWriteTool, which is left to the Read/Write naming convention rather than stated in the text.

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 per-action breakdown effectively routes the agent to the right sub-operation (list vs. single device vs. logs vs. forecast vs. coverage vs. timeline). There are no exclusions or explicit comparisons against sibling read tools, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources