Skip to main content
Glama
mcp-server-asvs-security-assistant

mcp-server-asvs-security-assistant

by itssaeedyari

search_asvs_requirements

Read-onlyIdempotent

Finds applicable OWASP ASVS requirements for application security questions using keyword search with optional level or chapter filters.

Instructions

Use first for any application security question (e.g. "how should we store passwords?", "what does ASVS say about JWT validation?", "how do we prevent SSRF?") to find the ASVS requirements that apply. Keyword search over requirement text and section and chapter names, with acronyms such as XSS, SQLi, CSP, MFA and OTP expanded. Optional filters: level (1-3; keeps requirements that apply at that level, so 2 includes level 1) and chapter (an ID such as 'V6' or a name such as 'Authentication'). An empty query lists the filtered requirements in ID order. Returns compact summaries ranked by relevance.

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": {
      "query": "<query>"
    },
    "name": "search_asvs_requirements"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNo
limitNo
queryYes
chapterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real behavioral context on top: what the search matches against, acronym normalization, relevance ranking, ID ordering on empty query, and the inclusive semantics of the level filter. These are non-obvious traits that a caller could not infer from the annotations.

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?

Front-loaded with the routing instruction, then matching behavior, then filters, then return shape — a logical order with no filler sentences. The parenthetical question examples and the acronym list are slightly verbose, but both carry information an agent uses for matching and routing.

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?

No output schema exists, and the description compensates by stating the return form ('compact summaries ranked by relevance'). Four parameters are handled except the limit's meaning, and there are no mutation or auth concerns to disclose. The remaining gap is small rather than structural.

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 0%, so the description has to carry parameter meaning, and it mostly does: level is explained with the crucial inclusive semantics ('2 includes level 1'), chapter accepts either an ID form ('V6') or a name, and query's matching scope and empty-value behavior are given. Only limit (type and default, but not units or bounds) goes unexplained.

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 concrete verb and resource (keyword search over ASVS requirement, section and chapter text) and adds scope details an agent can act on: acronym expansion, relevance ranking, ID-ordered listing for empty queries. It also positions itself ahead of the siblings by declaring 'Use first for any application security question', so it is distinguishable from lookups like get_asvs_requirement without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The opening clause gives an explicit trigger condition ('Use first for any application security question') plus representative question shapes. It also documents an edge case (empty query lists filtered requirements). It stops short of naming when to prefer a sibling (e.g. fetching a single requirement by ID) or any exclusions, so it is clear context without full routing.

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