Skip to main content
Glama

memory_agent_set

Replace an agent's org-shared memory profile (creates the entity if needed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoHarness label. Omit with slug/id to write the caller.
slugNoOntology slug, e.g. agent-cursor
agentNoOverride agent attribution label
body_mdYesCompressed markdown profile (role, current task, constraints). Keep short; server caps length. Org-visible — not a private soul.
cursor_agent_idNoCursor cloud agent id (bc-…)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure; it does communicate that this is a mutating, upsert-style operation (replace or create). It does not cover permission requirements, reversibility, or consequences for existing memory, so transparency is adequate but incomplete.

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?

One compact sentence states the action, scope, and key edge case (creates if needed) with no filler. The parenthetical carries meaningful behavioral information without bloating the description.

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?

For a five-parameter mutation tool with an output schema, this is minimally viable: schema covers parameters and return values, and the description covers the essential operation. It still lacks guidance on alternatives and exclusions (e.g., private vs. org-shared scope boundary is only in the schema), so it is not fully complete.

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 structured parameter docs already explain every argument. The tool description adds no parameter-level detail beyond the core concept, which is fine under the baseline for full schema coverage.

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 uses a specific verb ('Replace') with a clear resource ('an agent's org-shared memory profile') and adds the upsert behavior ('creates the entity if needed'). This distinguishes it from read-only siblings like memory_agent_get and memory_agent_list, and from ensure-style semantics, making the tool's role unambiguous.

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?

The description implies when to use it: when an agent's shared memory profile should be replaced or created. However, it does not explicitly state when not to use it or name alternatives such as memory_agent_ensure, leaving the routing decision partly to inference.

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.