Skip to main content
Glama

memory_report

Read-only

Generate a compliance report for a specified window, aggregating recalls, refusals, writes, poisoning, deletions, and policy changes from the audit stream to support governance and proof.

Instructions

Compliance report for a window: recalls, refusals, writes, poisoning, deletions and policy changes, aggregated from the audit stream.

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

Input Schema

NameRequiredDescriptionDefault
daysNo
tenantNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish read-only, non-destructive, closed-world behavior, so the bar is lower; the description still adds real substance by disclosing the exact categories aggregated and the audit stream as the data source. It does not explain the 'window' semantics (default 30 days) or that results may vary as the stream grows, which is relevant given idempotentHint=false.

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?

A single sentence with the resource and scope front-loaded, followed by the enumerated aggregation categories; no filler words and nothing repeated from the schema or annotations.

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?

Because an output schema exists, return shape need not be described, and the aggregation source is clear. What is missing is parameter-level meaning (days and tenant) and any guidance on tenant scoping in multi-tenant use, which matters for a compliance tool where scope mistakes are costly.

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

Parameters2/5

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

Schema description coverage is 0% for both parameters, so the description must compensate — and mostly doesn't. 'Window' loosely gestures at the days parameter (default 30) but never says so, and the tenant parameter (default empty string) is entirely unaddressed; an agent cannot tell whether omitting it means all tenants or a default tenant.

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?

Names a concrete artifact (compliance report) and enumerates exactly what it aggregates: recalls, refusals, writes, poisoning, deletions and policy changes from the audit stream. That clearly distinguishes it from the raw-stream sibling (memory_audit_tail) and from memory_stats, though it never names those alternatives explicitly.

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 by 'compliance report for a window' — you would call it to get an aggregated compliance summary over a period. There is no explicit when-to-use/when-not statement, no mention of memory_audit_tail or memory_stats as alternatives, and no prerequisites stated, so the agent must infer routing.

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