Skip to main content
Glama
threatlocker-mcp

threatlocker-mcp

by Space-C0wboy

Tag Update

tag_update

Updates an existing tag by valid GUID, replacing name, type, active status, or item lists; discover tag IDs first to prevent accidental creation.

Instructions

Update Tag. Updates an existing tag. tagId (spec-nullable) must be a valid existing tag GUID; passing an empty or omitted tagId may cause the server to interpret the request as a new-tag creation. Use tag_get_dropdown_options_by_organization_id to discover existing tag GUIDs first. tagType enum (verify against tenant): 1=Computer tag, 2=Application tag, 3=Network tag. Sending one of tagItemsText / tagItemsIPv4 / tagItemsIPv6 replaces (not merges) that list for the tag. NOT YET LIVE-TESTED -- verify behaviour against the dev tenant before relying on it.

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": {
      "body": "<body>"
    },
    "name": "tag_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesRequest body.
organization_idNoOverride the default organization (ManagedOrganizationId header).
override_organization_idNoOptional OverrideManagedOrganizationId header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.2.1

TDQS

A4/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 the dangerous null-tagId-implies-creation side effect, states that tagItems lists are replaced rather than merged, and flags the tool as not live-tested. It does not say whether unspecified fields (name, active, other lists) are preserved or cleared on update, which is a material gap for a mutation endpoint.

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?

Dense and front-loaded, with the identifier caution, discovery pointer, enum mapping, and replacement semantics in a compact block. The opening 'Update Tag. Updates an existing tag.' repeats the name/title and could be cut without losing information.

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 nested-object mutation tool with no annotations and no output schema, the description covers the highest-risk behaviors (accidental creation, list replacement, enum meaning, untested status). It leaves an agent uncertain about permission requirements and partial-vs-full update semantics, which is the main remaining hole.

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 reported at 100%, but nested body properties carry no descriptions, so the description adds real value: the tagType integer mapping (1/2/3) is supplied nowhere in the schema, and the replace-vs-merge behavior of tagItemsText/tagItemsIPv4/tagItemsIPv6 is clarified. The three array parameters' interaction (mutual exclusivity vs. co-sending) is not fully resolved.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Update Tag. Updates an existing tag') and additionally clarifies the mutation's scope by warning that an empty/omitted tagId may be interpreted as a create. This meaningfully separates it from a creation tool, though the first two sentences are near-duplicative and do not contrast against application_update or the other update siblings.

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?

It gives an explicit prerequisite workflow: use tag_get_dropdown_options_by_organization_id to discover existing tag GUIDs before calling. It also adds a caution about tenant-specific enum values. It lacks explicit when-not-to-use guidance (e.g., when to prefer a create tool), which keeps it below a 5.

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