Skip to main content
Glama

get_verdict_summary

Aggregate policy verdicts over a time range and group traffic by destination, verdict, device, and user to reveal patterns before creating or tuning policies.

Instructions

Get an aggregated summary of policy verdicts over a time range. Groups traffic by destination, verdict, device, and user to identify patterns.

Use this to understand traffic flows before creating or modifying policies. Particularly useful for finding:

  • Frequently dropped traffic that may need a new Allow policy

  • Overly broad Accept rules that could be tightened

  • Unusual traffic patterns from specific devices

Args: start: Start time — RFC3339 or relative (e.g., "7d", "24h"). end: End time — RFC3339 or "now". limit: Max raw entries to analyze (default 5000).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "get_verdict_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
limitNo
startYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It usefully reveals the aggregation/grouping behavior and that `limit` caps the raw entries analyzed, which hints at possible truncation, but it never says whether results are silently incomplete past that cap, nor what permissions are needed. Read-only intent is only implied by the verb 'Get'.

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 purpose is front-loaded in the first sentence, with grouping, use-case, and argument details layered after. The bullet list is short and each item adds a distinct signal, though the Args block restates defaults already present in the schema.

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?

An output schema exists, so return-shape explanation is unnecessary, and the description covers purpose, grouping, when-to-use, and all three parameters with formats. For a three-parameter read tool, an agent has everything needed to invoke it correctly.

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

Parameters4/5

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

Schema description coverage is 0%, so the description is the only source of parameter meaning, and it documents all three: start/end as RFC3339 or relative forms like '7d'/'24h'/'now', and limit as max raw entries with a 5000 default. It does not bound limit or clarify timezone/clock semantics, so it falls short of fully compensating.

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

Purpose4/5

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

The description states a specific verb and resource ('aggregated summary of policy verdicts') plus the grouping dimensions (destination, verdict, device, user), which clearly separates it from a raw log tool like query_verdict_logs. It stops short of naming a sibling explicitly, so an agent must infer the boundary from the word 'aggregated'.

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

Usage Guidelines4/5

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

It gives concrete usage context ('use this to understand traffic flows before creating or modifying policies') and enumerates three actionable findings the tool surfaces. It does not state when NOT to use it or name the raw-log alternative for drill-down, leaving the exclusion side implicit.

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