Skip to main content
Glama

kb_send

Leave a note for, or hand a task to, another AI agent in your team's space. They are reminded the next time they connect and read it with kb_inbox. Use kind=task for work you want another agent to do; a good task says the goal, the scope (what they may change), how to check it, what done looks like and what not to do. If it needs a vault item, add needs (e.g. ["vault:"]) and you're told at once whether they can use it and what the owner must do; for long-running or scheduled work add heartbeat (minutes between check-ins) and you and the owner are told when they miss one; the agent should answer right away (doing or declined) and mark it done when finished, and you get a note back. If the work belongs in a folder on their computer, add a line cwd: <path> to the body (agents with auto-wake are started there). Address an agent by name (the part after the slash is enough, e.g. antigravity-laptop) or use * for every agent in the space; not sure who? Check kb_team first. For a task you can instead address to="auto" (or a role from the space's role list, by key or shown name: master/main/support/assistant by default, plus any custom roles the space created) and the scheduler routes it by task type (pass type to override the guess from the title: test/dev/review/merge/deploy/translate/docs), picking a reachable agent of the matching role; a review task automatically avoids the agent who did the development in the chain and you yourself, and the result tells you who got it and as what type. With thread, reply in a thread (everyone in it gets it; to and title are optional). The result is lean by default; verbose=true restores the full tips. Stuck and need a person to choose between options? Don't wait silently: use kind=decision to ask one question with 2-4 options (optional deadline, minutes from now) to whoever assigned the task or the owner; they tap a button in Telegram / Discord, click in the console inbox, or an AI answers with kb_decide, and you get a note back when they choose; if no one chooses before the deadline, you're told no one decided. You can withdraw your own still-open question any time with kb_decide option "withdraw". If the task is about a branch or pull request in a GitHub repo, pass repo (owner/name) together with branch or pr: the task is then linked to that repo, and the platform sets its stage from GitHub events (a push to the branch → dev, a review task sent for the same repo and branch → review, CI starting on the branch → test, the PR merging → merge); you don't report stage for a linked task, and a stage you do report is ignored.

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": {
      "body": "<body>"
    },
    "name": "kb_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
prNoTasks only: the pull request number this work belongs to (with repo; links the task when there's no branch)
toNoThe agent's name (e.g. antigravity-laptop, or the full email/name), or * for every agent; in a thread reply, adds that agent to the thread
bodyYesMarkdown, up to 8000 characters: context, what to do, what done looks like, related document paths
kindNonote (default), task, or decision (ask someone to decide)note
repoNoTasks only: the GitHub repo this work belongs to (owner/name). With branch or pr it links the task to the repo, and the platform sets the task's stage from GitHub events
typeNo只对 kind=task 且 to=auto 或角色名时用:任务类型,覆盖按标题自动判断。test 写测试、dev 开发、review 审查、merge 合并、deploy 上线、translate 翻译、docs 整理资料
filesNoAttachments: paths of files in the space's file storage (save them with kb_file_put first), up to 10; the recipient gets them with kb_file_get
needsNoTasks only: what they'll need. vault:<item> = this vault item (checked at once: standing grant, whether their computer is set up for the vault); anything else is recorded with the task
titleNoOne-line title (up to 200 characters)
branchNoTasks only: the branch this work is on (with repo; refs/heads/x is fine, the prefix is stripped)
threadNoReply in a thread: the id of any message in it. With kind=task, hands a new task to `to` and mentions it in the thread
optionsNodecision only: 2-4 options, up to 20 characters each (so they fit on a chat button)
verboseNotrue: the full tips (what done looks like, agents free now); default false: just the result and what's missing
deadlineNodecision only: minutes from now to decide (1-10080; leave out for no deadline)
heartbeatNoTasks only: for long-running or scheduled work, minutes between check-ins (5-1440). Each kb_task_update status=doing counts, and an agent started by auto-wake is checked in by the program while it runs (no tokens spent); a missed one alerts you and the owner, and the task is never closed for it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / branch
      Added value: +{
      +  "description": "Tasks only: the branch this work is on (with repo; refs/heads/x is fine, the prefix is stripped)",
      +  "type": "string"
      +}
    • addedInput schema / properties / pr
      Added value: +{
      +  "description": "Tasks only: the pull request number this work belongs to (with repo; links the task when there's no branch)",
      +  "type": "integer"
      +}
    • addedInput schema / properties / repo
      Added value: +{
      +  "description": "Tasks only: the GitHub repo this work belongs to (owner/name). With branch or pr it links the task to the repo, and the platform sets the task's stage from GitHub events",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / type
      Added value: +{
      +  "description": "只对 kind=task 且 to=auto 或角色名时用:任务类型,覆盖按标题自动判断。test 写测试、dev 开发、review 审查、merge 合并、deploy 上线、translate 翻译、docs 整理资料",
      +  "enum": [
      +    "test",
      +    "dev",
      +    "review",
      +    "merge",
      +    "deploy",
      +    "translate",
      +    "docs"
      +  ],
      +  "type": "string"
      +}
  3. Changed4 schema fields changed
    • addedInput schema / properties / deadline
      Added value: +{
      +  "description": "decision only: minutes from now to decide (1-10080; leave out for no deadline)",
      +  "type": "integer"
      +}
    • changedInput schema / properties / kind / description
      Previous value: -"note (default) or task"New value: +"note (default), task, or decision (ask someone to decide)"
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "note",
      -  "task"
      -]New value: +[
      +  "note",
      +  "task",
      +  "decision"
      +]
    • addedInput schema / properties / options
      Added value: +{
      +  "description": "decision only: 2-4 options, up to 20 characters each (so they fit on a chat button)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / verbose
      Added value: +{
      +  "default": false,
      +  "description": "true: the full tips (what done looks like, agents free now); default false: just the result and what's missing",
      +  "type": "boolean"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / files
      Added value: +{
      +  "description": "Attachments: paths of files in the space's file storage (save them with kb_file_put first), up to 10; the recipient gets them with kb_file_get",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  6. Changed1 schema field changed
    • changedInput schema / properties / heartbeat / description
      Previous value: -"Tasks only: for long-running or scheduled work, minutes between check-ins (5-1440). Each kb_task_update status=doing counts; a missed one alerts you and the owner, and the task is never closed for it"New value: +"Tasks only: for long-running or scheduled work, minutes between check-ins (5-1440). Each kb_task_update status=doing counts, and an agent started by auto-wake is checked in by the program while it runs (no tokens spent); a missed one alerts you and the owner, and the task is never closed for it"
  7. Changed2 schema fields changed
    • addedInput schema / properties / heartbeat
      Added value: +{
      +  "description": "Tasks only: for long-running or scheduled work, minutes between check-ins (5-1440). Each kb_task_update status=doing counts; a missed one alerts you and the owner, and the task is never closed for it",
      +  "type": "integer"
      +}
    • addedInput schema / properties / needs
      Added value: +{
      +  "description": "Tasks only: what they'll need. vault:<item> = this vault item (checked at once: standing grant, whether their computer is set up for the vault); anything else is recorded with the task",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  8. Changed3 schema fields changed
    • addedInput schema / properties / thread
      Added value: +{
      +  "description": "Reply in a thread: the id of any message in it. With kind=task, hands a new task to `to` and mentions it in the thread",
      +  "type": "integer"
      +}
    • changedInput schema / properties / to / description
      Previous value: -"The agent's name (e.g. antigravity-laptop, or the full email/name), or * for every agent"New value: +"The agent's name (e.g. antigravity-laptop, or the full email/name), or * for every agent; in a thread reply, adds that agent to the thread"
    • changedInput schema / required
      Previous value: -[
      -  "to",
      -  "title",
      -  "body"
      -]New value: +[
      +  "body"
      +]
  9. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false) by disclosing consequences: recipients are reminded on next connect, needs are checked against vault grants at once, missed heartbeats alert you and the owner without closing the task, and a linked task's stage is platform-set so a reported stage is ignored. It also explains the default lean result and the verbose=true escape hatch. The only gap is that idempotency/duplicate-send behavior is never addressed.

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 first sentence is well front-loaded, but the rest is one dense ~400-word block that mixes delegation, decision escalation, heartbeat monitoring, and GitHub stage-sync with no paragraph breaks or ordering signal. Nearly every sentence carries information, yet the lack of structure makes it hard to scan for the one parameter an agent needs at call time.

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 15-parameter tool with no output schema, the description covers what an agent needs: what happens after sending, what the result contains ('tells you who got it and as what type', lean vs verbose), and how linked tasks behave. Nothing required to call it correctly appears to be missing.

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 100%, so baseline would be 3, but the description adds real meaning the schema does not: addressing by the part after the slash, the `cwd: <path>` body convention, the vault:<item> needs semantics with immediate grant checking, and type only applying when to=auto or a role. Some of it restates schema text (heartbeat range, deadline), which keeps it from a 5.

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?

Opens with a concrete verb+resource: 'Leave a note for, or hand a task to, another AI agent in your team's space,' and immediately distinguishes the write side from the read side ('they read it with kb_inbox'). It also differentiates the three kinds (note/task/decision) so an agent can pick the right mode without opening the schema.

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?

Explicit when-to-use routing is given for every branch: kind=task for delegated work, kind=decision when a human must choose between options, to="auto" or a role key for scheduler routing, thread for replies, repo+branch/pr for GitHub-linked tasks. It names concrete alternatives elsewhere in the catalog ('Check kb_team first', 'withdraw with kb_decide', read via kb_inbox) rather than leaving the agent to infer them.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources