Skip to main content
Glama
Loopback Training Server

Loopback Training Server

append_plan_note

Save a training continuity note to record preferences, plan decisions, constraints, or temporary life context so future coaching sessions retain the right context.

Instructions

Save a continuity note about the user's training.

Call this WITHOUT BEING ASKED whenever ANY of the following happens during a conversation:

• User states a preference. Trigger phrases: "I prefer", "I like", "I hate", "from now on", "going forward", "always", "never". • User makes a plan decision. Trigger phrases: "let's drop", "let's switch", "let's add", "I've decided", "I'm going to", "this week I'll", "starting Monday". • User reveals life context that affects training. Examples: travel, illness, injury, sleep debt, work stress, life events, weather constraints, schedule shifts. • User commits to a change in approach. • A non-obvious insight emerges that future-you would want to know but couldn't infer from workout data alone.

DO save short, partial notes — they are cheap. DO NOT save: chitchat, things derivable from workout/health-metrics data, code-level details, or one-off acknowledgments.

Tip: if a note is temporal (e.g. "traveling Mar 1–5"), set expires_at so it auto-fades from future context.

Args: kind: One of: - "decision" — the user committed to a plan-level change - "preference" — a stable preference about how training works - "constraint" — a hard limit (schedule, equipment, injury) - "life_context" — temporary life situation affecting training - "observation" — non-obvious insight worth remembering - "blocker" — something preventing planned training - "feedback" — the athlete's own review of a plan or block (the dashboard's plan wrap-up flow writes these too) summary: One-line summary, ≤280 chars. Lead with the fact, not "the user said". Example: "Prefers morning runs, never evenings." body: Optional longer body — the why, edge cases, exceptions. Future-you reads this when the summary alone is ambiguous. importance: 1=low, 2=med (default), 3=high. Use 3 sparingly for hard constraints and committed decisions. expires_at: Optional ISO 8601 datetime. After this, the note is excluded from get_plan_context results. Use for temporal life_context notes (travel, short-term illness, etc.). plan_id: Optional plan UUID. Omit for global notes that apply across all plans (e.g. stable preferences). conversation_id: Optional opaque string to group all notes from one conversation. Use a stable id throughout the conversation so future-you can replay what was discussed together.

Returns: The created PlanNote object.

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": {
      "kind": "<kind>",
      "summary": "<summary>"
    },
    "name": "append_plan_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
kindYes
plan_idNo
summaryYes
expires_atNo
importanceNo
conversation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and delivers real behavioral detail: expires_at causes a note to "auto-fade" and be excluded from get_plan_context, notes are treated as cheap/partial, and the dashboard's plan wrap-up flow also writes 'feedback' notes. It does not state permission requirements, whether duplicates are collapsed, or that notes are user-visible and deletable, which keeps it from a 5.

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 the core verb, then the trigger bullets, then exclusions, then args and return — a structure an agent can skim. It is long, and the 'kind' enumeration partially repeats the trigger scenarios, but given 0% schema coverage most of the length is buying information the schema cannot supply.

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?

A seven-parameter mutation tool with no annotations and no output schema needs triggers, exclusions, per-parameter meaning, and downstream effects — and gets all four, plus a note on what the return value is ("The created PlanNote object"). The only real omission is authorization/error behavior, which is minor here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must do all the work, and it does: every one of the seven parameters is explained, including the semantics of all seven 'kind' values, the ≤280 char summary with a lead-with-the-fact example, what body is for (the why/edge cases), importance levels with guidance to use 3 sparingly, ISO 8601 expires_at with its downstream effect, and when to omit plan_id for global notes.

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?

Opens with a specific verb+resource: "Save a continuity note about the user's training," which is far more precise than the tool name alone. It does not explicitly contrast with the visible siblings (update_plan_note, delete_plan_note, list_plan_notes), leaving the agent to infer that this is the create path, so it stops short of a 5.

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?

Gives explicit when-to-use triggers with concrete phrases ("I prefer", "let's drop", "traveling Mar 1–5") and explicitly overrides default passivity: "Call this WITHOUT BEING ASKED." It also supplies a when-not list — chitchat, data derivable from workout metrics, code-level details, one-off acknowledgments — which is exactly the exclusion guidance most definitions omit.

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