Skip to main content
Glama

Inspect Active Policy & Compactor Status

monaa_inspect_policy
Read-onlyIdempotent

Inspect active firewall rules and payload compactor status in read-only mode to verify blocked secret paths, destructive commands, and allowed localhost/IDE origins.

Instructions

Read-only inspection of active public MONAA wire firewall rules (blocked secret-path patterns, blocked destructive command patterns, allowed localhost/IDE origins) and local payload compactor status (0 internal secrets exposed).

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": "monaa_inspect_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionNoPolicy section to inspect (`all`, `firewall`, `allowlist`, or `compactor`).all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered elsewhere. The description adds legitimate context by enumerating which rule categories are exposed, but the parenthetical '(0 internal secrets exposed)' reads as a marketing claim about output rather than behavioral disclosure, and nothing is said about response shape or size.

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?

A single front-loaded sentence that leads with the read-only nature and then the resources inspected. It is dense but the parenthetical rule listing and the '(0 internal secrets exposed)' clause are heavier than needed for one sentence.

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

Completeness4/5

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

For a one-optional-parameter, read-only inspection tool with full annotation coverage and no output schema, the description gives enough to call it correctly by naming the inspectable domains. The absence of any statement about what the response contains is a minor gap at this complexity level.

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

Parameters3/5

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

Schema description coverage is 100% and the single enum parameter is fully documented with its default, so the schema carries the burden. The description's mention of firewall/allowlist/compactor sections loosely maps to the enum values but adds no syntax or defaulting detail beyond the schema.

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 (read-only inspection) and specific resources: MONAA wire firewall rules (blocked secret-path patterns, blocked destructive command patterns, allowed localhost/IDE origins) and payload compactor status. It is clear what the tool does, but it never distinguishes itself from siblings such as monaa_doctor, which plausibly covers overlapping diagnostic territory.

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?

Usage is only implied by the word 'inspection' – the description neither states when an agent should call it nor when to prefer monaa_doctor or monaa_compact_payload instead. No prerequisites or exclusions are given, so the routing decision is left to inference.

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