Skip to main content
Glama

Update Entry

update_entry

Modify an existing journal entry's content, tags, type, or metadata while preserving its markdown section structure, and clear metadata fields by passing null.

Instructions

Update an existing journal entry. When updating content, preserve the existing markdown structure (## section headers). Do NOT restructure or add new top-level sections unless explicitly requested. Pass null to clear a metadata field. Supports content, type, tags, and 11 metadata fields including significance, project, issue, PR, and workflow.

Input Schema

NameRequiredDescriptionDefault
tagsNo
pr_urlNo
contentNoUpdated markdown content. Preserve the existing ## section header structure. For session summaries, keep the ## Accomplished / ## Unfinished / Blocked / ## Context for Next Session structure intact. Do NOT restructure or add new top-level sections unless explicitly requested.
entry_idNo
issue_urlNo
pr_numberNo
pr_statusNo
entry_typeNo
session_idNoAgent session ID for thread isolation.
is_archivedNo
is_personalNo
trust_scoreNoHeuristic score (0.0-1.0) indicating confidence (0.3-0.5 for unverified, 0.9+ for verified).
auto_contextNo
impact_scoreNoHeuristic score (0.0-1.0) indicating blast radius (0.9+ for core architecture, 0.1 for simple docs).
issue_numberNo
workspace_idNoOptional workspace isolation identifier (e.g. "alpha"). Do not use numeric project IDs or "workspace" as the key.
project_ownerNo
workflow_nameNo
project_numberNo
workflow_run_idNo
workflow_statusNo
expected_versionNo
significance_typeNo
validation_statusNoCurrent validation status of the entry (passed, none, failed).

Output Schema

NameRequiredDescriptionDefault
codeNoError code (e.g. VALIDATION_ERROR, INTERNAL_ERROR)
entryNo
errorNoHuman-readable error message
detailsNoAdditional error context
successNo
categoryNoError category (validation, query, connection, internal)
suggestionNoSuggested fix for the error
indexStatusNo
recoverableNoWhether the error is recoverable
aggregated_errorsNoDetails of individual errors in a multi-step operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare the non-read-only, non-destructive profile, so the description only needs to add context — and it does: the markdown-preservation contract and the "pass null to clear a metadata field" rule are genuine behavioral semantics an agent could not get from the annotations. It omits anything about concurrency (the expected_version parameter), failure modes, or why idempotentHint is false despite this being an update-by-id operation.

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?

Four sentences, front-loaded with the verb and resource, and no filler. The markdown-preservation sentence largely duplicates the content parameter's own schema description, which is a small waste, but nothing is padded or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need no explanation, and the annotations cover safety. What is missing for a 24-parameter mutation tool is how to identify the target entry and how expected_version protects against lost updates — an agent could call this correctly on the happy path but not safely under concurrency.

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 only 25% across 24 parameters, so the description has to compensate, and it partially does by naming the field categories (content, type, tags, 11 metadata fields) and the null-clearing convention. But it is silent on the highest-risk parameters — entry_id (how to specify the target), expected_version (optimistic concurrency), is_archived, is_personal — leaving more than half the surface undocumented in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ("Update an existing journal entry") and enumerates the updatable surface: content, type, tags, and 11 metadata fields with examples (significance, project, issue, PR, workflow). This clearly separates it from create_entry, but it never names the obvious siblings it competes with (batch_update_entries, team_update_entry), so an agent must infer the boundary itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by "existing" — i.e., use this rather than create_entry when the entry already exists. The rest of the text is formatting policy (preserve ## headers, don't restructure) rather than when-to-use guidance. No guidance on when to prefer batch_update_entries or team_update_entry, and no preconditions for requiring entry_id.

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

Deploy Server

Other Tools