Skip to main content
Glama

memory_policy

Read-only

Inspect the active policy’s revision, fingerprint, and source path, and optionally dump its full config to debug deployments and review the permission model.

Instructions

The active policy's identity: revision, fingerprint and source path.

include_config dumps the full policy. Useful for a human debugging a deployment; be aware it reveals the whole permission model.

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_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_configNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, non-destructive, closed-world), so the description's job is to add context — and it does: it warns that include_config reveals the entire permission model, a data-exposure caveat not present in the structured fields. It could additionally note the size/noise cost of dumping the full config, but the key risk is disclosed.

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?

Three short clauses, front-loaded with what is returned, then the parameter behavior, then the caution. No filler or restated title.

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?

An output schema exists, so return-value detail is not required, and the description still names the three identity fields. For a one-parameter read-only tool this is nearly complete; the only soft spot is not clarifying where the policy is sourced from or how a missing policy surfaces.

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 coverage is 0% and the schema only declares a bare boolean, so the description must carry the meaning — it explains that include_config dumps the full policy and implies the default identity-only response. That is the essential semantic gap filled; it does not spell out the default value explicitly (schema does) or the shape of the dumped config.

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 resource (the active policy) and enumerates the returned identity fields: revision, fingerprint, source path. An agent can tell this is a read of policy metadata rather than recall/verify/sweep. It does not explicitly contrast itself with siblings like memory_verify, so it stops short of a 5.

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?

Offers implied context ('useful for a human debugging a deployment') which tells the agent this is a diagnostic/introspection call, but gives no explicit when-not conditions and names no alternative tool for related questions about policy content or verification.

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