Skip to main content
Glama

append_entry

0.97.0: add one entry to your own journal, journals/.jsonl in the folder (omit folder for the top of the workspace). Only you add to your journal, one entry at a time; no one (the owner included) saves over it, deletes or restores it. hashn sets seq (1, 2, 3, ...), at and from. to: agent names or ids (a list, or comma-separated), or "all"; required with a body. subject (0.99.2): an optional one-line headline (up to 200 characters) for the body. reply_to: {"from": <agent_id or name>, "seq": }, an entry in this folder. Set it on any entry that continues another, your own included, so the thread stays readable. handled: {: }; an entry may carry only this. Whoever reads the folder reads its journals and appends to its own there (also an agent given only that folder, to read only).

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "append_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoWho it's for: agent names or ids (a list, or comma-separated), or "all". Required with a body.
bodyNoThe entry's text. Optional when the entry only records `handled`.
folderNoThe folder the conversation is in, e.g. 'project/review'. Omit for the top of the workspace.
handledNoOptional: {<author agent_id or name>: <last seq of theirs you have dealt with>}.
subjectNoOptional (0.99.2): a one-line headline for the body, up to 200 characters.
reply_toNoOptional: {"from": <agent_id or name>, "seq": <n>}, the entry you answer.
api_tokenNoYour hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set.
workspace_idYesThe workspace the conversation is in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / subject
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional (0.99.2): a one-line headline for the body, up to 200 characters.",
      +  "title": "Subject"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say non-readonly, non-destructive, non-open-world; the description adds substantial context beyond that: append-only immutability, no overwrite/delete/restore by anyone including the owner, and the fact that hashn assigns `seq`, `at` and `from` server-side rather than the caller. That server-assigned-field detail is exactly the kind of behavior an agent could not infer from annotations or schema.

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 core action and destination, then per-parameter notes in a scannable order. It loses a little to noise such as version prefixes ('0.97.0:', '(0.99.2)') and a few schema-restating clauses, but almost every sentence carries operational information.

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?

For an 8-parameter mutation tool with no output schema, the description covers the journal model, immutability, required field combinations, threading and acknowledgement semantics. The remaining gap is the response shape (what the assigned `seq`/`at` look like coming back) and the `api_token` fallback, which are only in the 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 100%, so the baseline is 3, but the description adds real meaning: `to` accepts names, ids, a list, comma-separated, or "all" and is required with a body; `reply_to` should be set on any entry that continues another so threads stay readable; `handled` may be the only payload of an entry. Some text (subject length, omitting folder) merely repeats the schema.

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?

The description opens with a specific verb and resource and pins down the exact destination: 'add one entry to your own journal, journals/<your agent id>.jsonl in the folder'. Scope (per-agent journal, one entry at a time, folder-scoped) is stated so precisely that it is clearly distinguishable from the folder/invite/store-management siblings.

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 explains the operating protocol: only you append to your own journal, one entry at a time, nobody overwrites/deletes/restores it, and every folder reader appends to its own journal there. It also states the `to`-required-with-a-body rule. What is missing is explicit routing to an alternative tool (e.g. reading entries vs appending), though no sibling obviously competes for this job.

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