Skip to main content
Glama

Governance Check

memory-govern

Run advisory checks on stored memories to detect contradictions, semantic drift, or prompt-injection risks; use full to run all checks.

Instructions

Advisory checks: "check" (contradictions), "drift" (semantic drift), "poison" (injection scan), "full" (all).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "memory-govern"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesGovernance action.
domainNoFilter by domain.
contentNoContent to check (required for "check").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. The word 'advisory' is a genuinely useful disclosure (non-blocking, no enforcement), but nothing says whether the tool mutates state, whether it requires login/auth like memory-login suggests for this family, what 'full' costs, or how results are reported. For an unannotated multi-mode tool this is a substantial gap.

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 telegraphic sentence that front-loads the 'advisory' framing and then maps each action to its purpose; every clause carries information and there is no filler. The fragment style is dense but readable and well-ordered.

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 three parameters, full schema coverage, and no output schema, the definition covers the mode taxonomy adequately but omits the return shape (per-mode findings? severity? verdict?) and any guidance on interpreting or acting on results. An agent could call it, but would not know what to expect back.

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 100%, so the baseline is 3, and the description climbs above it by giving each enum value real meaning ('check' = contradictions, 'drift' = semantic drift, 'poison' = injection scan, 'full' = all) whereas the schema only says 'Governance action.' It says nothing about `domain` or the check-only `content` parameter, but those are covered in schema descriptions.

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 verb (advisory checks) and enumerates four concrete modes with their targets: contradictions, semantic drift, injection scanning, and all-of-the-above. It is clearly distinguishable from siblings like memory-kg-query or memory-maintain, though it never states the resource being checked (memory entries? domains?) 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 only implied by the mode names; there is no statement of when to prefer 'full' over a single mode, when a governance check is warranted versus memory-maintain, or any cost/latency tradeoff between the four. The mode glosses give an agent enough to infer intent, but nothing is explicit.

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