Skip to main content
Glama
Loopback Training Server

Loopback Training Server

update_plan_note

Update an existing plan note when details are wrong, obsolete, or need a tighter summary, preserving the note's history instead of deleting and recreating it.

Instructions

Update a plan note. Use when a previous note was wrong, became obsolete, or needs a tighter summary. Prefer updating over deleting + re-creating so the note's history is preserved.

Args: note_id: UUID of the note. kind: New kind, if changing categorization. summary: New one-line summary (≤280 chars). body: New body text. importance: New importance (1–3). expires_at: New expiry, or pass to add expiry to a note that didn't have one.

Returns: The updated PlanNote.

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": {
      "note_id": "<note_id>"
    },
    "name": "update_plan_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
kindNo
note_idYes
summaryNo
expires_atNo
importanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose one real behavioral trait, that updating preserves note history, and briefly states the return value. It omits the critical mutation semantics — whether omitted/null fields are left unchanged or cleared — and says nothing about permissions or failure behavior.

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-loads purpose and usage in two tight sentences before the parameter list, which is efficient. The Args block is verbose but justified at 0% schema coverage; the expires_at line is slightly garbled ("or pass to add expiry") and could be phrased more precisely.

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?

For a six-parameter mutation tool with no annotations and no output schema, the description covers purpose, usage, each parameter, and the return shape. What is missing is the update contract — partial vs full replacement and null handling — which an agent needs to call this safely without risking unintended data loss.

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 0%, so the Args block is the only parameter documentation and it does add meaning the schema lacks: importance is 1–3, kind is for re-categorization, expires_at can add an expiry to a note that had none. However, all params default to null and the description never clarifies whether null means "no change" or "clear this field," which is the decisive ambiguity for a partial-update tool.

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 and resource ("Update a plan note") plus the triggering conditions (a note was wrong, became obsolete, or needs a tighter summary). It implicitly distinguishes itself from delete + re-create, but never names the closest siblings (append_plan_note, delete_plan_note) directly, so the differentiation is contextual rather than explicit.

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 clear when-to-use conditions and a stated preference against the delete/re-create workaround, with the reason (history preservation). It does not cover the inverse case — when to append a new note instead of updating an existing one — which is the most likely decision an agent faces given the append_plan_note sibling.

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