Skip to main content
Glama

AI Code Security Gate

Store Agent Memory

memory_store

Store a memory for a project (isolated per API key). Costs 2¢.

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": {
      "project_id": "<project_id>",
      "memory_content": "<memory_content>"
    },
    "name": "memory_store"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNo
project_idYes
memory_contentYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive, closed-world write. The description adds two facts the annotations do not carry: the operation is billable (2¢), which materially affects how often an agent should call it, and storage is isolated per API key. It omits what happens on repeated stores of identical content, which is the main remaining behavioral gap.

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?

Two short sentences with the core action and scope front-loaded and the cost caveat trailing. Nothing is padded and nothing is buried.

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?

An output schema exists, so return values need not be explained, and the safety profile is covered by annotations. However, with three undocumented parameters at 0% schema coverage and no guidance on duplicate writes or budget interplay, the description is thinner than the tool's call surface warrants.

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?

Schema description coverage is 0%, so the description must compensate and largely does not. "For a project" loosely maps to project_id and "isolated per API key" loosely maps to api_key, but there is no guidance on format, where project_id comes from, or whether api_key should be omitted in favor of ambient credentials; memory_content is entirely undescribed.

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 and resource ("Store a memory") plus the scoping unit ("for a project"), which is enough to distinguish it from the sibling memory_retrieve. It stops short of explicitly naming the retrieval counterpart, but the store/retrieve split is evident.

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

Usage Guidelines2/5

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

No when-to-use context, no prerequisites, and no mention of when not to store (e.g. duplicates, rate limits, budget checks). The only contextual signal is the per-API-key isolation note, which is scoping rather than usage guidance.

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.