Skip to main content
Glama

Ingest memory artifact

ingest_memory
Idempotent

Queue a file or link for the user's memory: audio and voice notes, screenshots and images, PDFs and documents, or web links, given as a fetchable URL or a handle the caller has already staged. Zenod archives the original, transcribes or extracts its content, records that as evidence and files the meaning into the vault. Google Drive file references are not accepted on Zenod Hosted, where Drive is the archive. Runs in the background: the call returns a jobId at once, and get_task_result returns the receipt (archived original, transcript or extraction, evidence reference, pages touched, saved revision and links) or a structured error.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mediaType": "<mediaType>"
    },
    "name": "ingest_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
hintsNoOptional filing hints for the eventual memory digest.
bytesRefNoOpaque reference to bytes already staged by the caller/transport, such as an object-store key or channel media handle. Hosted Drive file references are rejected.
filenameNoOriginal filename, if known.
mediaTypeYesArtifact class: audio, screenshot, image, pdf, document or link.
sourceHintNoWhere this came from, e.g. 'Claude upload', 'WhatsApp' or 'Drive'.
artifactUrlNoFetchable URL for the raw artifact. The URL is treated as evidence, not as memory text.
contentHintNoUser-provided context for filing/digesting, e.g. 'remember the renewal date shown here'.
contentTypeNoAudio only: voice_note for a recorded voice message, audio for any other audio attachment; unset when unknown.
idempotencyKeyNoOptional caller-stable key. Retries return the original durable media job and receipt.
senderTimestampNoOriginal sender/source timestamp, preferably ISO-8601.
providedTranscriptNoOptional transcript already produced by the authenticated channel transport. Empty when transcription was intentionally skipped.
audioDurationSecondsNoBest-effort probed audio duration supplied by the channel transport.
transcriptionProviderNoProvider label for an authenticated channel-supplied transcript.
transcriptionDispositionNoWhether to use the supplied transcript or archive audio without another transcription attempt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the operation is asynchronous and returns a jobId immediately, that processing archives the original, transcribes or extracts content, records evidence and files meaning into the vault, and that get_task_result yields the receipt or a structured error. The Drive-on-Hosted restriction and idempotent retry semantics are also surfaced, filling in real behavioral risk that readOnlyHint/openWorldHint alone do not convey.

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?

Front-loaded with purpose and eligible artifact types, then constraints, then the async/return contract. Sentences are dense and each carries information, though the middle sentence describing the archive/transcribe/evidence/vault pipeline is long and could be tightened without losing meaning.

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?

There is no output schema, and the description compensates by describing the immediate return (jobId) and the receipt fields obtainable via get_task_result, including the error path. For a 14-parameter asynchronous ingestion tool the coverage is strong, with only the channel-supplied-transcript workflow left implicit.

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 14 parameters are already documented in the schema, which sets the baseline at 3. The description adds only loose mapping — 'fetchable URL' to artifactUrl and 'a handle the caller has already staged' to bytesRef — and leaves the transcript-supplied path (providedTranscript, transcriptionDisposition, transcriptionProvider) entirely to the schema.

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?

States a specific verb and resource ('Queue a file or link for the user's memory') and enumerates exactly which artifact classes are eligible (audio, voice notes, screenshots, images, PDFs, documents, web links), plus the two accepted input forms: a fetchable URL or an already-staged handle. An agent can distinguish this from retrieval siblings without opening the schema.

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?

Gives clear context for use (ingesting a new artifact into memory), an explicit exclusion (Google Drive file references are not accepted on Zenod Hosted), and names the follow-up tool get_task_result for retrieving results. It lacks an explicit 'use the sibling store_memory instead when X' routing rule, which keeps it just short of a 5.

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.