Skip to main content
Glama

provider_deny_device_authorization

Denies a device authorization request by user code, blocking a device from accessing resources on behalf of a service account.

Instructions

Denies a device authorization request A device's request for access on behalf of a service account, as identified by the specified user code, is denied POST /cloudapi/1.0.0/deviceLookup/deny

Input Schema

NameRequiredDescriptionDefault
bodyYesDevice information for device authorization requests.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false, so the safety profile is covered. The description adds useful framing about what is being denied (a delegated access request on behalf of a service account, keyed by user code), but says nothing about the post-denial state, whether a pending request is required, or what happens on repeated calls despite idempotentHint=false.

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?

Short and front-loaded, leading with the action. The second sentence largely restates the first with more words, and the raw endpoint path duplicates the annotation title, but the total length is small enough that little is wasted.

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?

For a one-parameter mutation with full schema coverage and annotation-declared behavior, the description covers the essentials of WHAT and WHOM. It omits the practical context an agent needs (where the user code comes from, whether the denial must target a pending request), leaving a real gap for an otherwise simple tool.

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 coverage is 100% and the single body.userCode parameter is documented in the schema. The description reinforces that the user code identifies the request being denied, but adds no format, sourcing, or validation detail beyond the schema, so baseline 3 applies.

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 first sentence names a specific verb and resource ("Denies a device authorization request"), and the second clarifies the target object further (a device's access request on behalf of a service account). It's unambiguous which operation this is versus the obvious sibling provider_grant_device_authorization, though the description never explicitly names that alternative.

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?

No guidance on when to call this instead of provider_grant_device_authorization, nor any stated prerequisite such as the request having to be pending or the user code being obtained via provider_find_device_authorization_request. The agent must infer the workflow entirely from the description's silence.

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

Deploy Server

Other Tools