Skip to main content
Glama

get_compliance_status

Generate compliance reports showing policy violations, security incidents, and governance health metrics to monitor security status and identify improvement actions.

Instructions

Get compliance status and security health metrics.

Generates a compliance report showing policy violations, security incidents, and overall governance health for the specified time period.

Args: time_range: Time range - "1h", "24h", "7d", "30d" (default: "24h") include_incidents: Include active incidents in report (default: true) include_policy_summary: Include policy overview (default: true)

Returns: JSON string with compliance report: - status: Overall status ("healthy", "warning", "critical") - metrics: Key security metrics - incidents: Active security incidents (if requested) - policies: Policy summary (if requested) - recommendations: Suggested actions to improve security

Example: # Get daily compliance status get_compliance_status(time_range="24h")

# Get weekly report with all details
get_compliance_status(time_range="7d", include_incidents=True)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
time_rangeNo24h
include_incidentsNo
include_policy_summaryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: it's a read-only operation (implied by 'Get' and 'Generates'), describes the report content structure, mentions default values for parameters, and provides example usage patterns. However, it doesn't mention potential limitations like rate limits, authentication requirements, or data freshness constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (purpose, args, returns, examples) and appropriately sized. Every sentence adds value, though the example section could be slightly more concise. The information is front-loaded with the core purpose stated first, followed by supporting details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (3 parameters, no annotations, but has output schema), the description is complete enough. It explains the purpose, parameters, return structure, and provides usage examples. The output schema existence means the description doesn't need to exhaustively document return values, and it provides adequate context for an agent to understand and use the tool effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by providing detailed parameter documentation in the 'Args' section, including all 3 parameters with their purposes, acceptable values, and defaults. It adds substantial meaning beyond what the bare schema provides, explaining what each parameter controls in the compliance report generation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('Get compliance status and security health metrics', 'Generates a compliance report') and resources ('policy violations, security incidents, overall governance health'). It distinguishes from siblings like 'get_audit_log' or 'report_incident' by focusing on comprehensive compliance assessment rather than logging or incident reporting.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage through the example scenarios ('Get daily compliance status', 'Get weekly report with all details'), but doesn't explicitly state when to use this tool versus alternatives like 'get_audit_log' or 'validate_action'. It provides context about time periods and detail levels but lacks explicit guidance on tool selection among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/PrateekKumar1709/policyguard'

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