Skip to main content
Glama

HiveAuth MCP Server

by AlyssonM

validate_presentation_definition

Ensure presentation definitions comply with DIF PEX v2.0 specification. Validate input descriptors, constraints, and schemas, and receive improvement recommendations for best practices.

Instructions

Validate presentation definitions against DIF PEX v2.0 specification. Performs comprehensive compliance checking, best practices validation, and provides improvement recommendations.

Input Schema

NameRequiredDescriptionDefault
checkSchemasNoWhether to validate referenced credential schemas
presentationDefinitionYesDIF PEX Presentation Definition
strictNoWhether to perform strict DIF PEX v2.0 validation

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "definitions": {}, "properties": { "checkSchemas": { "default": false, "description": "Whether to validate referenced credential schemas", "type": "boolean" }, "presentationDefinition": { "additionalProperties": false, "description": "DIF PEX Presentation Definition", "properties": { "id": { "minLength": 1, "type": "string" }, "input_descriptors": { "items": { "additionalProperties": false, "description": "DIF PEX Input Descriptor", "properties": { "constraints": { "additionalProperties": false, "description": "DIF PEX Constraints", "properties": { "fields": { "items": { "additionalProperties": false, "description": "DIF PEX Field constraint", "properties": { "filter": { "additionalProperties": true, "properties": {}, "type": "object" }, "name": { "type": "string" }, "path": { "items": { "type": "string" }, "minItems": 1, "type": "array" }, "predicate": { "enum": [ "required", "preferred" ], "type": "string" }, "purpose": { "type": "string" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "limit_disclosure": { "enum": [ "required", "preferred" ], "type": "string" }, "statuses": { "additionalProperties": false, "properties": { "active": { "additionalProperties": false, "properties": { "directive": { "enum": [ "required", "allowed", "disallowed" ], "type": "string" } }, "required": [ "directive" ], "type": "object" }, "revoked": { "additionalProperties": false, "properties": { "directive": { "enum": [ "required", "allowed", "disallowed" ], "type": "string" } }, "required": [ "directive" ], "type": "object" }, "suspended": { "additionalProperties": false, "properties": { "directive": { "enum": [ "required", "allowed", "disallowed" ], "type": "string" } }, "required": [ "directive" ], "type": "object" } }, "type": "object" } }, "type": "object" }, "id": { "minLength": 1, "type": "string" }, "name": { "type": "string" }, "purpose": { "type": "string" }, "schema": { "items": { "additionalProperties": false, "properties": { "required": { "type": "boolean" }, "uri": { "format": "uri", "type": "string" } }, "required": [ "uri" ], "type": "object" }, "type": "array" } }, "required": [ "id" ], "type": "object" }, "minItems": 1, "type": "array" }, "name": { "type": "string" }, "purpose": { "type": "string" }, "submission_requirements": { "items": { "additionalProperties": true, "properties": {}, "type": "object" }, "type": "array" } }, "required": [ "id", "input_descriptors" ], "type": "object" }, "strict": { "default": true, "description": "Whether to perform strict DIF PEX v2.0 validation", "type": "boolean" } }, "required": [ "presentationDefinition" ], "type": "object" }

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/AlyssonM/hiveauth-mcp'

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