Skip to main content
Glama

get_policy

Retrieves the complete network policy document—resources, resource groups, and Accept/Reject/Drop rules—so you can audit or troubleshoot zero-trust access.

Instructions

Get the complete network policy document. Returns three sections:

  • resources: network objects (IP/CIDR/DNS targets with protocol and ports)

  • resource_groups: named groups of resources used as policy destinations

  • policies: rules mapping source (who) to destination (what) with an action (Accept/Reject/Drop)

This is the core of Bowtie's zero-trust model. Read this first when auditing or troubleshooting access.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden; 'Get' implies a read-only operation and the section breakdown clarifies what comes back, but there is no explicit statement about side effects, permissions, or pagination. It adds useful structure to the output but little beyond that.

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

Conciseness5/5

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

Front-loads the core purpose, then a tightly bulleted breakdown of the three sections, then a one-line usage cue. No wasted wording and the layout maps directly to the returned document.

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?

A simple zero-parameter tool with an output schema and no annotations; the description covers purpose, return structure, and when to reach for it. Nothing an agent needs in order to call it correctly is missing.

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?

The tool takes zero parameters, so the baseline is 4. There are no input semantics to clarify and the description correctly does not invent any.

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?

States a specific verb and resource ('Get the complete network policy document') and enumerates the three returned sections, making the scope concrete. It does not name a specific sibling for contrast, but the unique resource scope distinguishes it from generic getters like get_collection.

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?

Gives explicit timing guidance ('Read this first when auditing or troubleshooting access'), which tells an agent when this tool is the entry point. It does not state when-not to use it or name alternatives such as check_access, so it falls short of a 5.

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