Skip to main content
Glama
antigravity-context-mcp

antigravity-context-mcp

context_export

Exports stored memory, including session notes and optional credentials, to an encrypted JSON file for backup or transfer, returning the saved file path.

Instructions

Export all memory (session notes, credentials) to an encrypted JSON file for backup or transfer to another machine. Returns the path to the exported file.

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

Input Schema

NameRequiredDescriptionDefault
output_pathNoOptional. Directory to save the export file. Defaults to user's home directory.
include_credentialsNoOptional. Include encrypted credentials from all projects. Default: false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv5.0.0

TDQS

A3.6/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. It does disclose two useful traits: the output is encrypted and the call returns a file path. It omits important behavior for a write-side-effect tool: whether an existing file at the target path is overwritten, how the encryption key is managed, and whether credentials export requires additional authorization.

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 sentences, zero padding, with the resource and output format front-loaded and the return value last. Every clause carries information.

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 two-optional-parameter tool with no output schema, the definition covers purpose, output format, and return value adequately. The remaining gaps (overwrite behavior, encryption key handling, the credentials default mismatch) are real but modest given the tool's simplicity.

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%, so the schema already documents both parameters and the baseline is 3. The description adds little parameter-level meaning beyond the schema, and it introduces mild tension by saying it exports 'session notes, credentials' while include_credentials defaults to false, which could mislead an agent into assuming credentials are always included.

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 ('Export all memory ... to an encrypted JSON file') plus the return value (path to the file), which is concrete enough to distinguish it from context_import and the recall/save siblings. It stops short of naming the inverse tool explicitly, so sibling differentiation is implied by 'backup or transfer' rather than stated.

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 'for backup or transfer to another machine' gives a use context, which is more than nothing. However, there is no explicit when-not guidance, no mention of context_import as the counterpart, and no note about when to set include_credentials versus using get_credentials separately.

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