Skip to main content
Glama
Firenook

Firenook

Official

rules_list_denials

Read-onlyIdempotent

Lists recent Security Rules denials for app clients, with filters by user, path, time, and service; enable explain to see the rule lines that denied each request.

Instructions

Recent requests the Security Rules denied (app clients only; admin and owner requests skip the rules), newest last; with explain, the rule lines that denied each one.

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

Input Schema

NameRequiredDescriptionDefault
uidNoOnly this user's requests
fromNoDenials at or after: RFC 3339, today or relative like -15m
pathNoOnly paths starting with this
limitNoAt most this many; default 20
explainNoFetch the deciding rule lines of each denial (at most 20)
serviceNoOnly firestore or storage; default both

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already cover read-only, idempotent, non-destructive and closed-world, so the bar is low. The description still adds real behavior: result ordering, the app-client-only population, and that explain returns deciding rule lines. The remaining gap is that it doesn't mention latency, auth requirements, or the per-entry 20-item cap for explain (left to the schema).

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?

It is a single compact sentence, and the core resource ('recent requests the Security Rules denied') is front-loaded. Parenthetical and semicolon clauses remain readable, though the density borders on terse for a six-parameter tool.

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

Completeness3/5

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

This is a filtered read with no output schema and six optional parameters, so the agent must infer the return shape. The description gives ordering and the explain payload but not the fields in each denial entry (path, uid, timestamp, service) or what happens when no denials match. Adequate, with clear gaps a caller would notice.

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%, so the schema already defines all six parameters, including enum and range limits. The description only adds meaning for explain (the rule lines that denied each one) and confirms the newest-last ordering tied to from. That is minor incremental value over a fully documented 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?

The description names a specific resource and verb: it lists recent requests that Security Rules denied. It narrows scope precisely by excluding admin/owner traffic and states ordering ('newest last') and the effect of the explain flag. It stops short of naming a sibling such as rules_evaluate or rules_get to differentiate itself.

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 implied rather than stated: you call this to diagnose rule denials from app clients. It helpfully warns that admin and owner requests never appear because they skip the rules, which keeps an agent from drawing wrong conclusions. But it never says when to prefer rules_evaluate or rules_get instead, and gives no prerequisites.

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