Skip to main content
Glama

Pentest Guide

pentest_guide
Read-onlyIdempotent

Return an authorized-testing methodology for a selected vector and optional target context. The playbook covers reconnaissance, enumeration, exploitation, and post-exploitation phases with objectives, techniques, detection signals, mitigations, common pitfalls, references, and context-derived tool suggestions across 15 vectors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phaseNoMethodology phase selector. "all" returns the complete playbook; a named phase returns only that phase.all
vectorYesAttack vector to retrieve methodology for. Each vector has its own methodology branch covering recon through exploitation. Authorized testing only.
target_contextNoOptional target profile for authorized engagement. Providing this narrows the playbook to what is most relevant for the specific environment.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
phasesNoOrdered methodology phases. Contains only the requested phase when phase input is not "all".
vectorNoThe requested attack vector.
owasp_referencesNoRelevant OWASP Testing Guide test case IDs (e.g., "WSTG-INPV-01").
nextToolSuggestionsNoSuggested tools and arguments derived from the playbook.
attack_technique_idsNoRelevant ATT&CK technique IDs for cross-referencing with pentest_lookup_technique.
authorized_use_reminderNoReminder that this methodology applies to authorized testing only. Included in every response.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and idempotentHint=true, so the agent knows this is a non-mutating, repeatable operation. The description adds value by disclosing that the returned content is an 'authorized-testing' playbook that covers phases (recon, enumeration, exploitation, post_exploitation) and includes elements like detection signals, mitigations, and 'context-derived tool suggestions.' This goes beyond the annotations by describing the nature of the output without contradicting them.

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 a single, information-dense sentence that front-loads the core action and resource, then enumerates the coverage without redundancy. Every phrase contributes (phases, objectives, techniques, detection signals, mitigations, pitfalls, references, tool suggestions). It is compact yet comprehensive, making efficient use of the word budget.

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

Completeness5/5

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

Given that an output schema exists (as indicated), the description does not need to explain return formats. The description covers all key aspects: the action, the resource, the scope (15 vectors), optional narrowing, and the content of the playbook. For a read-only, idempotent tool with full schema coverage, this is complete. An agent has enough information to invoke it correctly without ambiguity.

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?

The input schema provides full coverage (100%) for all three parameters, including enums and descriptions for vector and phase, and property-level descriptions for the target_context object. The description simply restates the existence of a 'selected vector' and 'optional target context,' adding no new meaning beyond the schema. Given the high schema coverage, a baseline of 3 is appropriate; the description does not compensate or enrich parameter semantics.

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 tool's function: 'Return an authorized-testing methodology for a selected vector and optional target context.' It identifies the specific resource (methodology) and the action (return), and specifies that it covers a full set of phases. This clearly distinguishes it from sibling tools like pentest_generate_payloads or pentest_analyze_response, which have narrowly scoped purposes.

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 its usage context: it is for retrieving a methodology for a vector, optionally narrowed by target context. However, it does not explicitly state when to prefer this tool over its siblings, nor does it name any alternatives. There is no 'when-not-to-use' guidance or comparison to pentest_map_techniques or pentest_lookup_technique. The usage context is inferable but not explicit, so it falls short of a 4.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: response analysis, payload encoding, payload generation, methodology guidance, ATT&CK group lookup, ATT&CK technique lookup, and technique mapping. There is no meaningful overlap or ambiguity between tool boundaries.

Naming Consistency4/5

All tools share the pentest_ prefix and most follow a verb_noun pattern such as analyze_response, generate_payloads, and lookup_technique. However, pentest_encode and pentest_guide are verb-only, creating a minor inconsistency in the naming convention.

Tool Count5/5

Seven tools is a well-scoped size for a pentest assistance server. Each tool covers a distinct capability without unnecessary duplication or bloat.

Completeness4/5

The tool set covers the main pentest workflow areas: response analysis, payload generation/encoding, methodology guidance, and ATT&CK reference/mapping. Minor gaps exist, such as no explicit reporting or active scanning tool, but the surface is coherent and usable for its apparent purpose.