Skip to main content
Glama

remember_decision

Read-onlyIdempotent

Capture decisions during a session and write them to the knowledge graph. Confidence scoring auto-accepts high-confidence records, queues mid-confidence for approval, and discards low-confidence ones.

Instructions

Live agent write into the decision knowledge graph. Confidence-scores the input and routes it through the memoir review queue: high-confidence rows enter the active graph immediately, mid-confidence rows queue for human approval, low-confidence rows are dropped without persistence. Per-session dedup + rate-limit. Use during a session to capture decisions in real time. For manual high-confidence writes use add_decision; for post-hoc extraction from session logs use mine_sessions. Returns JSON: { id, review_status, confidence, deduplicated? }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoTags for categorization (e.g., ["auth", "security"])
typeYesDecision type
titleYesShort summary of the decision
contentYesFull decision text — reasoning, context, tradeoffs
file_pathYesFile path this decision is about
symbol_idNoSymbol FQN this decision is about (e.g., "src/auth/provider.ts::AuthProvider#class")
git_branchNoGit branch this decision belongs to. Omit to auto-detect, or pass null to make it branch-agnostic.
session_idNoSession identifier for dedup/rate-limit (default: "_default")
service_nameNoSubproject name this decision is about (e.g., "auth-api", "user-service")

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv3.3.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Addedv1.41.0
  3. Removedv1.38.0
  4. Addedv1.36.1

TDQS

A3.8/5.0
Behavior1/5

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

Annotation Contradiction: annotations declare readOnlyHint=true, while the description explicitly says 'Live agent write', routes rows through a review queue, drops low-confidence rows, and persists data. This is a direct contradiction that makes the tool's behavioral contract untrustworthy.

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?

The description is dense but every clause earns its place: core behavior, routing rules, dedup/rate-limit, usage timing, sibling alternatives, and return shape. It is front-loaded and avoids filler.

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?

Despite the annotation contradiction, the description itself provides the routing behavior, persistence semantics, return JSON shape, and usage context, while the schema covers all parameters. With no output schema, the explicit return shape is a strong addition. The conflicting readOnly annotation prevents a perfect score.

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 fully documents all 9 parameters. The description adds little parameter-level meaning beyond confirming session-based dedup and rate-limit behavior, which the schema already mentions for session_id. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies a specific action ('write into the decision knowledge graph'), the confidence-routing behavior, and explicitly contrasts itself with add_decision and mine_sessions. An agent can distinguish this tool from its siblings without inspecting schemas.

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

Usage Guidelines5/5

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

States exactly when to use it ('capture decisions in real time') and names the alternatives for other scenarios: add_decision for manual high-confidence writes and mine_sessions for post-hoc extraction from session logs.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nikolai-vysotskyi/trace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server