Skip to main content
Glama

Pentest Lookup Technique

pentest_lookup_technique
Read-onlyIdempotent

Look up a MITRE ATT&CK technique by exact ID or keyword. Results include tactics, platforms, description, detection data, public procedure examples, mitigations, related sub-techniques, and dataset version.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "pentest_lookup_technique"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesATT&CK technique ID (e.g., "T1190", "T1059.001") or a keyword describing the technique. IDs match exactly, ignoring case and trailing punctuation. Keyword lookup returns the best match.
include_subtechniquesNoInclude sub-techniques in the result. Set to false when only the parent technique summary is needed.

Output Schema

NameRequiredDescriptionDefault
nameNoTechnique name.
errorNoPresent when the call failed. Absent on success.
tacticsNoATT&CK tactics this technique belongs to (e.g., "Initial Access", "Execution").
detectionNoATT&CK detection context for the technique.
platformsNoTarget platforms (e.g., "Windows", "Linux", "Web Application").
descriptionNoATT&CK description of the technique.
mitigationsNoRecommended mitigations from ATT&CK.
technique_idNoATT&CK technique ID (e.g., "T1190").
attack_versionNoATT&CK dataset version used (e.g., "Enterprise v19.1").
sub_techniquesNoSub-techniques of this parent technique. Empty when querying a sub-technique itself, or when include_subtechniques is false.
procedure_examplesNoReal-world usage examples from ATT&CK public reporting.
authorized_use_reminderNoReminder that technique data is for authorized testing and research only. Rendered first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"ATT&CK technique ID (e.g., \"T1190\", \"T1059.001\") or keyword describing the technique (e.g., \"sql injection\", \"pass the hash\", \"web shell upload\"). ID lookup is exact; keyword lookup returns the best match plus related techniques."New value: +"ATT&CK technique ID (e.g., \"T1190\", \"T1059.001\") or a keyword describing the technique. IDs match exactly, ignoring case and trailing punctuation. Keyword lookup returns the best match."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `no_match`: No technique matched the query. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_technique_id`: An ID-like query has a malformed technique or sub-technique number. `no_match`: No technique matched the query. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "no_match"
      -]New value: +[
      +  "invalid_technique_id",
      +  "no_match"
      +]
  2. Changed10 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "authorized_use_reminder",
      +      "technique_id",
      +      "name",
      +      "tactics",
      +      "description",
      +      "platforms",
      +      "detection",
      +      "mitigations",
      +      "procedure_examples",
      +      "sub_techniques",
      +      "attack_version"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • changedOutput schema / properties / attack_version / description
      Previous value: -"ATT&CK dataset version used (e.g., \"Enterprise v19.1\"). Included so callers know the data vintage."New value: +"ATT&CK dataset version used (e.g., \"Enterprise v19.1\")."
    • changedOutput schema / properties / detection / description
      Previous value: -"Detection context — directly useful for blue team detection coverage."New value: +"ATT&CK detection context for the technique."
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `no_match`: No technique matched the query. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "no_match"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / procedure_examples / description
      Previous value: -"Real-world usage examples from ATT&CK public reporting. Useful for understanding adversary application of the technique."New value: +"Real-world usage examples from ATT&CK public reporting."
    • changedOutput schema / properties / sub_techniques / items / description
      Previous value: -"A sub-technique summary. Use pentest_lookup_technique with the sub-technique ID for full details."New value: +"A sub-technique ID, name, and brief description."
    • removedOutput schema / required
      Removed value: -[
      -  "authorized_use_reminder",
      -  "technique_id",
      -  "name",
      -  "tactics",
      -  "description",
      -  "platforms",
      -  "detection",
      -  "mitigations",
      -  "procedure_examples",
      -  "sub_techniques",
      -  "attack_version"
      -]
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds the shape of the payload (detection data, procedure examples, mitigations, dataset version), which helps an agent judge sufficiency, but since an output schema exists this is largely redundant restatement rather than new behavioral context.

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 immediately followed by what comes back. No filler, hedging, or redundant phrasing; every clause carries information.

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?

With annotations covering safety and an output schema covering return values, the definition supplies the remaining essentials: lookup modes, result richness, and dataset versioning. It is complete enough to invoke correctly, with the only real gap being no routing guidance toward sibling tools.

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%, and the schema itself explains exact-ID matching, case/punctuation insensitivity, best-match keyword behavior, and the include_subtechniques toggle. The description adds nothing beyond that, so the baseline of 3 applies.

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 — 'Look up a MITRE ATT&CK technique' — and names both input modes (exact ID or keyword). It does not differentiate itself from siblings such as pentest_lookup_group or pentest_map_techniques, so it stops short of a 5.

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 only implied: an agent can infer this is the tool for retrieving one known technique, but the description never says when to prefer it over pentest_map_techniques or pentest_lookup_group, nor does it state any exclusions. There is no explicit when/when-not guidance.

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.