Skip to main content
Glama

amem_recipe

Returns guidance for choosing between reading context and writing memory when an agent is unsure which memory action to take, using one consistent recipe across MCP hosts.

Instructions

Return the generic amem remember contract: when to call amem_context vs amem_remember. Use if you are unsure whether to read or write memory. Same recipe for every MCP host. Takes no arguments.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.5
    • addedInput schema / required
      Added value: +[]
  2. First observedv0.4.2

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. "Return" and "Takes no arguments" imply a passive, read-only lookup with no side effects, and "Same recipe for every MCP host" discloses host-independence, but it never explicitly states there are no side effects or auth requirements.

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?

Three short sentences, front-loaded with what is returned and followed immediately by the decision rule. Every sentence adds a distinct fact (what, when, and the no-arg/host-agnostic properties) with no waste.

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 zero-parameter, static-guidance tool with no output schema, the description covers what it returns, when to call it, and that it takes no arguments. It could say slightly more about the shape of the returned guidance, but nothing needed to invoke it correctly is missing.

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?

The tool has zero parameters, which is the baseline-4 case. The description reinforces this by explicitly saying "Takes no arguments," matching the empty schema exactly with no risk of confusion.

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?

States a specific verb ("Return") and resource ("the generic amem remember contract") and names the two siblings it disambiguates (amem_context vs amem_remember). "Contract" is slightly abstract about the payload, keeping it from 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 Guidelines4/5

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

"Use if you are unsure whether to read or write memory" gives an explicit trigger condition, and the amem_context/amem_remember comparison implies the alternative path when the agent is already sure. It stops short of stating an explicit when-not-to-call case.

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