Skip to main content
Glama

Procedural Rules

memory-rules

Show active procedural rules learned from past corrections and user preferences, so agents can recall what to follow before acting.

Instructions

Show active procedural rules learned from corrections and preferences.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full load; it does imply a non-mutating retrieval via "Show" and clarifies that rules are derived artifacts from corrections and preferences, plus that only "active" ones are returned. It does not state the return shape, whether inactive rules exist and how they differ, or whether reading has any side effects.

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 front-loaded sentence with no filler, and the scope qualifier "active" appears before the provenance clause. Nothing could be trimmed without losing meaning.

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?

With no input schema, no output schema, and no annotations, the description is the only spec, and it leaves the agent guessing about the result format and how rules relate to other memory artifacts. For a nullary read this is workable but thinner than ideal, since the agent cannot tell what a rule record looks like or how to act on one.

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 there is no parameter semantics to document and the baseline of 4 applies. The description correctly implies an unfiltered full listing rather than a parameterized query.

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 definition pairs a concrete verb ("Show") with a specific resource ("active procedural rules") and adds provenance ("learned from corrections and preferences"), so an agent knows exactly what content comes back. It stops short of distinguishing itself from near-siblings such as memory-dossier or memory-search, which might also surface stored preferences.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance: nothing says whether to call this before applying a correction, or which tool to prefer when looking for preferences versus rules. The word "active" hints at a filtering state, but the trigger conditions and any alternatives are left entirely to inference.

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