Skip to main content
Glama

cortical_ingest_private

Idempotent

Ingest and sanitize local files or text into a Privacy Vault, using auto, fail-closed, or fail-open classification to control cloud egress.

Instructions

Ingest a local file or text into Privacy Vault with dynamic auto | fail_closed | fail_open classification.

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": {
      "path_or_text": "<path_or_text>"
    },
    "name": "cortical_ingest_private"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasNoOptional stable identifier for the stored vault entry (auto-derived from filename or content hash if omitted).
policyNoEgress security policy: auto (classify by sensitivity), fail_closed (block cloud egress), or fail_open (allow sanitized egress).auto
profileNoRedaction strictness profile: max_security (local-only, never sent to cloud), low, medium, or max_context.medium
task_tagsNoOptional list of task tags used to group and retrieve related vault documents.
path_or_textYesLocal file path, directory path (recursive Second Brain ingest), or raw text to sanitize and store in the Privacy Vault.

Output Schema

NameRequiredDescriptionDefault
uriYes
aliasYes
profileNo
local_onlyYes
saving_pctNo
tokens_estNo
entity_countNo
resolved_policyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that classification is 'dynamic' and that content lands in the Privacy Vault, but says nothing about failure handling, permissions, or what happens when egress is blocked. With annotations carrying the safety burden, a 3 is appropriate.

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?

A single front-loaded sentence with no filler. The core action and the classification modes are stated immediately, and nothing is wasted.

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?

The tool has five parameters with two enums and an output schema, so return values needn't be explained. The definition covers the core purpose and annotation-backed safety, but omits usage guidance against siblings and behavioral detail on failure modes, leaving it adequate rather than complete.

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 all five parameters are fully documented in the schema. The description echoes the policy enum values but adds no syntax, format, or interaction detail beyond what the schema already provides; baseline 3 applies.

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 description uses a specific verb and resource: 'Ingest a local file or text into Privacy Vault,' and names the classification modes. It's clear what the tool does, but it doesn't explicitly contrast with siblings like cortical_vault_read or cortical_local_offload, so an agent must infer the boundary.

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

Usage Guidelines2/5

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

The description states what the tool does but offers no when-to-use or when-not guidance. It doesn't say when to prefer this over cortical_local_offload or when to read from the vault instead, and no prerequisites or exclusions are given.

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