Skip to main content
Glama

telys_add

Store new text documents in a memory collection: each text is embedded on-device, inserted as a new row, and auto-creates the collection when absent.

Instructions

Add text documents to a Telys memory collection: each text is embedded on-device, inserted as a new row, and persisted; the collection is auto-created (partition_by='scope') when absent. Use to store new memories. Required: collection, texts. Optional: ids (one per text; auto-generated when omitted — an id that already exists raises a conflict, so use telys_upsert to replace) and metadata (one object per text; set a scope value to route partitions and enable where-filtering later). Fails on empty texts, ids/texts length mismatch, or duplicate ids. NOT idempotent: omitted ids are freshly generated per call, so a repeat call inserts additional new rows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNo
textsYes
metadataNo
collectionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A5/5.0
Behavior5/5

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

Annotations only say readOnly=false and idempotent=false, but the description adds meaningful context: on-device embedding, auto-creation with partition_by='scope', persistence, and the precise reason it is not idempotent (fresh ids per call). No contradiction with annotations.

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 primary action is front-loaded, and each subsequent clause adds operational value: required versus optional parameters, failure modes, and non-idempotency. Though dense, there is no filler or redundant restatement of the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers invocation requirements, parameter semantics, error conditions, and the non-idempotent behavior that would otherwise surprise an agent. The lack of an output schema is not a material gap for an insertion tool whose selection and invocation criteria are fully described.

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

Parameters5/5

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

Schema description coverage is 0%, so the description fully compensates by explaining collection and texts as required, ids as auto-generated and conflict-prone, and metadata as per-text objects with scope routing. It also clarifies the one-per-text relationship between array parameters, which the bare schema cannot convey.

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?

Opens with 'Add text documents to a Telys memory collection', giving a direct verb and resource, and explains the outcome (embedded, inserted, persisted). It explicitly contrasts with telys_upsert for replacement, so an agent can distinguish add from sibling tools without opening other definitions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states 'Use to store new memories' and gives a concrete alternative: 'use telys_upsert to replace' when an id already exists. It also lists failure conditions (empty texts, length mismatch, duplicate ids), which helps an agent avoid invalid calls.

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