Skip to main content
Glama

event.append

Log a single canonical event to the current session, such as test.passed or file.changed, so agents keep shared task state. Oversized payloads are stored as artifacts automatically.

Instructions

Append one event to the current session's log. The type must be canonical (e.g. test.passed, test.failed, file.changed, command.executed); others are rejected. Payloads over 8 KB are stored as an artifact (read with artifact.get), over 1 MB rejected. Each call appends a new event. Returns {"status":"ok"}; test.passed may auto-checkpoint. To also log a decision or checkpoint use session.record.

Input Schema

NameRequiredDescriptionDefault
typeYesCanonical event type, e.g. test.passed, test.failed, file.changed, command.executed
payloadNoOptional JSON object as a string, e.g. {"failures":2}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.9
    • changedInput schema / properties / payload / description
      Previous value: -"Optional JSON payload"New value: +"Optional JSON object as a string, e.g. {\"failures\":2}"
    • changedInput schema / properties / type / description
      Previous value: -"Canonical event type"New value: +"Canonical event type, e.g. test.passed, test.failed, file.changed, command.executed"
  2. First observedv0.1.8

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so: it discloses type validation rules, the 8 KB artifact-path threshold and artifact.get follow-up, the 1 MB rejection limit, append-only behavior, the response shape, and a side effect ('test.passed may auto-checkpoint'). This is exactly the behavioral context an agent needs.

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?

Five tight sentences, front-loaded with the core action, then constraints, then return value and alternative. No filler; every clause carries actionable information.

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?

Although there is no output schema, the description supplies the return value ('{status:ok}') and the artifact indirection needed to read large payloads. For a two-parameter append tool, nothing an agent needs 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 100%, so parameter definitions are already documented; the description nonetheless adds meaning beyond the schema by giving example canonical types and size thresholds tied to payload that the schema does not mention. It stops short of describing payload merge/overwrite semantics.

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 ('Append one event to the current session's log') with explicit cardinality ('one event'), and explicitly contrasts with session.record for decisions/checkpoints. An agent can distinguish it from the many sibling tools without opening the schema.

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?

Names the alternative ('To also log a decision or checkpoint use session.record') and the condition selecting it, plus states that non-canonical types are rejected. Both when-to-use and when-not-to-use are covered.

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