Skip to main content
Glama
threatlocker-mcp

threatlocker-mcp

by Space-C0wboy

Approval Request Get By Id

approval_request_get_by_id

Fetch a specific approval request by ID to review its details; decode the base64-encoded requestor reason before display.

Instructions

Get Approval Request By ID NOTE: requestorReason is base64-encoded -- decode before display. approval_request_get_permit_application_by_id returns the same request with the reason already decoded under fileDetails.requestorReason, plus file/policy/ringfencing context.

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

Input Schema

NameRequiredDescriptionDefault
organization_idNoOverride the default organization (ManagedOrganizationId header).
approval_request_idNo
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

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose one genuine behavioral trap: `requestorReason` is base64-encoded and must be decoded before display. That is real added value. It says nothing about permissions, error behavior, or what happens when `approval_request_id` is omitted despite the schema marking it optional, which is a notable gap for a lookup tool with zero annotation coverage.

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?

Two dense sentences with no filler, and the most actionable warning (the base64 encoding) is placed early. The opening clause restates the tool name verbatim and the inline "NOTE:" formatting is slightly clunky, but nothing is wasted.

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?

There is no output schema and no annotations, so the description should say more about what comes back and under what conditions the call fails or returns empty. It does hint at response shape via the `requestorReason` and `fileDetails.requestorReason` field references, which is helpful, but the optional-ID behavior and organization override semantics remain unexplained.

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

Parameters3/5

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

Schema coverage is a middling 67%, and the description adds nothing about the parameters themselves — notably it never clarifies the relationship between `organization_id` and `override_organization_id`, nor why `approval_request_id` is optional or what a null ID returns. The field reference to `fileDetails.requestorReason` describes output, not inputs.

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?

States a specific verb and resource ("Get Approval Request By ID") and explicitly names and characterizes the sibling `approval_request_get_permit_application_by_id`, so the agent can distinguish the two. It stops short of a crisp one-line scope statement, but the core purpose is unambiguous.

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?

By saying the permit_application sibling returns the same request with the reason decoded plus file/policy/ringfencing context, the description implies this tool is the leaner variant used when that extra context or decoded reason isn't needed. However, it never states an explicit when-to-use condition or tells the agent to prefer the sibling in a given scenario.

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