Skip to main content
Glama
threatlocker-mcp

threatlocker-mcp

by Space-C0wboy

Approval Request Get By Parameters

approval_request_get_by_parameters

Retrieve approval requests by filter parameters such as status, action type, and search text. Provide statusId to avoid HTTP 500 errors, then decode requestorReason for display.

Instructions

Approval Request: Get By Parameters NOTE: statusId is required (e.g. 1 for Pending). Calls without it return HTTP 500. Each result's requestorReason is base64-encoded -- decode before display. For the decoded reason plus richer file/policy context, follow up with approval_request_get_permit_application_by_id.

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

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

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the burden and discloses two important non-obvious behaviors: omitting `statusId` causes HTTP 500, and `requestorReason` is base64-encoded and must be decoded. It does not cover auth requirements, pagination response behavior, or other output shape details, but the disclosed caveats are substantial.

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 short and front-loads the most important caveats: required `statusId`, HTTP 500 failure, base64 decoding, and follow-up tool. The opening repeats the tool title, but the remaining sentences each provide operational value.

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

Completeness3/5

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

For a nested-parameter query tool with no output schema and no annotations, the description covers key pitfalls and one output encoding detail. It remains incomplete about the broader response structure, pagination behavior, and most nested body parameters, though the schema documents the inputs.

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 high, so the baseline is 3, but the description adds critical meaning by stating that `statusId` is required and giving an example value. This is more specific than the schema, which gives `statusId` a default of 1 and does not mark it required, so agents should treat the description constraint as overriding the apparent default.

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 makes clear that this retrieves approval requests using filter parameters, and the mention of 'Each result' implies a multi-result query. It distinguishes the resource and operation but does not explicitly contrast with the sibling `approval_request_get_by_id` or count tools.

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

Usage Guidelines3/5

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

It provides useful follow-up guidance by naming `approval_request_get_permit_application_by_id` for decoded reason and richer file/policy context. However, it does not state when to use this parameter-based query instead of sibling retrieval alternatives such as get-by-id or count.

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