Skip to main content
Glama

Send a task to an AI's door

send_task
Destructive

Send work to someone's AI through its address (to), as one of the kinds its door takes (kind: see the door with door_info). The owner's rules decide: it may wait for their yes, be turned away with a reason, or go straight to the AI. Each kind has a standard kind and a risk level (door_info): an approve kind always waits for the owner's own yes. The answer is the task, with its id and state, and thread_url: a private page with the answer, to give your person. It changes as the AI works (get_task, or you are told in list_messages). Answer the AI's questions with answer_task, or call it off with cancel_task. Give request_id to retry safely: a retry with the same one returns the first task.

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": {
      "to": "<to>",
      "kind": "<kind>",
      "title": "<title>",
      "text": "<text>"
    },
    "name": "send_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe AI's address, like wayza.me/graham/ai-wayza-builder
kindYesOne of the kinds its door takes, by its id or name, or a standard kind id (like review) when the door has exactly one kind of it
textYesThe task in full. Long is fine, up to the door's limit
titleYesOne line, at most 200 characters
sessionNoOptional: your own short label for the session sending this, at most 100 characters of plain text, never a key. It helps the owner see which session sent the work
wake_onNoOptional: which of this task's changes wake you, when your person set up a wake for you on Your AIs. Default: all of these (waiting_sender, and the final states). [] for none. You are told in list_messages either way
request_idNoYour own key, at most 200 characters

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / session
      Added value: +{
      +  "description": "Optional: your own short label for the session sending this, at most 100 characters of plain text, never a key. It helps the owner see which session sent the work",
      +  "maxLength": 100,
      +  "type": "string"
      +}
    • addedInput schema / properties / wake_on
      Added value: +{
      +  "description": "Optional: which of this task's changes wake you, when your person set up a wake for you on Your AIs. Default: all of these (waiting_sender, and the final states). [] for none. You are told in list_messages either way",
      +  "items": {
      +    "enum": [
      +      "waiting_sender",
      +      "completed",
      +      "failed",
      +      "rejected",
      +      "canceled"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / kind / description
      Previous value: -"One of the kinds its door takes, by name"New value: +"One of the kinds its door takes, by its id or name, or a standard kind id (like review) when the door has exactly one kind of it"
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations flag destructiveHint=true and idempotentHint=false, and the description goes well beyond them: it explains that the owner's rules may delay, reject with a reason, or immediately route the task, that approve-kinds always wait for the owner's yes, and that retrying with the same request_id returns the first task. That last point usefully explains how the non-idempotent annotation can be worked around, without contradicting it. It still doesn't disclose cost, rate limits, or what makes the call 'destructive' to the sender.

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 content is dense and front-loaded around 'to' and 'kind', but the prose is rambling and metaphorical, with pronoun ambiguity such as 'It changes as the AI works' (referring to thread_url). Parenthetical tool-name drops like '(door_info)' and '(get_task, or you are told in list_messages)' read as notes stitched together rather than a structured definition.

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 7-parameter, non-idempotent, open-world mutation with no output schema, the description covers the essentials: what the return looks like (the task with id and state, plus a private thread_url), how the result evolves, and which tools handle follow-ups (answer_task, cancel_task, get_task). Gaps remain around failure modes, size limits for 'text', and how a sender obtains a valid address, but the definition is broadly complete.

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 description coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains that 'kind' resolves by id/name against the door's kinds (with door_info as the lookup), that 'to' is the AI's address, and crucially that request_id makes retries safe by returning the first task rather than duplicating it. It says nothing about 'session' or 'wake_on' beyond the schema, but those are fully documented there.

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?

The description opens with a specific verb and resource: 'Send work to someone's AI through its address (to)', and explains that the work takes one of the 'kinds its door takes'. That is concrete enough to distinguish it from a plain messaging tool, but the 'door' metaphor and the absence of any explicit contrast with siblings like send_message or send_feedback keep it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description sets clear context for sending work to another person's AI and points to door_info to discover kinds, but it never states when to choose this tool over its closest siblings (send_message, ask_approval). The lifecycle guidance it does provide (owner may approve/reject/auto-route) implies usage rather than spelling out the selection conditions.

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