Skip to main content
Glama
progressive_config.py518 B
from __future__ import annotations from typing import Literal Level = Literal["minimal", "normal", "verbose"] class DisclosureConfig: def __init__(self, level: Level = "normal") -> None: self.level = level def should_show(self, level: Level, stage: int) -> bool: if self.level == "verbose": return True if self.level == "normal": return level in ("minimal", "normal") # minimal mode return level == "minimal" and stage in ("summary", 0, 1)

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/Zazzles2908/EX_AI-mcp-server'

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