Skip to main content
Glama

get_device_logs

Fetch a device's recent log entries—watering starts/stops, errors, battery and connectivity events—newest first for diagnostics and activity monitoring.

Instructions

Get the device's recent log entries (watering starts/stops, errors, battery and connectivity events), newest first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
device_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden itself; it does disclose useful behavior beyond the schema by stating ordering ('newest first') and the categories of entries returned. It stops short of stating that the call is a non-mutating read, what 'recent' is bounded by, or whether results are capped by the limit parameter.

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?

A single front-loaded sentence with the resource and verb first, the content taxonomy in a compact parenthetical, and the ordering constraint last. No filler.

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

Completeness3/5

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

With no annotations, no output schema, and 0% parameter coverage, the description covers the return content and ordering but leaves the limit parameter and the read-only nature unstated. Adequate for a simple two-parameter getter, but not fully self-sufficient.

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

Parameters2/5

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

Schema description coverage is 0%, so both parameters rely entirely on their names. The description mentions 'recent' but never explains the limit parameter, its default of 20, or whether it caps the number of log entries returned; device_id is at least inferable from 'the device's'.

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 ('Get the device's recent log entries') and enumerates the entry types covered (watering, errors, battery, connectivity), which lets an agent distinguish it from the battery-only sibling get_device_battery_history. It does not, however, distinguish it from the closer siblings list_events or get_device_status.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance and never names an alternative, even though list_events, get_device_status, and get_device_battery_history overlap in scope. The agent must infer from the parenthetical content list alone whether this or list_events is the right call.

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