Skip to main content
Glama

Update memory settings

stack_memory_update_settings

Change the account's memory settings; what is left out keeps its value. enabled turns memory on or off: off, new writes are refused and writes still waiting fail. call_memory_access decides whether STACK's model may search the account's memory and knowledge base during a call STACK holds, as the agent that placed or answered the call sees them (on by default). With this on, a caller can try to get the call's model to read out what is in memory or the brain. Owner or admin only: refused to an agent. Free.

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": "stack_memory_update_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledNotrue for on, false for off
call_memory_accessNotrue lets STACK's model search memory and the knowledge base during a call it holds. With this on, a caller can try to get the call's model to read out what is in memory or the brain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare it is a non-read-only, non-open-world, non-destructive write; the description adds substantial context the annotations do not carry: partial-update merge behavior, the operational consequence of disabling (new writes refused, pending writes fail), the default value of call_memory_access, authorization requirements, and cost. It does not describe the response, but the disclosure of side effects and permissions is well beyond annotation coverage.

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

Conciseness4/5

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

Front-loads the mutation and merge semantics before parameter detail, and every clause carries operational meaning. The prompt-injection warning is repeated almost verbatim from the schema's parameter description, a small redundancy.

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?

For a two-boolean, no-required-parameter settings mutation with no output schema, the description covers reversibility, defaults, permissions, and risk. What is missing is only the shape of the returned settings after the update, a minor gap given the tool's simplicity.

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; the description earns above baseline by explaining the real-world effect of each flag (what 'off' does to writes and in-flight jobs) and by stating that call_memory_access is on by default, which the schema does not say. The call_memory_access explanation largely restates the schema text, which limits it to a 4 rather than 5.

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?

States a specific verb and resource ('Change the account's memory settings') and immediately clarifies the patch semantics ('what is left out keeps its value'). An agent can distinguish this mutation tool from the read-side siblings such as stack_memory_get_settings without opening the schema.

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

Usage Guidelines4/5

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

Gives clear conditions: use it to change settings, omit fields to preserve values, and it is refused to an agent — only owner or admin may call it. It does not explicitly name stack_memory_get_settings as the way to inspect current values first, so the sibling routing is implied rather than stated.

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.