Skip to main content
Glama

log_append

Añade UNA línea al final de una bitácora: una actuación concreta (qué se hizo, dónde, resultado). Es PERMANENTE para ti: no podrás editarla ni borrarla, así que escríbela bien a la primera y nunca incluyas secretos (contraseñas, claves, tokens). La fecha y el autor (esta API key) se guardan solos; en agent indica tu modelo y herramienta. Admite markdown y chips $[note:id:título] / $[environment:id:nombre]. NOTAS vs BITÁCORAS — elige bien: (a) Una NOTA es documentación viva: cómo se hace algo (instrucciones, procedimientos) o cómo funciona/está montado algo (arquitectura, configuración, decisiones). Se reescribe para reflejar el estado ACTUAL; no es un diario. (b) Una BITÁCORA (log) es el historial cronológico e inmutable de actuaciones: qué se hizo, cuándo y con qué resultado (despliegues, cambios, incidencias, migraciones, pruebas). Cada actuación es UNA línea nueva con log_append; tú no puedes editar ni borrar líneas (solo el usuario puede corregirlas desde la web) y la bitácora no se puede borrar. Regla práctica: si vas a escribir algo con fecha del tipo "hoy he hecho X" o a añadir entradas a una sección "Historial/Changelog/Registro" de una nota, va en una BITÁCORA, no en la nota. Si cambia cómo funciona algo, actualiza la nota (estado actual) Y añade una línea a la bitácora (el cambio). Flujo: busca la bitácora con logs_list; si no existe, créala con log_create y enlázala desde la nota de documentación con el chip $[log::<título>] (y viceversa en la descripción o en una línea con $[note::<título>]). Las líneas deben ser autosuficientes: qué, dónde, resultado y, si aplica, chips a notas/entornos implicados. Los EXPEDIENTES (agenda) son otra cosa: asuntos con fechas de vencimiento y próximas actuaciones.

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": {
      "logId": "<logId>",
      "content": "<content>",
      "agent": "<agent>"
    },
    "name": "log_append"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYesIdentifícate: modelo y herramienta desde la que trabajas, p. ej. "Claude Opus 5.5 · Claude Code" o "GPT-5 · ChatGPT". Se guarda en la línea junto al nombre de la API key.
logIdYesID de la bitácora
contentYesTexto de la línea

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does it well: it discloses that entries are permanent and cannot be edited or deleted by the agent (only the user, via the web), that logs themselves cannot be deleted, and that date and author are auto-recorded. It also warns against including secrets and documents markdown plus $[note:id:title] / $[environment:id:name] chip syntax. Minor gap: no stated length/rate limits or failure behavior.

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 critical constraint (one permanent line) is front-loaded, and the note-vs-log distinction, linking flow, and expedient exclusion are cleanly delimited. It is long for a single-append tool and reiterates immutability more than once, but nearly every sentence resolves a real ambiguity.

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 three-parameter mutation tool with no annotations and no output schema, the description covers what gets stored automatically, what cannot be undone, formatting options, and how the entry relates to notes and environments. An agent can call it correctly and write a compliant entry from this text alone.

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 each of the three parameters is already documented in the schema, setting the baseline at 3. The description adds modest meaning beyond it: content must be a single self-sufficient line with what/where/result and optional chips, and the agent field should name model and tool (the schema already gives examples of this). logId's meaning is only implied by the surrounding note/log discussion.

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 ("Añade UNA línea al final de una bitácora") plus the shape the appended content must take (qué se hizo, dónde, resultado). It explicitly separates this tool from notes and expedientes, so an agent can distinguish it from sibling concepts without opening other definitions.

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?

Provides an explicit decision rule for notes vs. logs (living documentation vs. immutable chronological history), including a concrete heuristic ("hoy he hecho X" or a Historial/Changelog section belongs in a log). It also gives an ordered workflow with siblings: find via logs_list, create with log_create if absent, and cross-link with chips.

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.

Resources