Skip to main content
Glama
OWASP ASVS MCP Server
by clintcan

get_compliance_gap_analysis

Analyze gaps between implemented ASVS requirements and compliance framework needs, showing required controls for PCI DSS, HIPAA, GDPR, SOX, or ISO 27001 at target levels 1–3.

Instructions

Analyze gaps between current implementation and compliance requirements. Shows which ASVS requirements are needed for specific compliance frameworks.

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": {
      "frameworks": "<frameworks>",
      "target_level": "<target_level>"
    },
    "name": "get_compliance_gap_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameworksYesList of compliance frameworks to analyze
target_levelYesTarget ASVS level (1, 2, or 3)
implemented_requirementsNoList of ASVS requirement IDs already implemented (e.g., ['2.1.1', '3.2.1'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0-beta.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it never confirms this is a read-only analysis, says nothing about permissions or side effects, and does not explain what happens when implemented_requirements is omitted (assume nothing implemented?). The single sentence about return content ("which ASVS requirements are needed") is the only behavioral disclosure for a tool with no output schema.

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 with zero waste: the purpose is front-loaded and the second sentence covers output content. Nothing is repeated from the title or restated redundantly.

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?

All three parameters are covered by the schema, but with no output schema and no annotations the description should say more about the shape of the gap result and the default when implemented_requirements is absent. Adequate to select the tool, thin for invoking it confidently.

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 the schema already documents all three parameters including enum values and an example format for requirement IDs. The description adds only framing ("current implementation" maps loosely to implemented_requirements) and no syntax or semantics beyond the schema, so baseline 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?

States a specific verb and resource ("Analyze gaps between current implementation and compliance requirements") and adds that it returns the ASVS requirements needed per framework. That distinguishes it from listing siblings such as get_compliance_requirements, though it never names an alternative explicitly.

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: the phrase "current implementation" hints that the caller must supply what is already implemented, but there is no statement of when to prefer this over get_compliance_requirements or map_requirement_to_compliance, and no prerequisites or exclusions are given.

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