Skip to main content
Glama
antigravity-context-mcp

antigravity-context-mcp

context_import

Imports memory from an exported .json.enc file and merges notes into existing sessions without overwriting them.

Instructions

Import memory from a previously exported file. Merges notes into existing sessions without overwriting.

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": {
      "file_path": "<file_path>"
    },
    "name": "context_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute path to the exported .json.enc file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv5.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the important merge behavior ("merges notes into existing sessions without overwriting"), which is real added context. It omits other behavior an agent needs for a write-ish operation: whether the .enc file requires a key/credentials, how conflicts or duplicate notes are resolved, and what happens on a malformed or incompatible file.

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?

Two short sentences with the action first and the non-destructive merge guarantee second; no filler. Slightly under-specified rather than verbose.

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?

For a one-parameter import tool this is nearly adequate, but with no annotations and no output schema the description should say more about encryption/credential requirements and what the import reports back, so an agent knows whether a prior export or key is needed.

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 100% and the single parameter is fully documented as an absolute path to a .json.enc file. The description adds no format or path constraints beyond that, so baseline 3 applies.

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 (import) and resource (memory) plus the source (a previously exported file), which cleanly inverts the sibling context_export. It does not explicitly name the sibling or distinguish itself from save_context_file / recall, so it stops 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?

"Previously exported file" implies the pairing with context_export and the merge semantics hint at when merging is preferable to a fresh save, but there is no explicit when-to-use/when-not statement and no alternative is named.

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