Skip to main content
Glama

extract_credentials

Read-onlyIdempotent

Scan PCAP files to extract credentials including HTTP Basic Auth, FTP logins, Telnet prompts, and Kerberos hashes for security analysis.

Instructions

Extract potential credentials from a PCAP file.

Scans for:

  • HTTP Basic Authentication headers

  • FTP USER/PASS commands

  • Telnet login/password prompts

  • Kerberos AS-REQ/AS-REP hashes (crackable with hashcat)

Args: filepath: Path to PCAP/PCAPNG file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filepathYes
Behavior4/5

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

Annotations already declare read-only and non-destructive behavior. The description adds value by specifying the exact types of credentials and that Kerberos hashes are crackable, which is behavioral context beyond annotations.

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?

The description is highly concise: a one-line summary, a targeted bullet list of credential types, and a clear Args section. Every sentence serves a purpose with no redundancy.

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?

Given the single parameter, rich annotations, and no output schema, the description covers the tool's purpose and input sufficiently. It could optionally mention output format, but the absence is not critical for a credential extraction tool.

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?

The input schema only defines 'filepath' as a string with no description. The tool description clarifies it expects a path to a PCAP/PCAPNG file, adding critical meaning beyond the schema's minimal type definition.

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 it extracts potential credentials from PCAP files, listing specific credential types (HTTP Basic Auth, FTP, Telnet, Kerberos). This differentiates it from sibling tools like analyze_http_traffic or follow_tcp_stream, which are more general.

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 description implies use when credential extraction is needed but lacks explicit guidance on when not to use or comparisons with alternatives. Without this, an agent might not know to choose this over similar tools like analyze_http_traffic.

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/cortexc0de/netmcp'

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