Skip to main content
Glama

hive_write

Write a fact, insight, or decision into Hivemind's shared pool so other agents can find it, with scope, summary, sources, and supersede links to avoid duplicates.

Instructions

Write a distilled entry (fact|insight|decision) into the shared pool; omit 'scope' (self or fleet) to land at the highest scope your trust level permits. Write in English; names, quotes, errors and terms English lacks stay as they are. Tag a guess or a claim you did not test 'unverified'. 'summary' (at most 280 chars) is the headline, embedded together with the start of 'body', which holds long-form content. Optional 'supersedes' names entries this one replaces: a self entry replaces only your own self entries, a fleet entry also your home fleet's entries. Any other target rejects the whole write (supersede_denied): flag it with hive_feedback instead. Optional 'importance' (1-5, default 3) is a small ranking tie-break: 5 = outage, data loss or security exposure if unknown; 4 = costs hours; 2 = minor. Optional 'sources' cites provenance: a list of {ref, type} where type is path|url|session|other; a URL's ref is the URL itself; entry ids belong in see_also, not sources. 'body' by kind: fact: claim, conditions, how to check; insight: problem as met, environment (system, version, date), cause, fix, how verified, what did not work; decision: context, options, choice, why, who decided, when to revisit. The reply lists in 'related' the up to 3 nearest entries you can read, with their similarity, plus 'warnings'; 'check': true stores nothing. If one already says the same, don't write (withdraw yours if stored); if yours replaces one (outdated or wrong), name it in 'supersedes'; if yours adds a point, link it with 'see_also' (up to 5 readable ids).

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": "hive_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
kindYes
tagsNo
agentNo
checkNo
scopeNo
payloadNo
sourcesNo
summaryYes
see_alsoNo
importanceNo
supersedesNo
occurred_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.33.2
    • addedInput schema / properties / importance / maximum
      Added value: +5
    • addedInput schema / properties / importance / minimum
      Added value: +1
    • addedInput schema / properties / kind / enum
      Added value: +[
      +  "fact",
      +  "insight",
      +  "decision"
      +]
    • addedInput schema / properties / scope / enum
      Added value: +[
      +  "self",
      +  "fleet",
      +  "org"
      +]
    • addedInput schema / properties / see_also / maxItems
      Added value: +5
    • addedInput schema / properties / summary / maxLength
      Added value: +280
  2. First observedv2.18.0

TDQS

A4.4/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 substantial work: it discloses that omitting 'scope' lands at the highest trust-permitted scope, that a rejected supersede target aborts the entire write (supersede_denied), that 'check': true stores nothing, and that the reply contains 'related' neighbors and 'warnings'. It never states permission/trust requirements for fleet-level writes, rate limits, or whether a successful write returns an id, which are the remaining behavioral gaps for a mutation tool.

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?

The core action and the 'omit scope' default are correctly front-loaded, and nearly every clause carries real instruction. However, the whole definition is one semicolon-chained block mixing parameter contracts, per-kind body templates, dedup workflow, and error handling, with no structural separation, which makes it slow to scan for an agent extracting a single rule.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter mutation tool with nested source objects and no output schema, the description covers the hard parts: scope defaults, supersede authority rules, rejection semantics, the reply's 'related'/'warnings' fields, and kind-specific body expectations. It falls short on undeclared parameters (tags, agent, payload, occurred_at) and gives no indication of entry-id format or what constitutes 'readable' when linking.

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 description must compensate, and it does for most of the 13 parameters: kind, summary (280-char headline embedded with body start), body (per-kind required content), scope, supersedes, importance (with 1-5 meaning mapped), sources (ref/type shape and the URL-as-ref rule), see_also (max 5 readable ids, and entries belong here not in sources), and check. It leaves tags, agent, payload, and occurred_at entirely unexplained, and mentions scope only as 'self or fleet' though the schema also permits 'org'.

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 clause states a specific verb and resource ('Write a distilled entry (fact|insight|decision) into the shared pool') and immediately frames it as a write, which cleanly separates it from the read-oriented siblings (hive_get, hive_search, hive_list, hive_pinned). The three entry kinds are named inline so an agent knows what class of artifact this produces.

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?

It gives explicit decision rules: check 'related' first and don't write if an entry already says the same, withdraw your own if already stored, use 'supersedes' when replacing an outdated/wrong entry, use 'see_also' when merely adding a point, and route supersede_denied cases to hive_feedback rather than retrying. It also names hive_withdraw behavior implicitly ('withdraw yours if stored'). This is when/when-not/alternative guidance in one place.

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