Skip to main content
Glama
OWASP ASVS MCP Server
by clintcan

get_requirements_by_level

Retrieve all OWASP ASVS requirements for a specific verification level (L1, L2, or L3), with pagination for large result sets.

Instructions

Get all ASVS requirements for a specific verification level (L1, L2, or L3). L1 is for all applications, L2 for applications handling sensitive data, L3 for critical applications. 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": {
      "level": "<level>"
    },
    "name": "get_requirements_by_level"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelYesVerification 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0-beta.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the load: 'Get' implies read-only and it discloses pagination support for large result sets, which is useful. It omits the return shape (which ASVS fields come back), ordering, and confirmation that results are partitioned by level rather than level-tagged.

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 the purpose and parameter domain before the pagination note. No wasted clauses, though the level descriptions could be compressed into a single parenthetical.

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?

Covers purpose, the domain of the one required parameter, and pagination behavior; there is no output schema or annotations that would demand more. The main residual gap is what a returned requirement record contains, which matters slightly more here because no output schema exists.

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 100%, so the schema already documents all three parameters; baseline would be 3. The description goes beyond by explaining the meaning of each level value, which the enum description ('Verification level (1, 2, or 3)') does not, though it adds nothing new for limit/offset.

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 ('Get all ASVS requirements') plus the exact scoping dimension (verification level L1/L2/L3), which implicitly separates it from siblings like get_requirements_by_category or search_requirements. It does not explicitly name an alternative, 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?

Explains what each level means (L1 all applications, L2 sensitive data, L3 critical), which is genuine guidance on which value to choose. However, it gives no when-not-to-use conditions and never points to search_requirements or get_requirements_by_category for other query shapes.

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