Skip to main content
Glama
threatlocker-mcp

threatlocker-mcp

by Space-C0wboy

Approval Request Get Count

approval_request_get_count

Retrieves the pending approval request count so you can monitor outstanding approvals, optionally scoped to an organization or child organizations.

Instructions

Get Approval Request Pending Count

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_count"
  }
}

Input Schema

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

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

D1.9/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden and delivers nothing: it does not state that the operation is read-only, what the count represents, whether it honors organization scoping headers, or how the organization parameters affect the result. For a tool with three optional scoping parameters, this omission is significant.

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?

Five words, zero waste, but the brevity reflects under-specification rather than efficiency. There is no front-loaded statement of what the count is scoped to or what it returns.

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 no annotations, no output schema, and an undocumented third parameter, the description should explain what the returned count represents and how organization scoping affects it. Neither is covered, leaving the agent guessing on a tool whose whole value is the returned number.

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 coverage is 67% — organization_id and override_organization_id are documented in the schema, but include_child_organizations is undocumented in both schema and description. The description adds no meaning about how these scoping parameters change the returned count, so it does not compensate for the coverage gap.

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?

The description 'Get Approval Request Pending Count' essentially restates the name and title, with the only added information being the word 'Pending'. It does indicate the resource is a count of pending approval requests, which is marginally more than a pure tautology, but it says nothing about scope, what is counted, or how it differs from siblings like approval_request_get_by_parameters.

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, no mention of alternatives such as the by-id or by-parameters sibling tools, and no prerequisites. An agent must infer entirely on its own that this is a lightweight aggregation call versus a detailed list call.

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