Skip to main content
Glama

sync_contexts

Push all loaded contexts to mcp-memory-service. A context with metadata.sync false is skipped. Requires the memory bridge to be configured and connected.

Instructions

Push all loaded contexts to mcp-memory-service. A context with metadata.sync false is skipped. Requires the memory bridge to be configured and connected.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0-beta.4

TDQS

A3.7/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 discloses useful behavior — it pushes ALL loaded contexts, skips any with metadata.sync false, and depends on the memory bridge being connected. It does not state whether the operation is idempotent, what happens on partial failure or to remote entries, or what a successful call returns.

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?

Three short sentences, front-loaded with the action, followed by the skip rule and then the prerequisite. Every sentence carries information an agent needs and there is no filler.

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 zero-parameter tool with no output schema, the definition covers the action, the filtering rule, and the connectivity prerequisite, which is most of what is needed. It stops short of describing failure behavior or the result of the push, which matters for a remote write with no annotations to lean on.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the schema offers nothing to interpret and the baseline is 4. The description adds the only relevant semantic detail: an implicit per-context filter via metadata.sync false that controls which contexts are pushed.

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?

"Push all loaded contexts to mcp-memory-service" gives a concrete verb (push), a concrete resource (loaded contexts), and a destination, so the operation is unambiguous. It does not differentiate itself from siblings such as sync_instincts, leaving the agent to infer that this tool handles contexts rather than instincts.

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 description implies the usage context (pushing already-loaded contexts to the memory service) and states a prerequisite: the memory bridge must be configured and connected. It does not say when to prefer this over sync_instincts or other sync paths, nor what to do when the bridge is unavailable.

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