Skip to main content
Glama

capture

Records live traffic on an owned network interface to reveal smart-home device communications; requires root and explicit ownership confirmation.

Instructions

Live-capture on an interface of a network you own (needs root). Set i_own_this_network=true only after the user confirms they own the network and devices.

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": {
      "iface": "<iface>"
    },
    "name": "capture"
  }
}

Input Schema

NameRequiredDescriptionDefault
ifaceYes
secondsNo
device_ipsNo
i_own_this_networkNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two important traits: root privilege is required and the ownership flag must be set only after user confirmation. It says nothing about where the capture is written, how long it runs by default, or what happens on failure, leaving meaningful behavioral gaps.

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 tight sentences with the safety-critical constraint front-loaded. The line break mid-sentence is cosmetic and nothing is wasted.

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?

An output schema exists, so return values need not be explained, but for a privileged live-capture tool with zero annotation coverage and three of four parameters undocumented, the definition leaves too much for the agent to infer before calling it safely.

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 description coverage is 0% across four parameters, and the description explains only i_own_this_network. The required iface, the seconds duration, and device_ips filtering are left entirely undocumented, so the description does not compensate for the schema gap.

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: 'Live-capture on an interface of a network you own.' The word 'live' implicitly distinguishes it from analyze_pcap, which works on existing captures, though no sibling is named explicitly.

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?

Gives a clear precondition (needs root) and an ownership-confirmation gate, which is real usage guidance. It does not say when to prefer this over analyze_pcap or the scanning siblings, so the when-to-use decision is only implied.

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