Skip to main content
Glama
OWASP ASVS MCP Server
by clintcan

get_compliance_requirements

Retrieve ASVS requirements mapped to PCI DSS, HIPAA, GDPR, SOX, or ISO 27001 to identify controls that support regulatory compliance, with optional level filtering and pagination.

Instructions

Get ASVS requirements mapped to specific compliance frameworks (PCI DSS, HIPAA, GDPR, SOX, ISO 27001). Useful for understanding which ASVS controls help meet regulatory requirements. Supports pagination for large result sets.

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": {
      "framework": "<framework>"
    },
    "name": "get_compliance_requirements"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoOptional: filter by ASVS level (1, 2, or 3)
limitNoOptional: maximum number of results to return (default: 100, max: 500). Use for pagination.
offsetNoOptional: number of results to skip (default: 0). Use for pagination.
frameworkYesCompliance framework

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0-beta.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: 'Get' implies a read, and 'Supports pagination for large result sets' usefully signals that results may be chunked. However, it does not state ordering of results, whether a total count is returned, or any permissions/auth requirements, leaving meaningful behavioral gaps for a zero-annotation tool.

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?

Three short sentences, front-loaded with purpose followed by use case and pagination note. The parenthetical framework list partially duplicates the schema enum and could be trimmed, but nothing is padded or buried.

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?

For a 4-parameter read tool with no output schema and no annotations, the description explains what is retrieved and that pagination exists, but says nothing about the shape or ordering of returned requirements. It is adequate but leaves the agent guessing on result structure.

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% with enums and defaults documented for level, limit, offset, and framework, so the schema does all the work. The description adds nothing beyond restating the framework list already in the enum, so the 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?

Names a specific verb and resource ('Get ASVS requirements mapped to specific compliance frameworks') and enumerates the supported frameworks, so the agent knows exactly what it retrieves. It does not differentiate itself from close siblings like get_compliance_gap_analysis or map_requirement_to_compliance, which keeps it out of the 5 tier.

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 sentence 'Useful for understanding which ASVS controls help meet regulatory requirements' implies the use case, but there is no explicit when-to-use vs when-to-prefer-a-sibling guidance and no exclusions. An agent must infer that this is the lookup tool and gap_analysis is the analysis tool.

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