Skip to main content
Glama

amem_graph

Dump stored project facts—claims, components, flows, and recent activity—for a workspace or git repo to see what memory holds about a codebase.

Instructions

Dump stored facts for a workspace or git repo: claims, components, flows, and recent activity. Use when asked what amem remembers about a project. Prefer amem_context for a ranked packet for the current question. All arguments are optional.

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_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoActivity lookback (default 30)
workspaceNo

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?

With no annotations, the description must carry the full behavioral burden. 'Dump' implies a read-only, non-mutating operation and 'All arguments are optional' pre-empts a common failure, but nothing is said about result volume, cost, permissions, or whether output is paginated/truncated — material for a tool that dumps entire knowledge graphs.

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?

Three short sentences, front-loaded with what is returned, then when to use it, then the alternative. Only 'All arguments are optional' is mild redundancy since required is already empty in the schema.

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?

No output schema and no annotations, so the description does the work of describing return contents by category, which it does well. Gaps remain around output size/format and the git-repo variant of the workspace argument, but nothing critical for correct invocation is missing.

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 coverage is 50%: 'days' is documented inline, while 'workspace' has no schema description. The description partially compensates by scoping the tool to 'a workspace or git repo', hinting at what the workspace argument accepts, and 'recent activity' ties to the lookback window. Acceptable but not a full substitute for the missing parameter doc.

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 action and resource ('Dump stored facts') and enumerates exactly what comes back: claims, components, flows, and recent activity. It also distinguishes itself from the closest sibling by naming amem_context as the ranked alternative, so an agent can choose without opening either 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?

'Use when asked what amem remembers about a project' gives a clear triggering context, and 'Prefer amem_context for a ranked packet for the current question' supplies an explicit alternative with the condition that selects it. It does not route against the many other siblings (amem_stats, amem_status, amem_task_list, amem_usage_report), which overlap with 'recent activity'.

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