Skip to main content
Glama
threatlocker-mcp

threatlocker-mcp

by Space-C0wboy

Application Files List

application_files_list

Lists an application's file rules with pagination, wildcard search, and filters for hash-only or custom rules, enabling inspection of large rule sets omitted from application details.

Instructions

List an application's file rules, paged. application_get_by_id returns applicationFiles: [] even for apps with ~1,000 rules — use this instead. Wraps GET ApplicationFile/ApplicationFileGetByApplicationId. Filters: hash_only=true returns only hash-only rules; custom_rules_only=true returns only custom (non-hash) rules (do not set both); search_text is a wildcard search across rule text and notes. Built-in application rules cannot be retrieved. Read-only.

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_files_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
hash_onlyNo
page_sizeNo
page_numberNo
search_textNo
application_idYesApplication GUID.
organization_idNoOverride the default organization (ManagedOrganizationId header).
custom_rules_onlyNo
override_organization_idNoOptional OverrideManagedOrganizationId header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden; it discloses that the tool is read-only, that pagination applies, and that built-in rules are invisible to it — meaningful behavioral constraints. It omits permission/auth requirements and the shape of returned records, which keeps it short of a 5.

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-loads the purpose and the sibling workaround, then packs the filter semantics into a compact trailing clause. Dense but every sentence carries information; the filter clause is slightly run-on but not wasteful.

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 tool, the definition covers purpose, the sibling workaround, filter interactions, and a key retrieval limitation. Return-record structure and organization-override behavior are left to the schema, which is a modest gap rather than a blocking one.

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 only 38%, and the description compensates by explaining the semantics of `hash_only`, `custom_rules_only` (including the do-not-set-both rule), and `search_text` as a wildcard across rule text and notes. Paging and organization parameters remain schema-only, but the undocumented core filters are covered.

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 ("List an application's file rules, paged") and explicitly distinguishes itself from sibling `application_get_by_id`, noting that the sibling returns an empty `applicationFiles` array. An agent can select between the two without opening either schema.

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?

Gives an explicit routing rule: use this instead of `application_get_by_id` for file rules. It also states a hard exclusion ("Built-in application rules cannot be retrieved") and a mutual-exclusion constraint on the two filter flags, leaving nothing 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