Skip to main content
Glama

Submit a memory update

dm.submit_memory_update

Append a structured agent task report for human review. Contract 2.0.0 requires an authorized Execution id and context version; reports remain append-only and never create approved organizational knowledge or approve a candidate. Legacy inference and uncorrelated report compatibility remains supported.

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": {
      "task_reference": "<task_reference>",
      "summary": "<summary>",
      "outcome": "<outcome>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "dm.submit_memory_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
outcomeYes
summaryYes
task_idNo
evidence_linksNo
open_questionsNo
proposed_rulesNo
task_referenceYes
context_versionNocontext_version returned by the prepare call this task used.
follow_up_tasksNo
idempotency_keyYesRequired retry key, unique per workspace + agent installation + task_reference. A replay with the same key and payload returns the original receipt; the same key with a different payload is rejected. Use a new key for each distinct report.
proposed_skillsNo
applied_rule_idsNo
contract_versionNo1.6.0
applied_skill_idsNo
task_execution_idNoId returned by dm.prepare_task_memory for this task (recommended).
proposed_decisionsNo
provider_session_idNoOptional agent-claimed client/session identifier; never verified.
applied_decision_idsNo
raw_report_referenceNo
deviations_or_exceptionsNo
proposed_skill_revisionsNo
authorization_observationsNo
proposed_authorization_policiesNo
applied_authorization_policy_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / proposed_rules / items / properties / suggested_bindings / items / additionalProperties
      Added value: +false
    • addedInput schema / properties / proposed_skill_revisions / items / properties / suggested_bindings / items / additionalProperties
      Added value: +false
    • addedInput schema / properties / proposed_skills / items / properties / suggested_bindings / items / additionalProperties
      Added value: +false
  2. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses real behavioral traits: append-only storage, no side effect of creating approved knowledge, no candidate approval, and an authorization/context-version precondition. It does not describe what a successful call returns (a receipt) or the idempotency behavior that the schema hints at, which is a notable gap for a write tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first two sentences are front-loaded and earn their place, but the third sentence ('Legacy inference and uncorrelated report compatibility remains supported') is vague jargon that gives an agent no actionable rule. Contract version numbers are stated without explaining what changes between them.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 24-parameter mutation with no output schema and low schema coverage, the description is thin: it never explains the proposed_rules/proposed_skills/proposed_decisions payloads that distinguish this tool, nor what the returned receipt contains. The preconditions it does state are helpful but not enough for correct invocation.

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?

With 24 parameters and only 17% schema description coverage, the description carries most of the burden but explains only two fields (Execution id, context version). Worse, it says Contract 2.0.0 'requires' these while the schema marks task_execution_id and context_version as nullable optional defaults, so the agent gets no reliable guidance on the 20+ proposed_*/applied_* fields or on the required idempotency_key.

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 uses a specific verb+resource pair ('Append a structured agent task report') and states the routing destination ('for human review'), which separates it from approval tools like dm.approve_governed_knowledge. It does not name a specific sibling alternative, 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?

Usage context is implied (end-of-task reporting, human review, contract 2.0.0 preconditions), but there is no explicit 'use this when / use X instead' guidance against the many propose_* and capture_episodic_memory siblings. The clause about legacy and uncorrelated report compatibility hints at supported cases without defining them.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources