Skip to main content
Glama

Get device

get_device
Read-onlyIdempotent

Get full details for a single device (asset) in the authenticated company by its path name, including policy assignment, custom data, tags, hardware specifications and last known location. Its "lastSync" is the portal's "Last sync" (last contact); "syncedAt" is only the last status report. managedDevice.policyVersion is the current version of the device's policy, the number the portal and policy reads show; whether the device applied it is diagnose's (area policy_sync) to say. Returns a tool error if no device with that id exists in this company.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "assetId": "<assetId>"
    },
    "name": "get_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetIdYesThe asset's path name - the unique identifier returned by search_devices/get_device as "pathName".
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description adds genuinely useful behavior beyond them: a tool error is returned when no device with that id exists in this company, and it disambiguates confusable fields (lastSync vs syncedAt, managedDevice.policyVersion scope). It does not discuss permissions or the response shape beyond field notes.

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?

Purpose and scope are front-loaded in the first sentence, followed by targeted field disambiguation and the error condition. It is dense but nearly every clause carries information; the lastSync/syncedAt and policyVersion sentences are longer than strictly needed but resolve real ambiguity.

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?

With no output schema, the description must carry return-value meaning, and it does: it lists the detail categories returned and clarifies the two ambiguous timestamp fields and the policy version field. Combined with the documented not-found error behavior and the sibling hand-off for applied-status, an agent has enough to call and interpret this correctly.

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 both assetId (path name, sourced from search_devices/get_device) and the optional company override are already documented. The description reinforces 'by its path name' but adds no new syntax, format, or fallback detail for either parameter, so baseline 3 applies.

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?

States a specific verb and resource ('Get full details for a single device (asset)') plus the lookup key ('by its path name') and enumerates the returned content areas. It is clearly distinguished from the list-oriented sibling search_devices by the 'single device' scoping.

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?

Usage context is clear: fetch one device when you have its path name, and the schema ties that key to search_devices/get_device output. It also explicitly routes the 'did the device apply its policy' question to diagnose (area policy_sync), which is real when-not-to-use guidance. It stops short of an explicit statement like 'use search_devices first if you don't know the id', leaving that inference to the schema.

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