Skip to main content
Glama
Open Agent Memory

Open Agent Memory

Inspect an OAM operation

memory_operation
Read-only

Check an accepted OAM operation to verify indexing readiness, stage state, and safe failure details before relying on stored memory.

Instructions

Inspect an accepted OAM operation and report indexing readiness, stage state, and safe failure details.

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": {
      "operation_id": "<operation_id>"
    },
    "name": "memory_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
operation_idYesOperation ID returned by an OAM write.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds meaningful behavioral context beyond that by stating it reports indexing readiness, stage state, and safe failure details, which discloses the kind of status information returned and a failure-handling posture. It stops short of covering latency, eventual consistency, or pagination behavior, so it is not a 5.

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?

The description is a single sentence that front-loads the verb and resource before listing the reported outputs. Every phrase carries information, and there is no filler or repetition.

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 simple, read-only, one-parameter inspection tool with no output schema, the description gives enough context to invoke it correctly and understand the main facets it reports. The main remaining gap is that it does not describe the response shape or possible operation states in more detail, but that is minor for this level of complexity.

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?

There is a single required parameter, operation_id, and schema description coverage is 100%; the schema already explains that it is the ID returned by an OAM write. The description reinforces that it inspects an 'accepted OAM operation' but adds no syntax, format, or example detail. With the schema doing the heavy lifting, the baseline of 3 is appropriate.

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 the specific verb 'Inspect' and resource 'OAM operation', then enumerates what it reports: indexing readiness, stage state, and safe failure details. This clearly establishes it as a status-inspection tool. It does not explicitly differentiate itself from siblings such as memory_recall or memory_add, so it falls 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?

The phrase 'accepted OAM operation' and the schema note that operation_id comes from an OAM write imply the tool is used after a write to check processing status. However, there is no explicit when-to-use or when-not-to-use guidance, no named alternatives, and no stated prerequisites. The usage context is therefore only implied.

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