Skip to main content
Glama

Add source to brain

source_connect
DestructiveIdempotent

Records a source the brain is built from (for example a chat workspace, mailbox, drive or meeting recorder, or "conversation" / "manual" for typed or pasted content). Engram does not connect to or read the source; it tracks it and when it was last read.

Input Schema

NameRequiredDescriptionDefault
kindYesSource type, e.g. slack, gmail, drive, notion, fathom, conversation, manual.
brainNoBrain id or name. Defaults to the active brain.
labelYesName for this source, used in later calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=true. The description adds important context by clarifying that Engram does not connect to or read the source, and that it tracks when it was last read. However, it does not explicitly mention that this is a destructive or idempotent operation, which could be useful given the annotations. The added nuance is valuable but not fully comprehensive.

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 with zero waste, front-loading the core action and immediately clarifying the scope (does not connect/read) and tracking aspect. Efficient and well-structured.

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, annotations, and full schema coverage but no output schema, the description is mostly complete. It covers the key behavioral nuance (no actual connection), but could mention idempotency or destructive nature, though annotations already handle that. Overall, it provides sufficient context for an agent to call correctly.

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 description coverage is 100%, so the schema already documents all parameters. The description provides examples like 'chat workspace, mailbox, drive or meeting recorder,' which aligns with the 'kind' parameter, but doesn't add syntax or format details beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb+resource ('Records a source the brain is built from'), enumerates examples of source kinds, and distinguishes the tool from a data-ingestion tool by clarifying Engram does not connect to or read the source. This is clear enough to separate it from siblings like source_watermark on its own.

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 indicates this tool is for registering a source, implying when to use it, but it does not compare with alternatives like source_watermark or explain prerequisites. There is no explicit when/when-not guidance, so the usage is only inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources