Skip to main content
Glama

OnSecurity MCP Server

by onsecurity

get-blocks

Retrieve standardized security finding templates (blocks) from OnSecurity for vulnerability descriptions, risks, and recommendations. Filter and sort by round type, approval status, usage frequency, or custom criteria to streamline findings across pentests and scans.

Instructions

Get all blocks data from OnSecurity. Blocks are reusable security finding templates that can be used across different assessments. They contain standardized vulnerability descriptions, risks, and recommendations. Note that you can get how often a block is used, which is a way to get the most common findings ACROSS ALL CLIENTS ONLY as blocks are the basis of findings across pentests and scans.

Input Schema

NameRequiredDescriptionDefault
approvedNoOptional filter for approved blocks only
automation_approvedNoOptional filter for automation approved blocks only
fieldsNoOptional comma-separated list of fields to return (e.g. 'id,name,approved'). Use * as wildcard.
filtersNoOptional additional filters in format {field: value} or {field-operator: value} where operator can be mt (more than), mte (more than equal), lt (less than), lte (less than equal), eq (equals, default)
includesNoOptional related data to include as comma-separated values. Available: block_business_risks, block_field_variants, block_imports, block_references, block_remediations, block_target_types, block_variables, business_risks, remediations, revisions (e.g. 'block_business_risks,block_remediations')
limitNoOptional limit parameter for max results per page (e.g. 15)
pageNoOptional page number to fetch (default: 1)
round_type_idNoOptional round type ID to filter blocks, 1 = pentest round, 3 = scan round
searchNoOptional search term to filter blocks by matching text
sortNoOptional sort parameter in format 'field-direction'. Available values: id-asc, round_type_id-asc, name-asc, approved-asc, used_count-asc, created_at-asc, updated_at-asc, id-desc, round_type_id-desc, name-desc, approved-desc, used_count-desc, created_at-desc, updated_at-desc. Default: id-asc

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "approved": { "description": "Optional filter for approved blocks only", "type": "boolean" }, "automation_approved": { "description": "Optional filter for automation approved blocks only", "type": "boolean" }, "fields": { "description": "Optional comma-separated list of fields to return (e.g. 'id,name,approved'). Use * as wildcard.", "type": "string" }, "filters": { "additionalProperties": { "type": [ "string", "number" ] }, "description": "Optional additional filters in format {field: value} or {field-operator: value} where operator can be mt (more than), mte (more than equal), lt (less than), lte (less than equal), eq (equals, default)", "type": "object" }, "includes": { "description": "Optional related data to include as comma-separated values. Available: block_business_risks, block_field_variants, block_imports, block_references, block_remediations, block_target_types, block_variables, business_risks, remediations, revisions (e.g. 'block_business_risks,block_remediations')", "type": "string" }, "limit": { "description": "Optional limit parameter for max results per page (e.g. 15)", "type": "number" }, "page": { "description": "Optional page number to fetch (default: 1)", "type": "number" }, "round_type_id": { "description": "Optional round type ID to filter blocks, 1 = pentest round, 3 = scan round", "type": "number" }, "search": { "description": "Optional search term to filter blocks by matching text", "type": "string" }, "sort": { "description": "Optional sort parameter in format 'field-direction'. Available values: id-asc, round_type_id-asc, name-asc, approved-asc, used_count-asc, created_at-asc, updated_at-asc, id-desc, round_type_id-desc, name-desc, approved-desc, used_count-desc, created_at-desc, updated_at-desc. Default: id-asc", "type": "string" } }, "type": "object" }

Other Tools from OnSecurity MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/onsecurity/onsecurity-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server