Skip to main content
Glama

Save Journal Entry

journal_entry_create
Idempotent

Save one real entry in the user's Library Journal when they ask to save or create a journal entry or travel memory. This is NOT a trip NoteSegment: never substitute a note categorized Journal or claim a journal was saved without this tool succeeding. Use the user's text or, when requested, a factual summary of retrieved trip events. Do not invent attendance, experiences or feelings from itinerary plans. Use dates supplied or established by the user; ask when the date or source is unclear. An explicit create/save request authorizes this private additive save without another confirmation; a request to draft text alone does not. Entries are private and excluded from shared travel books; linking a trip does not share the entry. Generate a new clientId UUID once per entry and reuse the exact UUID and content on retries. On success use the returned entryUrl to open the actual saved entry. On errors do not claim success or silently switch to another storage type.

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": {
      "clientId": "<clientId>",
      "title": "<title>",
      "story": "<story>",
      "entryDate": "<entryDate>"
    },
    "name": "journal_entry_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
storyYesPreserve the user's own account. When summarizing retrieved itinerary events, describe them neutrally as booked or scheduled plans, even for past dates. A booking is not evidence the user attended. Never write that the user or 'we' attended, visited, enjoyed, watched, joined or experienced something unless the user supplied that fact. Do not invent feelings or sensory details.
titleYesA concise title from the user's text or requested factual event summary.
tripIdNoOptional exact accessible trip ID. Null saves without a trip.
clientIdYesNew UUID for this entry. Reuse unchanged on a transport retry.
entryDateYesJournal date, YYYY-MM-DD. Resolve relative dates from the user's context; ask if unclear.
locationNameNoOptional user-supplied place label.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses privacy behavior (entries are excluded from shared travel books and linking a trip does not share the entry) and retry behavior (generate a new clientId once and reuse the exact UUID and content on retries). It also specifies success and error handling: use the returned entryUrl on success and never claim success or silently switch storage on errors.

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?

The description is front-loaded with the core action and its primary sibling distinction. Although it is detailed, each sentence addresses a distinct operational concern: substitution risk, sourcing, date clarity, authorization, privacy, retry idempotency, and error behavior.

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 non-read-only, idempotent, non-destructive create tool with rich schema descriptions and no output schema, the description supplies the missing behavioral context. It covers authorization, privacy, retry semantics, success URL usage, and failure handling, leaving no material ambiguity about how to invoke it correctly.

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%, and the schema already documents the story, title, tripId, clientId, entryDate, and locationName semantics in detail. The description reinforces source-text and date handling plus clientId reuse, but with such high schema coverage the baseline of 3 is appropriate.

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 states a specific verb and resource: save one real entry in the user's Library Journal. It explicitly distinguishes this from a trip NoteSegment and from a note categorized as Journal, so an agent can identify the correct tool without opening sibling schemas.

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?

It gives clear when-to-use guidance: the user asks to save or create a journal entry or travel memory. It also gives explicit when-not guidance by forbidding substitution with a NoteSegment or a note categorized Journal, and it clarifies that an explicit create/save request authorizes the save while a draft-only request does not.

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