Skip to main content
Glama

store

Unified storing for structured, file-backed, or combined payloads in one request. Choose path by source: file- or resource-sourced (attachment/file to preserve) → use file_content+mime_type or file_path; conversation- or tool-sourced (chat…

Instructions

Unified storing for structured, file-backed, or combined payloads in one request. Choose path by source: file- or resource-sourced (attachment/file to preserve) → use file_content+mime_type or file_path; conversation- or tool-sourced (chat or other MCP) → use entities. You may send both entities and file input in the same call. File bytes create a content-addressed sources row (SHA-256 dedup per user); the response includes source_id / content_hash for the unstructured leg. The server does not invent structured fields from opaque blobs without an explicit interpretation block or a separate interpretation flow. Agents should parse and extract entities first when they need structured data from a readable file, then send those entities alongside the raw file. Every entity must carry entity_type as a non-empty string (the type shortcut is not accepted); a missing or malformed entity_type is refused with ERR_INVALID_ENTITY_TYPE before anything is written. IMPORTANT FOR STRUCTURED DATA: Include ALL fields from source data. Schema fields go to observations; non-schema fields go to raw_fragments for future schema expansion. Relationships must link entities you own; a refused relationship is reported in relationships_refused rather than failing the call. DATA ORIGIN: when entities were read from a file or sheet row, web page, email or chat message, or API response, pass data_origin ({kind: file|url|email|message|api|manual|other, locator (required unless manual), part, system, url, producer, retrieved_at, notes}). locator is the stable id of the thing read (path, message id, endpoint); system names where it lives; url is an optional absolute http(s) link; part narrows inside it. Examples: email {kind: email, system: gmail, locator: , url: }; sheet row {kind: file, system: local_fs, locator: report.xlsx, part: sheet=Q3;row=12}; API call {kind: api, system: wise, locator: GET /v1/transfers/123, retrieved_at: }. Request-level data_origin applies to every entity; an entity's own data_origin key overrides it for that entity. It is stored as provenance.data_origin on each observation, never as an entity field, and does not replace the per-entity data_source label. To read it back: list_observations and retrieve_field_provenance (source_observation.data_origin) return it directly; retrieve_entity_snapshot returns data_origins keyed by observation id, so look up the id that provenance cites for a field. Strip credentials (user:pass@), signatures and auth query parameters from url and locator first; url with user:pass@ is refused. It is a caller claim, separate from observation_source and attribution; omit it when unknown, and keep storing the file itself when you have its bytes. The response's related_entities array is compact by default ({id, entity_type, canonical_name} per entity linked to what you stored); pass include_related_snapshots: true only if you need each related entity's full row and snapshot, otherwise retrieve it by id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "store"
  }
}

Input Schema

NameRequiredDescriptionDefault
commitNoWhen false, runs in plan/dry-run mode: resolves entities and returns planned actions ("would_create" / "would_match_existing") without persisting observations or source rows. Useful for previewing a structured store before committing.
strictNoWhen true, refuse silent merges: only match an existing entity when the entity's schema declares canonical_name_fields that the request matches, or when target_id is supplied. Prevents accidental coalescing into a pre-existing record.
user_idNo
entitiesNo
file_pathNoA path on the SERVER's filesystem, not yours. The file is read by the Neotoma instance, so this only works when your client runs on the same machine as the instance — the axis is co-located vs remote, not desktop vs web. Against a hosted or otherwise remote instance it cannot see your disk and is rejected with ERR_FILE_PATH_IS_SERVER_LOCAL. To send a file from a remote client: upload the bytes (POST /sources/upload, multipart/form-data) and pass the returned source_id, or inline small files with file_content (base64) + mime_type. MIME type is auto-detected from the content or extension when not provided.
mime_typeNoMIME type (e.g., 'application/pdf', 'text/csv') - required with file_content, optional with file_path (auto-detected from extension)
data_originNoWhere stored data came from (#2242) — the file, sheet row, URL, message, or API endpoint — as opposed to who wrote it (attribution, `external_actor`). A caller claim, never verified: the server does not fetch, open, or validate `locator` or `url`. Persisted on each created observation as `provenance.data_origin`. `locator` is required unless `kind` is `manual`. Every text field is single-line: control characters, including newlines, are refused. Strip credentials, signatures, and auth query parameters from `locator` and `url` before sending; a `url` with embedded `user:pass@` is refused.
file_contentNoBase64-encoded file content. Use file_path for local files instead of base64 encoding.
relationshipsNoOptional. Create relationships between entities in this request. Use `source_index` or `target_index` for entities in this request, and `source_entity_id` or `target_entity_id` for existing entities. Index and id endpoints may be mixed in one relationship.
external_actorNoUpstream artifact author (e.g. GitHub user) stamped into observation provenance alongside AAuth agent attribution. Matches `ExternalActorInputSchema` in `action_schemas.ts`.
interpretationNoOptional interpretation provenance for source-derived structured extraction. Supplying this creates an interpretation row and links new observations to it. Omit for ordinary already-structured/chat-native facts, which keep observations.interpretation_id NULL.
source_peer_idNoOptional Neotoma peer id to stamp on observations for cross-instance sync loop prevention (Phase 5). Requires `observation_source: sync` in practice.
source_storageNoStorage mode for file ingestion. Default 'inline' copies bytes into the database (portable, durable). 'reference' stores only a path + metadata row without copying bytes — zero DB bloat, but host-local and depends on the file staying in place. Requires file_path (not file_content). Derivations (observations/entities) are still materialized at ingest. Use 'reference' for large local files you control; use 'inline' for anything that must be shared or portable.
idempotency_keyNoRequired for structured path, optional for unstructured-only path.
source_priorityNoTrust/priority of this observation's source. Only affects snapshot resolution for fields whose merge strategy is highest_priority (set via register_schema reducer_config); under the default last_write strategy it is stored but ignored.
original_filenameNoOriginal filename or source label (optional). For unstructured: auto-detected from file_path if not provided. For structured (entities): omit when data is agent-provided (no file origin); the source will have no filename. Pass only when mirroring a real file name or when a display label is desired.
observation_sourceNoClassifies the *kind* of write being performed, orthogonal to `source_priority`. See `Observation.observation_source` for the full semantic contract. When omitted, observations are stored with `unspecified` and the response carries one `OBSERVATION_SOURCE_OMITTED` entry in `store_warnings`; set the field explicitly (for example `llm_summary` for model-authored content, `import` for ETL) to record lineage. Applies to every observation created by this request.
file_idempotency_keyNoOptional idempotency key for file path when sending structured + unstructured in one call.
expected_entity_absentNoWhen true, atomically create exactly one structured entity only if its complete schema-declared physical identity is absent. Requires commit=true and a nonempty idempotency_key; file, relationship, interpretation, intake, target and sync combinations are refused. Omitted or false preserves ordinary upsert behavior. Exact retries return the original immutable operation receipt without new effects.
include_related_snapshotsNoShapes the `related_entities` array in the MCP `store` response for structured stores. By default each entry is compact: `{id, entity_type, canonical_name}`. When true, each entry is the full entity row plus its current `snapshot` (the pre-compaction response shape), which can be very large when a related entity has a large snapshot. Retrieve an entity by id for its snapshot instead where possible. Does not change what is written or which entities are related, and is not part of the idempotency fingerprint. The REST `/store` response carries no `related_entities`, so the flag is accepted there and has no effect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.29.1
    • addedInput schema / properties / data_origin
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Where stored data came from (#2242) — the file, sheet row, URL,\nmessage, or API endpoint — as opposed to who wrote it (attribution,\n`external_actor`). A caller claim, never verified: the server does not\nfetch, open, or validate `locator` or `url`. Persisted on each created\nobservation as `provenance.data_origin`. `locator` is required unless\n`kind` is `manual`. Every text field is single-line: control\ncharacters, including newlines, are refused. Strip credentials,\nsignatures, and auth query parameters from `locator` and `url` before\nsending; a `url` with embedded `user:pass@` is refused.\n",
      +  "properties": {
      +    "kind": {
      +      "description": "Category of origin. `manual` = typed or confirmed by a person.",
      +      "enum": [
      +        "file",
      +        "url",
      +        "email",
      +        "message",
      +        "api",
      +        "manual",
      +        "other"
      +      ],
      +      "type": "string"
      +    },
      +    "locator": {
      +      "description": "Primary pointer to the origin: a file path or name, URL, email or\nchat message id, or API endpoint. Required unless `kind` is `manual`.\n",
      +      "maxLength": 2048,
      +      "type": "string"
      +    },
      +    "notes": {
      +      "description": "Short free-text note about the derivation.",
      +      "maxLength": 2000,
      +      "type": "string"
      +    },
      +    "part": {
      +      "description": "Position within the locator, e.g. `sheet=Tickets;row=97`, `page=3`, `attachment=2`.",
      +      "maxLength": 512,
      +      "type": "string"
      +    },
      +    "producer": {
      +      "description": "Code or agent that shaped the value, with revision, e.g. `tools/derive_all.py@4a5409c`.",
      +      "maxLength": 512,
      +      "type": "string"
      +    },
      +    "retrieved_at": {
      +      "description": "When the data was read from the origin (ISO 8601).",
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "system": {
      +      "description": "System that holds the origin, e.g. `gmail`, `google_sheets`, `stripe`, `local_fs`.",
      +      "maxLength": 256,
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "Absolute http(s) link to the original, when `locator` is not itself a URL. Must not embed credentials (`user:pass@`).",
      +      "format": "uri",
      +      "maxLength": 2048,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "kind"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / entities / items / description
      Previous value: -"Entity payload. Fields are declared by the entity's\n`SchemaDefinition`, not by this OpenAPI shape, so the object is\nintentionally open. Put entity fields at the top level of this\nobject; nesting under `attributes` (or any other wrapper) is\nnot supported and returns `ERR_STORE_RESOLUTION_FAILED` with a\nstructured `hint` guiding callers to flatten.\n"New value: +"Entity payload. Fields are declared by the entity's\n`SchemaDefinition`, not by this OpenAPI shape, so the object is\nintentionally open. Put entity fields at the top level of this\nobject; nesting under `attributes` (or any other wrapper) is\nnot supported and returns `ERR_STORE_RESOLUTION_FAILED` with a\nstructured `hint` guiding callers to flatten. Reserved control\nkeys are peeled off before field validation: `entity_type`,\n`target_id`, `intent`, and `data_origin` (#2242) — a per-entity\n`DataOrigin` that overrides the request-level `data_origin` for\nthis entity only. An invalid `data_origin` is rejected with\n`VALIDATION_INVALID_FORMAT` at path `entities[i].data_origin`, with a structured `details.hint` naming the reserved key.\n"
    • addedInput schema / properties / include_related_snapshots
      Added value: +{
      +  "default": false,
      +  "description": "Shapes the `related_entities` array in the MCP `store` response for\nstructured stores. By default each entry is compact:\n`{id, entity_type, canonical_name}`. When true, each entry is the\nfull entity row plus its current `snapshot` (the pre-compaction\nresponse shape), which can be very large when a related entity has a\nlarge snapshot. Retrieve an entity by id for its snapshot instead\nwhere possible. Does not change what is written or which entities\nare related, and is not part of the idempotency fingerprint. The\nREST `/store` response carries no `related_entities`, so the flag is\naccepted there and has no effect.\n",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / observation_source / description
      Previous value: -"Classifies the *kind* of write being performed, orthogonal to\n`source_priority`. See `Observation.observation_source` for\nthe full semantic contract. Defaults to `llm_summary` when\nunspecified. Applies to every observation created by this\nrequest.\n"New value: +"Classifies the *kind* of write being performed, orthogonal to\n`source_priority`. See `Observation.observation_source` for\nthe full semantic contract. When omitted, observations are\nstored with `unspecified` and the response carries one\n`OBSERVATION_SOURCE_OMITTED` entry in `store_warnings`; set the\nfield explicitly (for example `llm_summary` for model-authored\ncontent, `import` for ETL) to record lineage. Applies to every\nobservation created by this request.\n"
    • changedInput schema / properties / observation_source / enum
      Previous value: -[
      -  "sensor",
      -  "llm_summary",
      -  "workflow_state",
      -  "human",
      -  "import",
      -  "sync"
      -]New value: +[
      +  "sensor",
      +  "llm_summary",
      +  "workflow_state",
      +  "human",
      +  "import",
      +  "sync",
      +  "unspecified"
      +]
  2. Changed4 schema fields changedv0.25.0
    • addedInput schema / properties / expected_entity_absent
      Added value: +{
      +  "description": "When true, atomically create exactly one structured entity only if\nits complete schema-declared physical identity is absent. Requires\ncommit=true and a nonempty idempotency_key; file, relationship,\ninterpretation, intake, target and sync combinations are refused.\nOmitted or false preserves ordinary upsert behavior. Exact retries\nreturn the original immutable operation receipt without new effects.\n",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / external_actor / properties / delivery_id / description
      Added value: +"Not carried over from a request body; set only by the signed\nGitHub webhook route.\n"
    • addedInput schema / properties / external_actor / properties / verified_via / description
      Added value: +"Accepted for compatibility, but a request body can only assert an\nexternal actor: the stored value is always `claim`. The stronger\ntiers are assigned by server-side verification paths (the signed\nGitHub webhook route, AAuth token claims, grant linkage).\n"
    • changedInput schema / properties / relationships / items / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "metadata": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "relationship_type": {
      -        "enum": [
      -          "PART_OF",
      -          "CORRECTS",
      -          "REFERS_TO",
      -          "SETTLES",
      -          "DUPLICATE_OF",
      -          "DEPENDS_ON",
      -          "SUPERSEDES",
      -          "EMBEDS",
      -          "works_at",
      -          "owns",
      -          "manages",
      -          "part_of",
      -          "related_to",
      -          "depends_on",
      -          "references",
      -          "transacted_with",
      -          "member_of",
      -          "reports_to",
      -          "located_at",
      -          "created_by",
      -          "funded_by",
      -          "acquired_by",
      -          "subsidiary_of",
      -          "partner_of",
      -          "competitor_of",
      -          "supplies_to",
      -          "contracted_with",
      -          "invested_in"
      -        ],
      -        "type": "string"
      -      },
      -      "source_index": {
      -        "description": "Index into the entities array for the source entity.",
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "target_index": {
      -        "description": "Index into the entities array for the target entity.",
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "relationship_type",
      -      "source_index",
      -      "target_index"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "metadata": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "relationship_type": {
      -        "enum": [
      -          "PART_OF",
      -          "CORRECTS",
      -          "REFERS_TO",
      -          "SETTLES",
      -          "DUPLICATE_OF",
      -          "DEPENDS_ON",
      -          "SUPERSEDES",
      -          "EMBEDS",
      -          "works_at",
      -          "owns",
      -          "manages",
      -          "part_of",
      -          "related_to",
      -          "depends_on",
      -          "references",
      -          "transacted_with",
      -          "member_of",
      -          "reports_to",
      -          "located_at",
      -          "created_by",
      -          "funded_by",
      -          "acquired_by",
      -          "subsidiary_of",
      -          "partner_of",
      -          "competitor_of",
      -          "supplies_to",
      -          "contracted_with",
      -          "invested_in"
      -        ],
      -        "type": "string"
      -      },
      -      "source_index": {
      -        "description": "Index into the entities array for the source entity.",
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "target_entity_id": {
      -        "description": "Existing target entity ID.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "relationship_type",
      -      "source_index",
      -      "target_entity_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "metadata": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "relationship_type": {
      -        "enum": [
      -          "PART_OF",
      -          "CORRECTS",
      -          "REFERS_TO",
      -          "SETTLES",
      -          "DUPLICATE_OF",
      -          "DEPENDS_ON",
      -          "SUPERSEDES",
      -          "EMBEDS",
      -          "works_at",
      -          "owns",
      -          "manages",
      -          "part_of",
      -          "related_to",
      -          "depends_on",
      -          "references",
      -          "transacted_with",
      -          "member_of",
      -          "reports_to",
      -          "located_at",
      -          "created_by",
      -          "funded_by",
      -          "acquired_by",
      -          "subsidiary_of",
      -          "partner_of",
      -          "competitor_of",
      -          "supplies_to",
      -          "contracted_with",
      -          "invested_in"
      -        ],
      -        "type": "string"
      -      },
      -      "source_entity_id": {
      -        "description": "Existing source entity ID.",
      -        "type": "string"
      -      },
      -      "target_index": {
      -        "description": "Index into the entities array for the target entity.",
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "relationship_type",
      -      "source_entity_id",
      -      "target_index"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "metadata": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "relationship_type": {
      -        "enum": [
      -          "PART_OF",
      -          "CORRECTS",
      -          "REFERS_TO",
      -          "SETTLES",
      -          "DUPLICATE_OF",
      -          "DEPENDS_ON",
      -          "SUPERSEDES",
      -          "EMBEDS",
      -          "works_at",
      -          "owns",
      -          "manages",
      -          "part_of",
      -          "related_to",
      -          "depends_on",
      -          "references",
      -          "transacted_with",
      -          "member_of",
      -          "reports_to",
      -          "located_at",
      -          "created_by",
      -          "funded_by",
      -          "acquired_by",
      -          "subsidiary_of",
      -          "partner_of",
      -          "competitor_of",
      -          "supplies_to",
      -          "contracted_with",
      -          "invested_in"
      -        ],
      -        "type": "string"
      -      },
      -      "source_entity_id": {
      -        "description": "Existing source entity ID.",
      -        "type": "string"
      -      },
      -      "target_entity_id": {
      -        "description": "Existing target entity ID.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "relationship_type",
      -      "source_entity_id",
      -      "target_entity_id"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "metadata": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "relationship_type": {
      +        "description": "Relationship type. The vocabulary is a runtime registry, not a closed enum: call list_relationship_types to read what this instance accepts, and register_relationship_type to add to it. Names are identifier-shaped and casing-agnostic (both SCREAMING_SNAKE and lower_snake are in use).",
      +        "type": "string"
      +      },
      +      "source_index": {
      +        "description": "Index into the entities array for the source entity.",
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "target_index": {
      +        "description": "Index into the entities array for the target entity.",
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "relationship_type",
      +      "source_index",
      +      "target_index"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "metadata": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "relationship_type": {
      +        "description": "Relationship type. The vocabulary is a runtime registry, not a closed enum: call list_relationship_types to read what this instance accepts, and register_relationship_type to add to it. Names are identifier-shaped and casing-agnostic (both SCREAMING_SNAKE and lower_snake are in use).",
      +        "type": "string"
      +      },
      +      "source_index": {
      +        "description": "Index into the entities array for the source entity.",
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "target_entity_id": {
      +        "description": "Existing target entity ID.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "relationship_type",
      +      "source_index",
      +      "target_entity_id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "metadata": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "relationship_type": {
      +        "description": "Relationship type. The vocabulary is a runtime registry, not a closed enum: call list_relationship_types to read what this instance accepts, and register_relationship_type to add to it. Names are identifier-shaped and casing-agnostic (both SCREAMING_SNAKE and lower_snake are in use).",
      +        "type": "string"
      +      },
      +      "source_entity_id": {
      +        "description": "Existing source entity ID.",
      +        "type": "string"
      +      },
      +      "target_index": {
      +        "description": "Index into the entities array for the target entity.",
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "relationship_type",
      +      "source_entity_id",
      +      "target_index"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "metadata": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "relationship_type": {
      +        "description": "Relationship type. The vocabulary is a runtime registry, not a closed enum: call list_relationship_types to read what this instance accepts, and register_relationship_type to add to it. Names are identifier-shaped and casing-agnostic (both SCREAMING_SNAKE and lower_snake are in use).",
      +        "type": "string"
      +      },
      +      "source_entity_id": {
      +        "description": "Existing source entity ID.",
      +        "type": "string"
      +      },
      +      "target_entity_id": {
      +        "description": "Existing target entity ID.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "relationship_type",
      +      "source_entity_id",
      +      "target_entity_id"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed1 schema field changedv0.22.2
    • changedInput schema / properties / file_path / description
      Previous value: -"Local file path (alternative to file_content). If provided, file will be read from filesystem. MIME type will be auto-detected from extension if not provided. Works in local environments (Cursor, Claude Code) where MCP server has filesystem access. Does NOT work in web-based environments (claude.ai, chatgpt.com) - use file_content for those."New value: +"A path on the SERVER's filesystem, not yours. The file is read by the Neotoma instance, so this only works when your client runs on the same machine as the instance — the axis is co-located vs remote, not desktop vs web. Against a hosted or otherwise remote instance it cannot see your disk and is rejected with ERR_FILE_PATH_IS_SERVER_LOCAL. To send a file from a remote client: upload the bytes (POST /sources/upload, multipart/form-data) and pass the returned source_id, or inline small files with file_content (base64) + mime_type. MIME type is auto-detected from the content or extension when not provided."
  4. Changed2 schema fields changedv0.21.0
    • addedInput schema / properties / source_priority / description
      Added value: +"Trust/priority of this observation's source. Only affects snapshot resolution for fields whose merge strategy is highest_priority (set via register_schema reducer_config); under the default last_write strategy it is stored but ignored."
    • addedInput schema / properties / source_storage
      Added value: +{
      +  "description": "Storage mode for file ingestion. Default 'inline' copies bytes into the database (portable, durable). 'reference' stores only a path + metadata row without copying bytes — zero DB bloat, but host-local and depends on the file staying in place. Requires file_path (not file_content). Derivations (observations/entities) are still materialized at ingest. Use 'reference' for large local files you control; use 'inline' for anything that must be shared or portable.",
      +  "enum": [
      +    "inline",
      +    "reference"
      +  ],
      +  "type": "string"
      +}
  5. Addedv0.15.0
  6. Removedv0.14.0
  7. Addedv0.12.1
  8. Removedv0.11.0
  9. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses SHA-256 content-addressed dedup, that missing or malformed entity_type is refused with ERR_INVALID_ENTITY_TYPE before any write, that refused relationships are reported in relationships_refused rather than failing the call, and that credentials/signatures must be stripped from locators. It omits other behaviors that live only in the schema, such as idempotency_key being required for structured writes, source_storage modes, and the OBSERVATION_SOURCE_OMITTED warning, so it is not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one very dense paragraph with inline caps headers, making it harder to scan than it needs to be. Much of the data_origin explanation, including examples and credential-stripping rules, duplicates what the schema already documents at length. For a 20-parameter tool some length is justified, but the content is not front-loaded as cleanly as it could be.

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?

For a complex 20-parameter tool with no output schema, the description covers the important write paths, partial-failure semantics, and the shape of the related_entities response including the include_related_snapshots toggle. It does not fully explain return values such as store_warnings or the operation receipt, and several schema-only parameters receive no mention, but an agent can call the tool correctly from what is provided.

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 description coverage is 90%, so the schema already documents most parameters. The description still adds cross-parameter meaning not obvious from the schema: schema fields become observations while non-schema fields go to raw_fragments, request-level data_origin applies to every entity but an entity's own key overrides it, and data_origin is stored as provenance rather than an entity field. That is genuine semantic value beyond the schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource ('Unified storing for structured, file-backed, or combined payloads in one request') and immediately splits behavior by source type. It does not name sibling write tools (create_relationship, create_interpretation, add_entity_message) or explain when to prefer them, so it falls short of full sibling differentiation.

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?

Explicit routing guidance is given for the two main paths: file-sourced payloads go through file_content+mime_type or file_path, while conversation/tool-sourced data goes through entities, and both may be combined. It also advises parsing and extracting entities before storing when structured data is needed from a readable file. It stops short of stating when not to use store at all or when to use dedicated sibling tools such as create_relationships.

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