Skip to main content
Glama

Pentest Guide

pentest_get_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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and closed-world behavior, so the safety profile is covered. Beyond that the description usefully enumerates what the returned playbook contains (objectives, techniques, detection signals, mitigations, pitfalls, references) and that target_context narrows results — meaningful content disclosure that annotations cannot convey.

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?

Two sentences, front-loaded with the core action and scope, then the playbook contents. No filler, no restatement of the title, and the optional-vs-required distinction is signaled immediately.

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?

For a read-only retrieval tool with an output schema and full parameter documentation, the definition is nearly self-sufficient: it conveys scope, phases, and the role of target_context. The only gap is the absence of routing guidance against the six sibling tools, which matters given the high tool count.

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 100%, so vector, phase, and the nested target_context fields (waf, stack, recon_notes) are already fully documented with examples. The description only restates 'selected vector and optional target context' and adds the vector count; it contributes little syntax or format detail beyond the schema.

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?

States a specific verb and resource — 'Return an authorized-testing methodology for a selected vector' — and scopes the output to a named set of 15 attack vectors. It is clearly distinguishable from siblings like pentest_generate_payloads or pentest_lookup_technique, which produce payloads or lookups rather than a multi-phase playbook.

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?

Usage is implied through the phase/vector scope and the 'authorized testing only' framing, but the description never states when to prefer this over pentest_lookup_technique or pentest_generate_payloads, despite the playbook apparently producing 'context-derived tool suggestions'. No explicit alternatives or exclusions are named.

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.