Skip to main content
Glama
mcp-server-asvs-security-assistant

mcp-server-asvs-security-assistant

by itssaeedyari

get_pci_dss_mapping

Read-onlyIdempotent

Maps ASVS requirement IDs to PCI DSS v4.0.1 requirements and PCI DSS IDs back to ASVS, highlighting conflicts or stricter PCI DSS controls for payment application security.

Instructions

Use when PCI DSS and application security meet: a payment application, a PCI DSS requirement ID in a finding, or "which ASVS requirements help with PCI DSS 6.2.4?". An ASVS ID ('V9.1.1', a section 'V6.2' or a chapter 'V6') returns the PCI DSS v4.0.1 requirement IDs it helps meet. A PCI DSS ID ('6.2.4', a section '8.3' or a requirement '8') returns the ASVS requirements behind it. Both directions include notes where the standards conflict or PCI DSS is stricter (passwords, lockout, timeouts). Community mapping of IDs only: PCI DSS text comes from the PCI DSS compliance assistant (get_requirement_details), if connected.

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": {
      "requirement_id": "<requirement_id>"
    },
    "name": "get_pci_dss_mapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
requirement_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description still adds real value: it flags the data as a "community mapping of IDs only" (i.e., non-authoritative), notes that results include conflict/stricter-standard annotations for passwords, lockout and timeouts, and points to get_requirement_details for authoritative PCI DSS text. It does not say what an unrecognized ID returns or how the result set is shaped, which keeps it below a 5.

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?

Front-loads the usage trigger, then example input/output pairs, then the provenance caveat — a sensible ordering with no filler sentences. It is dense with parenthetical examples that slightly lengthen the read, but each one disambiguates an accepted ID format.

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?

There is no output schema, so the description must describe return values — and it does (requirement IDs in each direction, plus conflict/stricter notes). Combined with the one-parameter schema fully explained via format examples and the provenance caveat, an agent has everything needed to call it correctly.

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?

Schema coverage is 0% (a single undocumented string `requirement_id`), so the description must carry the burden — and it does, enumerating accepted formats on both sides: 'V9.1.1', 'V6.2', 'V6' versus '6.2.4', '8.3', '8'. What it never states outright is that the single parameter accepts either standard's identifier form; the agent must infer that from the two-directional framing.

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 (returns PCI DSS requirement IDs / ASVS requirements) and explains the bidirectional lookup explicitly: "An ASVS ID ('V9.1.1', a section 'V6.2' or a chapter 'V6') returns the PCI DSS v4.0.1 requirement IDs it helps meet. A PCI DSS ID ('6.2.4', ...) returns the ASVS requirements behind it." This distinguishes it from siblings like get_asvs_requirement, which fetch requirement text rather than cross-standard mappings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Opens with a concrete when-to-use trigger ("Use when PCI DSS and application security meet: a payment application, a PCI DSS requirement ID in a finding, or 'which ASVS requirements help with PCI DSS 6.2.4?'") and names the boundary condition and alternative: PCI DSS text comes from get_requirement_details. That is explicit when-to-use plus when-to-go-elsewhere.

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