Skip to main content
Glama
cachly-dev

Cachly — AI Cognitive Brain

brain_federate

Transfer private organizational knowledge from a source brain to your brain for a specific domain, enabling instant access to senior engineer's typed, confidence-weighted expertise.

Instructions

FedBrain Layer 6 — Private org knowledge transfer: copy CKG edges + lessons from a source brain into your brain for a specific domain (e.g. "billing", "auth", "deploy"). The new hire use case: one command gives you the senior engineer's 5 years of typed, confidence-weighted knowledge in your domain. Unlike syndicate_search (global, anonymous), brain_federate is org-private — both brains must be in the same Cachly org, or the source instance_id must be explicitly shared. Example: brain_federate(source="prod-brain-id", domain="billing", min_confidence=0.6)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instance_idYesYour brain instance ID (destination)
sourceYesSource brain instance ID to federate from
domainYesDomain to transfer, e.g. "billing", "auth", "deploy", "infra". Use "*" for all domains.
min_confidenceNoMinimum edge confidence to transfer (default: 0.6)
dry_runNoPreview what would be transferred without writing (default: false)
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It explains the core behavior (copying edges and lessons) and includes a dry_run parameter for preview. However, it does not disclose whether the operation is destructive to the source, authentication requirements beyond org-membership, rate limits, or what happens on failure. The absence of output schema means return values are unspecified.

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?

The description is front-loaded with the key purpose and includes a concrete example, but it is somewhat verbose with the 'new hire use case' sentence. Every sentence adds value, though the use case could be condensed. Overall, it is well-structured and easy to parse.

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?

Given 5 parameters and no output schema, the description is fairly complete but lacks information on the tool's return value (e.g., count of transferred edges, errors). It also does not mention idempotency, partial failures, or post-conditions. The example helps, but an agent would need to infer behavior from the dry_run parameter.

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% with all 5 parameters described. The description adds value beyond the schema by providing an example ('min_confidence=0.6'), explaining domain values ('e.g. "billing", "auth", "deploy", "infra". Use "*" for all domains'), and clarifying the instance_id as 'your brain instance ID (destination)'. This helps the agent understand 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 the tool's purpose: 'FedBrain Layer 6 — Private org knowledge transfer: copy CKG edges + lessons from a source brain into your brain for a specific domain.' It uses specific verbs ('federate', 'copy') and distinguishes itself from the sibling 'syndicate_search' by contrasting global anonymity with org-privacy.

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?

The description explicitly tells when to use this tool ('new hire use case') and when not to use it ('Unlike syndicate_search ... brain_federate is org-private'). It also provides prerequisites: both brains must be in same org or source instance_id explicitly shared. However, it does not differentiate from other siblings like brain_diff or brain_search, which share similar contexts.

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/cachly-dev/cachly-mcp'

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