Skip to main content
Glama

Edit note content in a Wanderlog trip

wanderlog_edit_note

Replace text in a Wanderlog trip’s notes, place annotations, and checklists. Search case-insensitively, optionally by day, and update the content when exactly one match is found.

Instructions

Edits note content in a Wanderlog trip by finding and replacing a substring.

Searches across freestanding notes, place annotations, and checklist titles and items. The match is case-insensitive. If exactly one match is found, the replacement is made in place. If no matches are found, an error is returned. If multiple matches are found, a numbered list of previews is returned — call again with a more specific substring.

Use the optional 'day' filter to limit the search to a specific day.

Input Schema

NameRequiredDescriptionDefault
dayNoOptional day to search. Accepts 'day 2', 'May 4', or ISO '2026-05-04'. Omit to search the entire trip.
new_textYesReplacement text.
old_textYesSubstring to find and replace (case-insensitive).
trip_keyYesThe trip to edit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A4.2/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 behavioral burden and does substantial work: case-insensitive matching, three distinct outcome branches (single match replaces in place, zero matches errors, multiple matches returns numbered previews requiring a retry). It omits whether the edit is reversible/undoable and whether all in-note occurrences are replaced when only one location matches, which are meaningful gaps for a mutation tool.

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?

Front-loads what the tool does and where it searches, then walks through match outcomes in the order an agent would encounter them. No filler sentences, and the retry instruction is placed exactly where the multi-match behavior is described.

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 a four-parameter mutation tool with no annotations and no output schema, the description covers search scope, matching semantics, and all outcome paths well enough to invoke correctly. What is missing is safety context (reversibility, permissions, whether the returned previews are actionable before confirmation) and any hint of the success payload shape.

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 the four parameters are already documented, including the day format variants and case-insensitivity of old_text. The description only reinforces the day filter's purpose and the substring nature of old_text, adding little beyond structured data.

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 ('Edits note content in a Wanderlog trip by finding and replacing a substring') and immediately delimits scope to freestanding notes, place annotations, and checklist titles/items. This clearly separates it from wanderlog_add_note, wanderlog_remove_note, and wanderlog_edit_journal without the agent needing to open any schema.

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?

Gives concrete usage guidance: use a substring find/replace, narrow with the optional 'day' filter, and call again with a more specific substring when multiple matches come back. It does not explicitly say when to prefer a different sibling (e.g., remove_note or add_note) or whether whole-note rewriting is possible, but the operating context is clear.

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