Skip to main content
Glama
jackvaughanjr

jamf-platform-mcp-server

Get device declaration state

getDeviceDeclarationState

Check a device's declarative management state: which declarations are applied, their status and validity, and reasons for any failures. Identify the device by UUID or name substring.

Instructions

Report the declarative device management (DDM) state for one device: which declarations are applied, their status and validity, and — for anything that failed — the reasons Jamf gives. The companion to listBlueprints, since a Blueprint deploys declarations and this says whether they landed. Accepts a device UUID, or a substring of a name, serial, model or user; an ambiguous substring returns candidates rather than guessing. NOTE: Jamf excludes PENDING declarations from any filtered read, so a device mid-deployment will look emptier than it is — see excludedFromThisAnswer in the result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceYesDevice UUID, or a substring of the device name, serial, model or user id
filterNoRSQL filter. Jamf requires one, so this defaults to "declarationIdentifier==*" (match all). Filter fields: declarationIdentifier, active, declarationType, validityState, dateUpdated, channel. Wildcards on declarationIdentifier are case-insensitive, e.g. "declarationIdentifier==Blueprint_*".
includeChannelsNoAlso list the device's available DDM channels. Defaults to true.
Behavior5/5

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

With no annotations provided, the description fully carries the behavioral transparency burden. It discloses crucial behaviors: ambiguous substrings return candidates rather than guessing, and PENDING declarations are excluded from filtered reads, with a pointer to 'excludedFromThisAnswer' in the result. This goes well beyond basic expectations and gives the agent a clear picture of edge cases.

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 a single paragraph, but each sentence is informative and earns its place. It front-loads the core purpose, then adds relational context and a critical caveat. It is not overly verbose, though it could be slightly more concise without losing meaning. Overall, it is well-structured and readable.

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?

Given there is no output schema, the description should explain return values, and it does so reasonably by mentioning 'status and validity', 'reasons Jamf gives', 'candidates', and 'excludedFromThisAnswer'. It also covers important edge cases like PENDING exclusions. While it does not enumerate every return field, it provides enough context for an agent to understand what to expect and how to interpret the result.

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 schema already provides 100% coverage of parameter descriptions, so the baseline is 3. The description adds value by explaining that an ambiguous device substring returns candidates rather than guessing, which is not in the schema. It also gives a note about PENDING declarations that relates to the filter's default behavior. This additional semantic context elevates the score.

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 clearly states the tool's function: 'Report the declarative device management (DDM) state for one device: which declarations are applied, their status and validity, and — for anything that failed — the reasons Jamf gives.' This is a specific verb+resource combination. It also distinguishes itself from siblings by describing itself as 'The companion to listBlueprints', clarifying its unique role relative to a related tool.

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 explicitly positions the tool as 'The companion to listBlueprints', giving clear relational guidance on when to use it. It also explains the input behavior (substring may return candidates) and warns about PENDING declarations being excluded, helping the agent decide when this tool is appropriate. However, it lacks explicit 'when not to use' exclusions or comparisons to other related tools like getDeclarationScope.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jackvaughanjr/jamf-platform-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server