Skip to main content
Glama
threatlocker-mcp

threatlocker-mcp

by Space-C0wboy

Policies Deploy

policies_deploy

Pushes pending policy changes to every computer in a ThreatLocker organization, or to a single computer when computer_id and computer_name are supplied. Runs as a dry run by default; set dry_run=false and confirm=true to execute.

Instructions

The portal's 'Deploy Policies' action: POST DeployPolicyQueue/DeployPolicies pushes pending policy changes to every computer in the target organization. Pass both computer_id and computer_name to deploy to one computer instead (DeployPoliciesForComputer). One organization per call. Requires confirm=true with dry_run=false. dry_run defaults to TRUE. Writes target the configured default org unless organization_id is given explicitly.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "policies_deploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoRequired (true) in addition to dry_run=false for destructive operations. Ignored during a dry run.
dry_runNoDefault true: return the exact request(s) that would be sent and the target org, and send nothing. Pass false to execute.
computer_idNo
computer_nameNo
organization_idNoTarget organization GUID for this write. Omit to target the server's configured default org (THREATLOCKER_ORG_ID). Any other org MUST be named explicitly here; write tools have no other org override.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that this is a fleet-wide write, that a confirmation gate plus dry_run=false is needed, and that dry_run defaults to true and returns the exact requests that would be sent. It does not say whether the change is reversible, how partial failures are handled, or what the non-dry-run response looks like.

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

Conciseness5/5

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

Front-loaded with the action and its effect, then scope, then the safety gate, then org targeting. Dense but every sentence adds a constraint or a mode distinction; nothing is redundant.

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?

For a destructive 5-parameter write tool with no output schema, this covers the critical decision points: scope, confirmation, dry-run default, and org targeting. The remaining gap is post-execution behavior (response shape, failure semantics) for the real write path.

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?

Schema coverage is only 60%, and the description compensates: it explains the confirm/dry_run pairing, the non-obvious requirement that computer_id and computer_name be passed together for single-computer mode, and the default-org behavior of organization_id with the THREATLOCKER_ORG_ID fallback. These are semantics the schema alone does not convey.

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 ('Deploy Policies' / DeployPolicies) and precisely what it does: pushes pending policy changes to every computer in the target organization. It also distinguishes the two operating modes (all computers vs. one computer via DeployPoliciesForComputer), so an agent can tell exactly which behavior it will get.

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?

Explicit conditions are given: pass both computer_id and computer_name to scope to a single computer, one organization per call, and confirm=true with dry_run=false is required to actually execute. The dry-run default and the default-org targeting rule are stated, leaving little to inference.

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