Skip to main content
Glama

promote_knowledge

Marks a knowledge item as permanently useful, optionally makes it skill-eligible for a domain, and clears auto-archive expiry while capturing reviewed rules for skill compilation.

Instructions

Mark a knowledge item as permanently useful, and optionally skill-eligible for a domain.

Without a domain: clears the expires_at field so the item is never
auto-archived by maintenance. Use this when an RSS-ingested article turns
out to be genuinely valuable.

With a domain: additionally marks the article skill-eligible — the next
compile_skill() for that domain compiles it into the skill's Reference
section, citing the article. Promotion is the vetting step (an article
carries no experience signal, so a human marking it eligible substitutes
for reinforcement); the compile itself still runs the propose-and-accept
gate. Expiry is cleared too — an article feeding a skill must not
auto-archive underneath it.

When the article contains discrete guidance (a "5 things to avoid" list,
a best-practice post), read it first and pass the items as rules — each
becomes its own stance-prefixed bullet in the Reference section instead
of one summary line. Extraction happens here, under human review, never
at compile time, so compilation stays deterministic. Re-promote with an
edited list to revise; rules=[] reverts to the single summary rule.

Args:
    key: The memory key (e.g. mem:knowledge:01ABC...).
    domain: Skill domain to make this article eligible for (e.g.
        'python'). Aliases resolve the same way as compile_skill.
    demote: With domain, remove that domain from the article's
        skill-eligibility instead of adding it.
    rules: With domain, extracted rules from the article, each
        {"kind": "do"|"watch"|"dont"|"note", "text": "..."} (max 20,
        400 chars each). Review them with the human before promoting.

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": {
      "key": "<key>"
    },
    "name": "promote_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
rulesNo
demoteNo
domainNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses that expires_at is cleared, that compile-time behavior stays deterministic because extraction happens at promotion, that the propose-and-accept gate still applies, that re-promotion revises rules, and that rules=[] reverts to a summary. It omits permissions/auth requirements and anything about return values or failure modes.

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?

The core purpose is front-loaded and the body is organized by mode rather than as a wall of text, which suits a four-parameter tool with branching behavior. A few sentences, particularly the parenthetical rationale about articles carrying no experience signal, could be tightened without losing meaning.

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?

For a mutation tool with no annotations, no output schema, and 0% schema description coverage, the definition supplies the mode semantics, side effects, gating behavior, and recovery path. An agent has enough to call it correctly and to explain the consequences to a human.

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 coverage is 0%, so the description must compensate and it does: key gets a concrete example format, domain gets an example plus alias-resolution behavior, demote gets its precise effect under the with-domain condition, and rules gets the object shape, the kind enum values, and the max 20 / 400-char limits.

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?

The opening sentence names a specific verb and resource (mark a knowledge item permanently useful) and immediately states the optional second effect (skill-eligibility for a domain). The two-mode structure plus the mention of compile_skill and auto-archiving maintenance makes it distinguishable from siblings like bless or archive.

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?

It gives an explicit trigger for use ('when an RSS-ingested article turns out to be genuinely valuable') and spells out how the no-domain, with-domain, and demote paths differ, plus a precondition for rule extraction ('read it first'). What's missing is an explicit exclusion — e.g. when to prefer archive or bless instead of promoting.

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