Skip to main content
Glama

Tus chats de ChatGPT y Claude

chats
Read-only

Los chats que el usuario ha importado de ChatGPT o Claude. action=import da el enlace personal (un solo uso, 30 minutos) para subir la exportación y elegir qué chats suben, y cuántos hay ya (antes, carga la skill importar-chats con get_skill). action=list los lista, los más recientes primero (título, fecha, mensajes, cuántas palabras escribió él y si ya se han extraído); query filtra solo por título. action=read devuelve el texto de uno (id de list) por páginas de 15.000 caracteres: si next no es null, vuelve a llamar con from = next. Léelo antes de sacar notas con feed_brain (source.chat = su id); para buscar en lo ya guardado, usa search_brain.

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": {
      "action": "<action>"
    },
    "name": "chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoSolo read: el id que dio list.
fromNoSolo read: desde qué carácter seguir, el next de la llamada anterior (0 por defecto).
limitNoSolo list: cuántos devolver (40 por defecto).
queryNoSolo list: filtra por palabras del título.
actionYes
offsetNoSolo list: cuántos saltar (0 por defecto).
pendingNoSolo list: los que aún no se han extraído.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Adds substantial behavior beyond the readOnly/openWorld annotations: the import link is single-use and expires in 30 minutes, list ordering is most-recent-first with a default of 40, and read returns 15,000-character pages driven by a next/from loop. It also names the fields list returns despite there being no output schema. Minor gap: no failure modes described (e.g., expired link, invalid id, or what import returns besides the URL); 'import' generating a link is also slightly at odds with readOnlyHint, though it does not read as a clear contradiction.

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 the resource, then organized by action= labels so each clause maps to a branch. It is dense but nearly every sentence carries operational detail; the only cost is a single long run-on paragraph that would scan faster split per action.

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?

For a 7-parameter, multi-action tool with no output schema, the description covers all three actions, the return fields of list, the pagination protocol of read, and the prerequisite skill for import. Nothing needed to invoke it correctly is missing.

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 already 86%, so the baseline is 3, but the description adds real meaning: 'from = next' ties the read pagination token to the previous response, clarifies that id comes from list, and states that query filters on title only. The 15,000-character page size is information the schema does not carry.

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 by naming the resource (chats imported from ChatGPT/Claude) and then enumerates the three concrete operations with verb+object: import (generate a one-time upload link and pick which chats upload), list (recent-first listing with title, date, message/word counts, extraction state), and read (return one chat's text in 15,000-char pages). An agent can tell exactly what this tool does and how each action differs.

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?

Explicit routing is given for each branch: before importing, load the importar-chats skill via get_skill; read a chat before taking notes with feed_brain (source.chat = id); for searching already-saved material, use search_brain instead. When-to-use, prerequisites, and named alternatives are all present with no inference required.

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.