Skip to main content
Glama
threatlocker-mcp

threatlocker-mcp

by Space-C0wboy

Application Update

application_update

Modify a custom application by renaming it, changing its description, or adding/removing file rules; previews requests by default and requires confirmation to delete rules.

Instructions

Update a custom application: rename / change description (PUT Application/ApplicationUpdateById), add file rules (POST ApplicationFile/ApplicationFileInsert, one request per rule) and/or remove rules by applicationFileId (POST ApplicationFile/ApplicationFileDeleteById, one request per rule). The current app is read first so an omitted description is preserved rather than wiped. Each rule is a list of conditions (full_path / process_path / created_by / cert combinable; hash or sha256 standalone). Removing rules requires confirm=true. dry_run defaults to TRUE and returns every request that would be sent. Writes target the configured default org unless organization_id is given explicitly.

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": {
      "application_id": "<application_id>"
    },
    "name": "application_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
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.
add_rulesNo
descriptionNo
application_idYesApplication GUID.
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.
remove_rule_idsNoapplicationFileId values to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.3/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 most of it well: it discloses the read-before-write behavior that preserves an omitted `description`, that each rule becomes one request, that `dry_run=true` returns every request that would be sent without sending anything, and which org writes target. Still missing: auth/permission requirements and what a successful 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.

Conciseness4/5

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

Front-loaded with the action, then constraints, then defaults – good ordering. The parenthesized endpoint names (PUT Application/ApplicationUpdateById, etc.) add bulk that an agent rarely needs, but the rest of the prose is dense and each sentence conveys a real constraint.

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 an 8-parameter, unannotated, no-output-schema mutation tool, the description covers the dangerous parts well: destructive-action confirmation, dry-run default, org targeting, and preserve-on-omit semantics. Only the post-execution response shape and permission requirements are left implicit, which is a minor gap given the risk-relevant behavior is documented.

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 63%, and the description fills the notable gaps: it explains that omitting `description` preserves the existing value rather than clearing it, that `name` drives renaming, and that rule addition vs. removal are independent paths. These are meanings not evident from the bare schema fields for `name` and `description`.

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?

Opens with a specific verb+resource ("Update a custom application") and then enumerates exactly which mutations are covered: rename, description change, rule addition, rule removal. The concrete API routes in parentheses make the scope unambiguous and separate it from siblings like application_insert or application_delete.

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?

Clear guidance on the operational preconditions: removal requires `confirm=true`, `dry_run` defaults to TRUE, and writes hit the configured default org unless `organization_id` is supplied. It does not explicitly name which sibling to use instead for creation or deletion, so it stops short of full when-not/alternative routing.

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