Skip to main content
Glama

GlassTape Policy Builder

Official
by GlassTape
suggest_improvements.pyβ€’812 B
"""Security analysis tool - red team analysis and improvements.""" from typing import Dict, Any, Optional from .shared_utils import PolicyPipeline async def suggest_improvements_tool(args: Dict[str, Any]) -> str: """Analyze policy for security issues using 6 essential checks.""" policy_yaml = args.get("policy_yaml", "") icp_data = args.get("icp") if not policy_yaml: return "Error: 'policy_yaml' parameter required." try: pipeline = PolicyPipeline() findings = pipeline.analyze_security(policy_yaml, icp_data) response = "# πŸ”’ Security Analysis\n\n" response += pipeline.analyzer.format_findings(findings) return response except Exception as e: return f"Error analyzing policy: {str(e)}"

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/GlassTape/agent-policy-builder-mcp'

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