Skip to main content
Glama
AdaptixC2 MCP Server

AdaptixC2 MCP Server

by VictorNS69

adaptix_agent_wait

Read-only

Waits for beacons to check in, polling until an expected agent count is reached and optionally filtering by IP, hostname, or listener. Returns the count seen or a timeout result.

Instructions

Wait for beacons to check in, then return them. Polls GET /agent/list until at least expected agents are present — optionally only those whose record contains match (an IP, hostname or listener name) — and reports the count it reached. Meant for the multi-host case: generate and deliver an artifact per host, then one call here per host (expected 1, match ) or one call with expected N after a batch. A timeout returns ok:false with the count and the agents it did see, never a silent success.

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

Input Schema

NameRequiredDescriptionDefault
matchNoOnly count agents whose JSON record contains this substring — the target IP or hostname you delivered to.
expectedNoHow many agents to wait for (default 1).
timeout_sNoGive up after this many seconds (default 60).
interval_sNoPoll interval in seconds (default 3).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description adds real value: it discloses the polling loop, the poll interval/timeout behavior, and that a timeout returns ok:false with the observed count and agents rather than a silent success. It remains slightly vague on the exact return payload (count plus agent records), but the important failure semantics are covered.

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

Conciseness5/5

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

Three sentences, front-loaded with the action, then the mechanism, then the usage pattern, then the failure mode. Every sentence carries distinct information with no filler.

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 4-param, no-output-schema polling tool, the description covers purpose, mechanics, invocation patterns, and timeout outcome, which is enough for an agent to call it correctly. Only the precise shape of the returned agent list/count object is left unspecified, a minor gap given no output schema exists.

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 100%, so parameters are already documented; the description still adds meaning by defining `match` more broadly than the schema (listener name in addition to IP/hostname) and by showing how `expected` is used per-host versus in batch. It doesn't clarify timeout_s/interval_s tradeoffs beyond defaults, but the key parameter semantics are enriched.

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

Purpose5/5

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

Opens with a concrete verb+resource ('Wait for beacons to check in, then return them') and names the underlying operation (polls GET /agent/list until at least `expected` agents are present). The blocking/polling semantics distinguish it clearly from the immediate-listing sibling adaptix_agent_list without needing that name.

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?

Explicitly scopes the tool to the multi-host case and gives two concrete invocation patterns ('one call here per host (expected 1, match <host>) or one call with expected N after a batch'). It does not state when-not-to-use this (e.g., use a plain list for immediate, non-blocking queries), so it stops just short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.