Skip to main content
Glama

transform_trim

Trim a network capture file by specifying a time interval or a packet range to reduce file size and focus on relevant data.

Instructions

Trim a capture by time or packet range.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_pathYes
output_pathYes
start_timeNo
end_timeNo
packet_rangeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description carries full burden but only states the basic function. It does not disclose whether the operation creates a new file or modifies the original, what happens if no range is specified, or any side effects. This is insufficient for a tool that mutates data.

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

Conciseness2/5

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

The description is a single short sentence, which is concise but severely under-specified. It misses crucial details that should be present, so it's not appropriately structured for usability.

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

Completeness1/5

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

Given 5 parameters, 2 required, and an output schema present, the description fails to mention the output format, the effect of combining time and packet ranges, or prerequisites. The agent has no context to successfully use the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, meaning the schema provides no descriptions for parameters. The tool description adds no information about start_time format, end_time format, packet_range syntax, or the distinction between time and packet ranges. This forces the agent to guess or fail.

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?

The description clearly states the action ('trim') and resource ('a capture'), and specifies the two modes (by time or packet range). It distinguishes from sibling tools like transform_merge or transform_deduplicate.

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?

No guidance is provided on when to use this tool versus alternatives like transform_convert_format or transform_reorder. There are no scenarios or exclusions mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andsopwn/wireshark-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server