Skip to main content
Glama

ingest_conversations

Import a ChatGPT conversations.json export into the curriculum knowledge graph: filters relevant chats, extracts topics, saves them, and skips already-ingested conversations.

Instructions

Owner-only: ingest a ChatGPT conversations.json export into the curriculum database. Filters for curriculum-relevant conversations, extracts topics, and saves them to the knowledge graph. Safe to run multiple times on the same file — already-ingested conversations are skipped.

Args: export_path: Absolute path to the conversations.json file.

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": {
      "export_path": "<export_path>"
    },
    "name": "ingest_conversations"
  }
}

Input Schema

NameRequiredDescriptionDefault
export_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: it discloses the authorization requirement, that input is filtered rather than fully ingested, that data is written to the knowledge graph, and that repeated runs are non-destructive because duplicates are skipped. It does not cover failure behavior on a malformed or non-export file, expected runtime, or whether existing terms are modified, so it is strong but 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.

Conciseness4/5

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

The core behavior, permission gate, and idempotency guarantee are all front-loaded in three tight sentences. The trailing docstring-style 'Args:' block is slightly redundant with the schema but is short and adds the absolute-path constraint, so little is wasted.

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?

An output schema exists, so return values need not be described, and the description nonetheless covers permissions, filtering, destination, and idempotency. The remaining gap is edge-case behavior on invalid input, which is minor given the single required parameter and the declared output schema.

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 coverage is 0%, so the description must define the single parameter, and it does: the value is an absolute path (a format constraint absent from the schema) pointing at the conversations.json export file. That is the one non-obvious detail an agent could get wrong; only the multi-parameter case or extra validation rules would warrant more.

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 names a specific verb (ingest) and resource (a ChatGPT conversations.json export) and summarizes the downstream pipeline: filter for curriculum-relevant items, extract topics, save to the knowledge graph. It is clearly distinguishable from read-oriented siblings like get_curriculum or search_curriculum, though it never relates itself to set_ingest_keywords, which appears to configure the filtering this tool depends on.

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?

It states a concrete precondition (owner-only) and when the tool can be safely re-run (idempotent, already-ingested conversations skipped), which is exactly the guidance an agent needs before invoking a write. There is no explicit when-not-to-use clause or named alternative, which keeps it 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.