Skip to main content
Glama
Loopback Training Server

Loopback Training Server

list_plan_notes

Retrieve filtered plan notes by plan, kind, conversation, or recency to find specific decisions, preferences, constraints, blockers, or feedback without fetching full plan context.

Instructions

List plan notes with filters. Use this for targeted retrieval (e.g. only "decision" notes, or all notes from a specific conversation_id).

For the standard conversation-start fetch, use get_plan_context instead — it returns plan + notes + a continuity hint in one call.

Args: plan_id: Filter by plan UUID. kind: Filter by kind (decision, preference, constraint, life_context, observation, blocker, feedback). conversation_id: Filter by conversation grouping id. since_days: Only notes created within this window. include_expired: If true, include notes past their expires_at. limit: Max notes to return (default 50, max 200).

Returns: List of PlanNote objects ordered by importance desc, created_at desc.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_plan_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
limitNo
plan_idNo
since_daysNo
conversation_idNo
include_expiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden and does disclose useful behavior: expiry handling via include_expired, a hard cap of 200 on limit, and result ordering by importance desc then created_at desc. It stops short of stating whether this is purely read-only or what permissions/plan access are required, which is the main remaining gap for an unannotated 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 the routing decision in the first two sentences, then moves into a scannable Args/Returns layout. Every line adds information; nothing is redundant padding.

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?

Six optional parameters with zero schema descriptions and no output schema would normally be under-specified, but the description documents every parameter and the return shape, including ordering. An agent has everything needed to call it correctly.

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

Parameters4/5

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

Schema coverage is 0%, so the Args block is doing real work: it explains that include_expired concerns notes past their expires_at, that since_days is a creation window, that limit defaults to 50 with a max of 200 (the max is not in the schema), and that plan_id/conversation_id are UUID/grouping filters. The kind enum values are repeated from the schema, and plan_id's gloss adds little beyond its name, keeping this short of a 5.

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 (list plan notes) plus the scope of filtering, and explicitly distinguishes itself from get_plan_context by naming what that sibling returns instead. An agent can pick between the two without opening either schema.

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 both a positive condition (targeted retrieval such as only 'decision' notes or a specific conversation_id) and an explicit alternative with its routing rule (standard conversation-start fetch -> get_plan_context). No exclusions are left to inference.

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