Skip to main content
Glama

validator_validate_length

Validate string or list length against minimum and maximum constraints. Returns validation status with length and reason.

Instructions

[validator] Validate string or list length. Returns {valid: bool, length: int, reason: str}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYes
min_lengthNo
max_lengthNo
Install Server

Other Tools

Latest Blog Posts

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/0-co/agent-friend'

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