Skip to main content
Glama

hub_queue_forward

Forwards a queue block intact to its intended role: body byte for byte, named task included, plus a forward line with sender, queue, and id; validates the target queue before sending.

Instructions

Pass a queue block on to the role it is really for, WHOLE: its body byte for byte, under one line that says who forwarded it, from which queue, its first sender and id; the task it named goes with it. A message for another role retold in your own words loses what the retelling leaves out — forward it instead. The target is checked like any send (a queue with no reader is refused unless new_reader).

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>",
      "role": "<role>",
      "from": "<from>"
    },
    "name": "hub_queue_forward"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe block id, the `· id` in its header, as "pine-12"
fromYeswho forwards it — the function you are performing
noteNoone line of your own, added to the forward line (why it goes there); the body is never edited
roleYesthe role to forward it to
new_readerNotrue for a role whose first session is about to start

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.90

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the whole burden, and it does meaningful work: it states the body is preserved unedited, that a header line is prepended with sender/queue/id provenance, and that the target is validated like any send with a no-reader refusal unless new_reader. It stops short of describing the response or what happens on a failed delivery.

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?

Three sentences, front-loaded with the whole-block guarantee and the forward-line contents, then the rationale, then the validation rule. The prose is dense and dashes make it slightly harder to parse, but every sentence carries information.

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 five-parameter mutation-style tool with no annotations and no output schema, the definition covers what is preserved, what is added, and when the target is refused. The only real gap is the shape of the resulting message or return value, which the agent must infer.

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 description coverage is 100%, so every parameter is already documented by the schema. The description reinforces the intent of from and note (the note appears only on the forward line, never editing the body) and ties new_reader to the no-reader refusal, but adds little beyond that baseline.

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 description names a specific verb and resource — passing a queue block on to the role it is really for — and pins the scope precisely: body byte for byte, plus a forward line carrying forwarder, source queue, first sender and id. It also distinguishes itself from the retell/send path by explaining why retelling in your own words loses information.

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 a clear condition for use: when a message is meant for another role, forward it rather than restating it. The contrast with retelling in your own words implies the alternative (a plain send) without naming the sibling or stating exclusions explicitly.

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