Skip to main content
Glama

Read a device's whole stored document (Nomid staff)

read_device_document
Read-onlyIdempotent

Nomid staff only (Nomid system admins; refused for everyone else). Reads one device's stored documents as they are in the database, every field included: asset (with asset.managedDevice, the device as last reported: appsReport with each app's keyedAppStates, events, hardware, network, memory and power events, non-compliance) and currentStatus (the agent's reports: nomidApps, checkups, appMetadata, battery, screen, foreground app, last location). Use packageName for one app's report and keyed states. A document too large for one result comes in parts: value has what fits, notShown lists what needs its own call with its path, and when nextFromIndex is present call again with fromIndex = nextFromIndex. Values that are secrets are replaced by {"redacted": true}, and so is an install error's raw body (installErrorCode stays). Use company to name the company; another customer's device needs an "All Nomid customers" connection. Prefer get_device or diagnose unless you need a field they omit.

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": "read_device_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoOptional. JSON Pointer of the part to read, as in notShown: /asset/managedDevice/appsReport, /currentStatus/nomidApps. Default: the whole document.
assetIdYesThe device's assetId (pathName), from search_devices.
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.
fromIndexNoWhen a result carries nextFromIndex: pass it here for the rest. Default 0.
packageNameNoOptional, instead of path: that app's entry in the device's app report, with its keyedAppStates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly and idempotent annotations, it discloses authorization requirements, redaction behavior for secrets and install-error bodies, and exactly how truncated results appear with notShown and nextFromIndex. These are critical operational behaviors that the annotations alone do not cover.

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 dense and front-loads the staff restriction and primary purpose, with pagination and redaction behavior following logically. The long parenthetical field inventory is somewhat heavy, but it is not irrelevant padding for a whole-document read.

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 complex read with no output schema, the description explains the return shape, truncation and continuation behavior, redaction, authorization, and cross-company requirements. An agent has enough information to call it correctly and interpret the main result cases.

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?

Schema coverage is 100%, so the parameters are already documented, but the description adds meaningful usage context: packageName selects one app's report and keyed states, path corresponds to notShown entries, and fromIndex is tied to nextFromIndex. This goes beyond restating the schema, though the baseline would otherwise be 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: reads one device's whole stored document, including the asset and currentStatus sections. It also distinguishes scope with the staff-only restriction and the packageName/path variants, so an agent can tell exactly what this tool returns.

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

Usage Guidelines5/5

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

It explicitly says to prefer get_device or diagnose unless a field they omit is needed, which routes the agent away from this heavier tool. It also gives selection guidance for path versus packageName and explains when a company or an 'All Nomid customers' connection is required.

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