Skip to main content
Glama
threatlocker-mcp

threatlocker-mcp

by Space-C0wboy

Policy Get By Id

policy_get_by_id

Fetch a specific policy by ID to review its configuration, with optional organization overrides for multi-tenant access.

Instructions

Get Policy by Id.

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": "policy_get_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
policy_idNo
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

C2.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and delivers almost none of it: no read-only statement, no behavior when the policy_id does not exist (error vs null), no permission or scope requirements, no note that organization overrides affect which record is returned.

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

Conciseness3/5

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

One short, front-loaded sentence with no redundant wording. Brevity is not the problem here — the sentence is simply too thin to carry the tool's semantics, which is penalized in the other dimensions.

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

Completeness2/5

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

With three parameters, zero required fields, no output schema, and no annotations, the description needed to clarify that policy_id is the identifying key and that the organization parameters act as headers/scoping overrides. None of that is present, so the definition is inadequate for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 67%, and the most important parameter, policy_id, has no schema description at all; the description does nothing to compensate or to explain that the organization_id and override_organization_id parameters scope which tenant the lookup runs against. It adds zero meaning beyond the structured schema.

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

Purpose2/5

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

"Get Policy by Id." restates the tool name and title with no additional specificity. It does signal a single-resource lookup rather than a list, but an agent learns nothing about what a "policy" is here or how this differs from siblings like policy_list or policy_update beyond the obvious verb.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance and no mention of alternatives. The sibling set contains policy_list, policy_update, policy_insert, and policy_delete, yet the description gives no signal about selecting this tool over them, nor any prerequisite or scope condition.

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