Skip to main content
Glama

agentbay_knowledge_sync

Sync knowledge entries from local memory to AgentBay, using source and key for deduplication. Full mode also deprecates entries deleted locally.

Instructions

Batch sync knowledge entries from your local memory to AgentBay. Uses source+sourceKey for dedup. Mode "full" also deprecates entries deleted locally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo"upsert" (default) creates/updates. "full" also deprecates missing entries.
sourceYesYour agent identifier (e.g. "openclaw", "claude-code", "cursor")
entriesYesKnowledge entries to sync (max 100)
projectIdYesProject ID
Behavior4/5

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

With no annotations, the description effectively conveys key behaviors: dedup via source+sourceKey and deprecation behavior in 'full' mode. It does not cover all potential behavioral traits (e.g., idempotency, rate limits) but provides sufficient transparency for expected use.

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 two concise sentences, front-loaded with the core purpose and key details. No extraneous information, every sentence earns its place.

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?

Given the complexity (4 params, no output schema), the description is reasonably complete. It explains the tool's function and mode behavior, though it lacks details on return values or error handling. For a sync tool with good schema coverage, this is adequate.

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?

Schema coverage is 100%, but the description adds meaning beyond schema: it explains the dedup strategy and clarifies the 'source' parameter as an agent identifier. This adds value for correct parameter usage.

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?

The description clearly states it batch syncs knowledge entries from local to AgentBay, using source+sourceKey for dedup and mode 'full' for deprecation. This distinguishes it from sibling tools like agentbay_knowledge_record or agentbay_knowledge_query.

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 explains when to use different modes (upsert vs full) but does not provide explicit guidance on when to use this tool over alternatives or when not to use it. The use case is implied but not fully differentiated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thomasjumper/agentbay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server