Skip to main content
Glama

Port Activity

port_activity
Read-onlyIdempotent

Get recent attack/probe activity for a TCP/UDP port from SANS ISC, daily counts of report records, distinct target IPs, and distinct source IPs hitting the port. Useful for spotting scanning surges against services like SSH (22), RDP (3389), SMB (445), or Telnet (23). Keyless.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "port": 22
    },
    "name": "port_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYesA port number, e.g. 22 (SSH), 3389 (RDP), 445 (SMB), 23 (Telnet).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "port": 22
      +  },
      +  {
      +    "port": 3389
      +  }
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral facts: the data originates from SANS ISC, results are daily aggregates, and the endpoint is keyless (no auth required) — the last being valuable operational context absent from annotations. No rate limits or latency expectations, hence 4 not 5.

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?

Two sentences, no filler: the first front-loads what is fetched and returned, the second gives the motivating use case. The trailing 'Keyless.' is a terse, high-value operational note rather than padding.

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

Completeness5/5

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

For a one-parameter read tool this is complete: no output schema exists, and the description compensates by enumerating the returned aggregates (daily counts, distinct target/source IPs) along with source and auth requirements. Nothing an agent needs to call it correctly is missing.

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 100% and the single 'port' parameter already carries a description with example ports, so the schema does the heavy lifting. The description repeats the same port examples without adding format or validation nuance, so the baseline 3 applies.

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?

States a specific verb ('Get'), resource ('recent attack/probe activity for a TCP/UDP port'), upstream source (SANS ISC), and the exact metrics returned (daily counts of records, distinct target IPs, distinct source IPs). An agent can distinguish this reconnaissance-data tool from siblings like ip_reputation or recent_alerts without opening a schema.

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?

Gives clear usage context — 'useful for spotting scanning surges against services like SSH (22), RDP (3389), SMB (445), or Telnet (23)' — which tells the agent when this is the right call. It stops short of naming alternatives or exclusions (e.g., when to prefer ip_reputation), so it lands at 4 rather than 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.