Skip to main content
Glama
BigfootBytes

threatlocker-mcp-server

by BigfootBytes

ThreatLocker System Audit

system_audit
Read-onlyIdempotent

Track ThreatLocker portal admin actions (logins, policy changes, approvals) by querying audit logs. Filter to find failed logins or specific admin changes.

Instructions

Query ThreatLocker portal audit logs.

System audit tracks administrator actions in the ThreatLocker portal: logins, policy changes, approvals, configuration modifications. This is different from action_log which tracks endpoint events.

Common workflows:

  • Find all logins in date range: action=search, startDate="...", endDate="...", auditAction=Logon

  • Find failed login attempts: action=search, ..., auditAction=Logon, effectiveAction=Denied

  • Find changes by a specific admin: action=search, ..., username="admin@company.com"

  • Find policy modifications: action=search, ..., auditAction=Modify, details="policy"

  • Get health center dashboard: action=health_center, days=7

  • Search health center by location: action=health_center, searchText="lat:X&long:Y"

Audit actions: Create (new objects), Delete (removals), Logon (portal access), Modify (changes), Read (views). Supports * wildcard in text fields.

Permissions: View System Audit, View Health Center. Pagination: search and health_center actions are paginated (use fetchAllPages=true to auto-fetch all pages). Key response fields: systemAuditId, username, action, effectiveAction, details, ipAddress, dateTime.

Related tools: action_log (endpoint events, not portal events), organizations (filter by org)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days for health_center (default: 7, min: 1, max: 365)
actionYessearch=query audit logs with filters, health_center=health dashboard data
detailsNoFilter by details text (wildcards supported)
endDateNoEnd date (ISO 8601 UTC)
objectIdNoFilter by specific object GUID
pageSizeNoResults per page (default: 25, max: 500)
usernameNoFilter by admin email address (maps to the API emailAddress field; wildcards supported)
ipAddressNoFilter by IP address
startDateNoStart date (ISO 8601 UTC)
pageNumberNoPage number (default: 1)
searchTextNoSearch text for health_center
auditActionNoFilter by audit action type
fetchAllPagesNoFetch all pages automatically (max 10 pages). Default: false (single page).
effectiveActionNoFilter by effective action
response_formatNoOutput format: markdown (default, human-readable) or json (structured)markdown
viewChildOrganizationsNoInclude child organizations (default: false)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoResponse data — shape varies by action
errorNo
successYes
paginationNo
Install Server

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, but the description adds substantial behavioral context: required permissions, pagination behavior with max pages, wildcard support, audit action semantics, and key response fields. This goes well beyond the structured annotation data and helps the agent predict side effects and invocation constraints.

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?

The description is well-structured and front-loaded with a clear purpose, followed by a helpful common-workflow section and concise enum/pagination/permission notes. It is longer than minimal but every section earns its place; only minor redundancy with the schema's parameter descriptions prevents a perfect score.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter tool with two distinct actions, the description is exceptionally complete: it covers both actions, provides concrete usage patterns, explains the key enum values, notes pagination and fetchAllPages, lists required permissions, identifies key response fields, and points to related tools. Since an output schema exists, return-value detail is not required. Nothing critical for correct invocation is missing.

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 description coverage is 100%, so the schema already documents every parameter. The description adds extra meaning through examples (e.g., auditAction=Logon with effectiveAction=Denied for failed logins) and clarifies the audit action enum values (Create, Delete, Logon, Modify, Read) and wildcard usage. It doesn't fully compensate for every parameter's nuance, but it meaningfully augments the schema.

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 opens with a specific verb and resource: 'Query ThreatLocker portal audit logs' and immediately clarifies what system audit tracks (administrator actions like logins, policy changes, approvals, configuration modifications). It explicitly differentiates itself from action_log, which tracks endpoint events, so an agent can distinguish this tool from its siblings without ambiguity.

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?

The description gives explicit when-to-use guidance with common workflow examples for both actions (search and health_center), names the related tool action_log as the alternative for endpoint events, and states required permissions (View System Audit, View Health Center). It also explains pagination behavior, making it clear when fetchAllPages should be used.

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

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/BigfootBytes/threatlocker-mcp-server'

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