Skip to main content
Glama
Space-C0wboy

threatlocker-mcp

by Space-C0wboy

approval_request_permit_storage_approval

Approves a pending storage approval request. Configures device scope, file paths, user groups, expiration, and response notification.

Instructions

Approve Storage Request NOT YET LIVE-TESTED -- expect shape sensitivity similar to approval_request_permit_application. WORKFLOW: take_ownership -> get_storage_approval_by_id -> permit_storage_approval. Start from the DTO returned by approval_request_get_storage_approval_by_id and modify the choices below. LIKELY REQUIRED (by analogy with the application-permit flow): approvalRequest -- copy verbatim from get_storage_approval_by_id; json -- verbatim copy from the same response, used by the server to reconstruct the storage-request context. DEVICE / SCOPE FLAGS (set exactly one mode): addDeviceToExisting -- add the storage device to an existing storage policy (populate existingStoragePolicy); deviceExists -- the device is already known to ThreatLocker; allStorageDevices -- apply to all storage devices in scope; allFilePaths -- apply to all paths rather than just selectedPath; allUserGroups -- apply to all users/groups rather than the populated usersList/userGroups. Set unused companion objects (existingStoragePolicy, newStorageDevice) to null, not omitted. EXPIRATION: expirationDate is ISO 8601 UTC; null = permanent. RESPONSE: responseSubject and responseReason are shown to the requester; notifyOnResponse controls whether they're emailed. If the server returns HTTP 401 "Missing the '' permission" (empty interpolation), suspect body-shape rather than permissions -- same root cause as the application-permit flow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesRequest body.
organization_idNoOverride the default organization (ManagedOrganizationId header).
override_organization_idNoOptional OverrideManagedOrganizationId header.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses important behavioral traits such as the tool being 'NOT YET LIVE-TESTED,' shape sensitivity, required fields to copy verbatim, how to handle nulls, expiration date format, and a note about HTTP 401. This provides substantial transparency, though it could mention side effects or success/failure behavior more explicitly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is quite long but is structured into labeled sections (workflow, device/scope flags, expiration, response, troubleshooting). However, it contains some redundancy and could be more concise. Given the complexity of the tool, the structure aids readability, but there is room for tightening.

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?

The description thoroughly covers input parameters and usage prerequisites, including a workflow and troubleshooting tip. However, it lacks details about the tool's output—e.g., what the response object looks like or how to interpret success/failure. Since no output schema is given, this omission leaves a gap in contextual completeness.

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

Parameters5/5

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

The input schema provides only minimal descriptions for the top-level parameters (e.g., 'Request body.' for body). The description adds extensive semantic information: it explains which fields are likely required (approvalRequest, json), how to handle device/scope flags (set exactly one mode), and how to set expiration and response fields. This far exceeds the baseline expectation for 100% schema coverage.

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 starts by stating 'Approve Storage Request,' which clearly identifies the tool's purpose. It distinguishes itself from sibling tools by referencing the analog 'approval_request_permit_application' and by detailing the workflow involving get_storage_approval_by_id, making it unambiguous that this tool is for approving storage requests specifically.

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 provides a workflow: 'WORKFLOW: take_ownership -> get_storage_approval_by_id -> permit_storage_approval.' It instructs the user to start from the DTO returned by the getter, thereby telling when to use this tool. Although it does not explicitly state when not to use it, the prerequisite steps are clear, which guides appropriate usage.

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/Space-C0wboy/ThreatLocker-MCP'

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