Skip to main content
Glama
OWASP ASVS MCP Server
by clintcan

get_requirements_by_category

Retrieve OWASP ASVS requirements for a specific category, with optional verification-level filtering and pagination for large result sets.

Instructions

Get all ASVS requirements for a specific category (e.g., Authentication, Session Management, Access Control, etc.). 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": {
      "category": "<category>"
    },
    "name": "get_requirements_by_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoOptional: filter by verification 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.
categoryYesCategory name (e.g., 'Authentication', 'Session Management', 'Access Control', 'Validation, Sanitization and Encoding', 'Error Handling and Logging')

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 discloses that this is a read operation scoped to a category and that results can be paginated. It does not explain ordering, return fields, how optional level filtering affects the 'all' claim, or error behavior.

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?

The description is two compact sentences with the main purpose front-loaded. It has no filler, though the pagination sentence largely repeats schema information.

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 simple retrieval tool with fully documented parameters, the definition is adequate but leaves two notable gaps: the optional level filter is not mentioned, and there is no output schema to explain return shape. These are not fatal but limit completeness.

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 all four parameters are already documented in the schema. The description adds no syntax, defaults, or constraints beyond what the schema provides, so the baseline score 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?

The description states a specific verb and resource ('Get all ASVS requirements') with a clear category scope and examples. It distinguishes itself from level-based retrieval by focusing on category, though it does not explicitly name the sibling tool.

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?

It gives category examples and notes pagination for large result sets, implying use for category-scoped browsing. However, it does not say when to prefer this over get_requirements_by_level or search_requirements.

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