Skip to main content
Glama

websex_smbmap

Run smbmap against authorized targets to enumerate SMB shares and capture persisted JSON evidence for scope-guarded pentesting engagements.

Instructions

Run smbmap from the WebSex enumeration toolkit. The container executes smbmap directly with the supplied argv tokens; shell parsing is never used. Runs from the selected engagement namespace; use relative paths for engagement artifacts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stdinNo
argumentsYes
engagement_idYes
working_directoryNo.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 behavioral burden and does disclose important execution semantics: direct argv tokens and no shell parsing. However, it omits whether smbmap is read-only, whether credentials are required, and what general risk/intrusiveness to expect.

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?

Three short sentences, front-loaded with the core action. Every sentence adds operational information, though the toolkit name is marginally redundant with the namespace context.

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

Completeness3/5

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

For a 4-parameter command-wrapper tool with no annotations and 0% schema coverage, the description covers execution safety and path scoping but leaves the agent without SMB enumeration context, selection guidance, or complete parameter definitions. The output schema exists, so return values need not be described.

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 description coverage is 0%, so the description must compensate. It clarifies that arguments are supplied as argv tokens, that working paths should be relative, and that execution occurs in the engagement namespace, but it does not explain stdin or fully specify engagement_id semantics.

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?

The description states a specific verb and resource: running smbmap from the WebSex enumeration toolkit. It clearly identifies the underlying tool, but does not explain what smbmap does or distinguish it from SMB enumeration siblings such as enum4linux, netexec, or rpcclient.

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?

It gives operational context (engagement namespace, relative paths) but no guidance on when to choose smbmap over alternatives or when not to use it. An agent must infer its appropriateness from the tool name alone.

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

Deploy Server

Other Tools