Skip to main content
Glama
OWASP ASVS MCP Server
by clintcan

map_requirement_to_compliance

Identify which compliance frameworks a specific ASVS requirement satisfies to assess regulatory impact and map controls to standards such as HIPAA.

Instructions

Show which compliance frameworks a specific ASVS requirement helps satisfy. Useful for understanding the regulatory impact of implementing a control.

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": "map_requirement_to_compliance"
  }
}

Input Schema

NameRequiredDescriptionDefault
requirement_idYesASVS requirement ID (e.g., '2.1.1')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0-beta.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; the verb 'Show' implies a read-only lookup, which is appropriate disclosure for a one-parameter query. It does not state whether an unknown requirement_id errors or returns empty, nor whether results include mapping strength or just framework names — modest but not critical gaps for a simple lookup.

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 short sentences with zero filler; the core purpose is front-loaded and the secondary sentence adds context rather than repeating the first.

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 single-parameter read lookup with no output schema, the description conveys enough: what is looked up and what category of result comes back (compliance frameworks). It could be slightly more explicit about the return shape (framework names vs. mapping strength), which keeps it short of a 5.

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 single parameter already has an example ('2.1.1'), so the schema does the heavy lifting. The description only restates that the input is 'a specific ASVS requirement' and adds no format, validation, or edge-case guidance beyond it.

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 ('Show which compliance frameworks') applied to a precise resource (a specific ASVS requirement). This mapping behavior is clearly distinct from sibling-style lookups such as get_requirement_details or get_compliance_requirements, which would return requirement text or lists rather than a per-requirement framework mapping.

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 the regulatory impact of implementing a control' implies a usage context, so the intent is inferable. However, it never states when to choose this over related tools like get_compliance_gap_analysis or get_requirement_details, and offers no exclusions or prerequisites.

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