Skip to main content
Glama

hub_report

Append a session report to a shared project journal, routing decisions, facts, blockers, next steps, and handoffs so the next session can continue.

Instructions

Append a session report to the shared journal: what was done / broken / blocked. Lines are routed by prefix: DECIDE: (what | why), FACT:, HYPO:, COMM:, NEXT:, DONE: , TASK:, NOTE:, TO:, HANDOFF:. HANDOFF: lines replace your own "## Handoff " section of the card with where your work stands and the next step, dated, and file a handoff journal entry; hub_context hands it to the next session.

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": {
      "project": "<project>",
      "agent": "<agent>",
      "text": "<text>"
    },
    "name": "hub_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoaddressee: a role ("orchestrator") or "fleet" — the entry stays public but readers filter by it. A TO: prefix inside the text body appends to this; the parameter and the prefix are merged.
kindNodefault: note
textYes
agentYes
forceNoNEXT: replaces the card's next step. If the current step was set by an owner role, a non-owner NEXT: is refused with the step's text unless force is true. The response always carries nextReplaced {text, by, at} when a step was replaced, and the card keeps one dated `prev` line.
privateNoroute this entry to the LOCAL-ONLY life braid (journal.life.jsonl — gitignored, never mesh-synced) and stamp it private. Prose only: DECIDE:/FACT:/COMM:/NEXT: write into a card, and cards are synced, so mixing the two would publish what you asked to keep local.
projectYesthe project slug, as hub_status lists it
reflectNothe turn's reflection as fields, instead of the REFLECT block at the end of text (not with it). Checked: a value off a list or a missing field refuses the whole report. Stored on the journal entry, written into its text as the block, and counted by `hub reflect`. A REFLECT block in text is still read, not checked; the reply's reflect.problems says what a digest could not use.
staleDaysNothe reply carries digestAgeDays, and digestStale + a hint once the digest trails the project journal by this many days (default 7) — you are the one holding the facts that would fix it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.9.88
    • addedInput schema / properties / project / description
      Added value: +"the project slug, as hub_status lists it"
    • addedInput schema / properties / reflect
      Added value: +{
      +  "description": "the turn's reflection as fields, instead of the REFLECT block at the end of text (not with it). Checked: a value off a list or a missing field refuses the whole report. Stored on the journal entry, written into its text as the block, and counted by `hub reflect`. A REFLECT block in text is still read, not checked; the reply's reflect.problems says what a digest could not use.",
      +  "properties": {
      +    "decisions": {
      +      "description": "head and fleet only: the verdict on each proposal from below",
      +      "items": {
      +        "properties": {
      +          "reason": {
      +            "type": "string"
      +          },
      +          "rule": {
      +            "type": "string"
      +          },
      +          "verdict": {
      +            "enum": [
      +              "accepted",
      +              "rejected",
      +              "needs-owner"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "rule",
      +          "verdict"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "goal": {
      +      "description": "what the turn was meant to deliver",
      +      "type": "string"
      +    },
      +    "instead": {
      +      "description": "what you would do differently",
      +      "type": "string"
      +    },
      +    "level": {
      +      "description": "turn (default): this turn, any role; head: a head's over its workers; fleet: the orchestrator's over the heads",
      +      "enum": [
      +        "turn",
      +        "head",
      +        "fleet"
      +      ],
      +      "type": "string"
      +    },
      +    "obstacle": {
      +      "enum": [
      +        "permissions",
      +        "path",
      +        "unclear-dispatch",
      +        "environment",
      +        "model",
      +        "none"
      +      ],
      +      "type": "string"
      +    },
      +    "obstacle_fact": {
      +      "description": "the fact with a number or a quote (exit code, seconds, refusal text), or \"not measured\"; required unless obstacle is none, refused with none",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "done only if this report names an artifact",
      +      "enum": [
      +        "done",
      +        "partial",
      +        "no"
      +      ],
      +      "type": "string"
      +    },
      +    "rule": {
      +      "description": "one rule for the prompt, or \"none\"",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "goal",
      +    "result",
      +    "obstacle",
      +    "instead",
      +    "rule"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "addressee: a role (\"orchestrator\") or \"fleet\" — the entry stays public but readers filter by it. A TO: prefix inside the text body appends to this; the parameter and the prefix are merged.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv0.9.15
    • addedInput schema / properties / force
      Added value: +{
      +  "description": "NEXT: replaces the card's next step. If the current step was set by an owner role, a non-owner NEXT: is refused with the step's text unless force is true. The response always carries nextReplaced {text, by, at} when a step was replaced, and the card keeps one dated `prev` line.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / staleDays
      Added value: +{
      +  "description": "the reply carries digestAgeDays, and digestStale + a hint once the digest trails the project journal by this many days (default 7) — you are the one holding the facts that would fix it",
      +  "type": "integer"
      +}
  3. Changed1 schema field changedv0.9.0
    • addedInput schema / properties / private
      Added value: +{
      +  "description": "route this entry to the LOCAL-ONLY life braid (journal.life.jsonl — gitignored, never mesh-synced) and stamp it private. Prose only: DECIDE:/FACT:/COMM:/NEXT: write into a card, and cards are synced, so mixing the two would publish what you asked to keep local.",
      +  "type": "boolean"
      +}
  4. First observedv0.1.6

TDQS

A3.9/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 load and does disclose real side effects: HANDOFF: lines *replace* your own '## Handoff <agent>' section of the card (a mutation of existing content) and file a separate `handoff` journal entry. It also establishes the append-only nature of the journal. It does not discuss permissions, rate limits, or how duplicate/conflicting entries are handled.

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?

Front-loaded: purpose first, then the routing grammar, then the HANDOFF special case. Dense but each clause carries information an agent needs to format a valid report. The single long sentence enumerating prefixes is slightly hard to parse but not wasteful.

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 9-parameter tool with a nested object and no output schema, the description covers purpose, text formatting, HANDOFF side effects, and the downstream consumer. Gaps are minor: nothing about return payload shape (the reply's digestAgeDays/nextReplaced/reflect.problems) or default behavior when no prefix is used.

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 78%, just under the high-coverage baseline, and most parameters (to, kind, force, private, reflect, staleDays) are documented in the schema itself. The description's value-add is the line-prefix routing grammar, which explains the otherwise-undocumented `text` parameter, but it leaves the interaction between prefixes and the enums (e.g. `kind`) implicit.

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: 'Append a session report to the shared journal', so an agent knows this writes journal entries rather than reading or managing cards. It does not differentiate itself from reporting-adjacent siblings such as hub_reflect or hub_attempt, and the nested `reflect` parameter overlaps with the hub_reflect tool without clarifying the relationship.

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?

The 'what was done / broken / blocked' framing plus the prefix list (DECIDE:/FACT:/HYPO:/COMM:/NEXT:/DONE:/TASK:/NOTE:/TO:/HANDOFF:) gives concrete conditions for what belongs in a report. It also names the downstream consumer (hub_context hands the handoff to the next session). It stops short of explicit when-not-to-use or naming alternatives for logging status.

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