Skip to main content
Glama

keepfold_prime

Loads the user's profile, matching preferences, teaching contract and relevant pages before answering, and starts a chat log when the app keeps no transcript.

Instructions

Call with the user's message before answering, in every new chat and in an old chat continued with no prime call in it yet: their profile, the preferences matching it, the teaching contract core and 2-3 relevant pages (about 500 tokens), plus touch: topic hubs to record with keepfold_log(kind=touch). Needs no session. In a Claude app Keepfold has no transcript of (the Chat tab) it starts the chat's log and returns chat: log each later turn with keepfold_log(kind=chat_turn).

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": {
      "prompt": "<prompt>"
    },
    "name": "keepfold_prime"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYes
related_onlyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.3

TDQS

B3.3/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=false and openWorldHint=false, so the description carries most of the burden and does add real context: no session is required, the call may start the chat's log as a side effect (consistent with the non-read-only hint), there is an explicit ~500 token return budget, and a `chat` marker is returned whose meaning is spelled out. It still says nothing about failure modes, cost, or what happens when priming a chat that already has a log.

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?

It is compact — roughly two sentences with no filler — but the prose is a dense run-on mixing backticked identifiers, colons, and parentheticals mid-clause, which slows comprehension. It is front-loaded on the right idea (when to call) but buries the purpose behind it.

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 the description need not enumerate return values, and it sensibly focuses on the two return markers an agent must act on (`touch`, `chat`). However, for a tool with zero schema description coverage it leaves one of two parameters undefined and gives no sense of what `related_only=false` changes about the returned payload, which is exactly the decision an agent faces at call time.

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

Parameters2/5

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

With schema description coverage at 0%, the description must supply parameter meaning, and it only partially does: 'Call with the user's message' implies what `prompt` should contain, but `related_only` is never mentioned in any form. For a two-parameter tool where neither parameter is documented in the schema, that is a material gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does reveal what comes back — 'their profile, the preferences matching it, the teaching contract core and 2-3 relevant pages (about 500 tokens)' — so the resource is identifiable as a context-priming bundle. But the opening clause is a usage instruction ('Call with the user's message before answering') rather than a statement of purpose, and domain jargon like 'teaching contract core' and 'topic hubs' is never grounded. An agent can roughly infer what it does, but not crisply.

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?

Timing is unusually explicit: call it before answering, in every new chat, and in a continued chat that has no prime call yet. It also routes follow-up work to a named sibling, instructing keepfold_log(kind=touch) for the returned hubs and keepfold_log(kind=chat_turn) for later turns in Chat-tab sessions. What's missing is any exclusion or contrast with a sibling like keepfold_context, so the agent must guess when priming is redundant.

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