Skip to main content
Glama

parse_capture

Idempotent

Incrementally parse new pcap capture files into SQLite so captured traffic is added to the existing database without reprocessing old packets.

Instructions

Incrementally parse new pcap files into SQLite.

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

Input Schema

NameRequiredDescriptionDefault
forceNo
include_openNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare write (readOnlyHint=false), non-destructive, idempotent, closed-world. The description adds 'incrementally' and 'new', which explains the idempotent behavior: previously parsed files are skipped. However, it never explains what 'force' does to that incremental behavior (presumably re-parsing existing data) or what 'include_open' means for captures still being written, which are the main behavioral risks here.

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?

A single front-loaded sentence with zero wasted words; the destination and incremental scope come before any elaboration. Nothing could be trimmed without losing meaning.

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 needn't be explained, but for a mutating ingest tool with two undocumented flags the description is too thin. It never states where the SQLite database lives, what happens to malformed captures, or how the flags change scope. An agent could call it, but only by guessing at parameter behavior.

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%, so the description must carry the meaning of both parameters, and it does not mention them at all. 'Force' and 'include_open' are only inferable from their names, and 'include_open' especially is ambiguous without explanation. This is a clear compensation 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?

Names a specific verb (parse), a specific input (pcap files), a destination (SQLite), and a scope qualifier ('incrementally', 'new'). An agent immediately knows this ingests captures into a database. It stops short of distinguishing itself from siblings, though the sibling set (proxy/service control) overlaps little, so confusion risk is low.

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?

The word 'incrementally' and 'new pcap files' imply usage: run it after new captures appear, and already-parsed files are skipped. There is no explicit when-to-use, no prerequisite, and no mention of when to prefer a full re-parse versus an incremental one. Guidance is implied only.

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