Skip to main content
Glama

keepfold_patch

Edits Keepfold notes: append content under headings, set whitelisted fields, tick checklist items, revise or retire lines, and set page topics.

Instructions

Edit a note (any, including me/): append under a heading, set a whitelisted field, or tick a checklist item in a section. me/personality, me/preferences, me/profile, me/goals, me/setup, me/voice (one ## section each, plus ## Everyone): user_confirmed=true for the user's own words; without it your inference is saved now as a guess, served (ask); a near-copy of a live line is not added twice, and one that clashes with a line the user gave is not saved (ask them). me/portrait, me/core and me/setup without it wait in inbox.md. me/teaching-contract: a rule always waits for the user's Approve in the Keepfold app, even with user_confirmed=true. supersedes: up to 3 ^c-… ids of me/ lines the new line replaces; Keepfold retires them. op=set_topics (resource or note): text = 0-4 topic hub ids, comma-separated, replacing the page's topics; target is ignored.

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": {
      "id": "<id>",
      "op": "<op>"
    },
    "name": "keepfold_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
opYes
keyNo
textNo
untilNo
targetNo
supersedesNo
user_confirmedNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.3

TDQS

A3.7/5.0
Behavior5/5

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

Goes far beyond the annotations (readOnlyHint=false, openWorldHint=false): it discloses that unflagged inferences are saved as guesses and served with (ask), that near-duplicate lines are not added twice, that conflicting lines are not saved, that certain me/* paths queue in inbox.md, and that teaching-contract rules always require app approval. These are non-obvious side effects and failure modes an agent could not infer from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first clause, which is good, but the remainder is a dense semicolon-chained wall of text with no grouping by operation or parameter. Most clauses carry real information, yet the lack of structure makes it easy to miss conditions like the teaching-contract approval rule.

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?

An output schema exists, so return values need not be described, and the mutation side effects are covered well. Still, for an 8-parameter, 7-op mutation tool with 0% schema coverage, the unexplained id/key/until parameters and the revise/retire/reject operations leave meaningful gaps.

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 coverage is 0%, so the description carries the full burden and it partially does: it explains user_confirmed semantics, supersedes accepting up to 3 ^c- ids that Keepfold retires, and op=set_topics where text is 0-4 comma-separated topic ids and target is ignored. It leaves id, key, until, target (generally), and the revise/retire/reject ops unexplained, so several parameters remain opaque.

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 and resource: 'Edit a note (any, including me/*)' and enumerates append/set/tick operations, so an agent can distinguish it from keepfold_read or keepfold_add. It does not explicitly name a sibling as the alternative, and it omits three of the seven op values (revise, retire, reject), so it falls 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 Guidelines3/5

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

Gives rich conditional guidance about when user_confirmed matters and when writes land in inbox.md or wait for the app's Approve (me/teaching-contract). However, it never states when to prefer this tool over siblings like keepfold_add or keepfold_as_me, leaving tool selection to inference.

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