agent-work-layer-mcp
v0.10.0MCP server for Agent Work Layer: hand Work Orders between agent sessions and get checked Work Reports back.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_work_order
Issue a Work Order to a worker agent. Every criterion must be provable with evidence. Set parent_id to split your own order into a sub-order; it may only narrow budget, tools and deadline. Set continues to reissue a finished order (approved, declined, cancelled or expired) to a new worker, usually with its handoff; cancel a failed or blocked order first.
| Parameter | Type | Description |
|---|---|---|
budget * | object | Upper limits; set at least one unit |
criteria * | array | How done will be judged |
deadline * | string | RFC 3339 timestamp |
goal * | string | What to achieve, in plain language |
to * | string | Worker agent reference (Agent Card URL or name) |
tools * | array | Allowed tools: "server/tool", "server/*" or "*" |
actor | string | Who is acting. Omit to use this session's identity. |
context | array | |
continues | string | Id of the finished order this one picks up from |
escalate_to | string | |
handoff | object | What a previous worker learned: decisions, what was tried, open questions, next step |
id | string | Optional explicit id |
inputs | object | |
metadata | object | |
output_schema | object | JSON Schema that result.output must match |
parent_id | string | |
staged | array | Tools, among those allowed, whose calls the worker's gateway holds back until you approve the report |
list_work_orders
List work orders. Workers: filter by to=<yourself> and state=offered to find new jobs.
| Parameter | Type | Description |
|---|---|---|
continues | string | Find the orders that continue this order id |
from | string | |
parent_id | string | |
state | string | |
to | string |
get_work_order
Full order, current state, latest report, check findings and event log. The order's worker also gets its Delegation Pass, if the desk issues them.
| Parameter | Type | Description |
|---|---|---|
id * | string | Work order id |
actor | string | Who is acting. Omit to use this session's identity. |
accept_work_order
Worker accepts an offered order.
| Parameter | Type | Description |
|---|---|---|
id * | string | Work order id |
actor | string | Who is acting. Omit to use this session's identity. |
decline_work_order
Worker declines an offered order.
| Parameter | Type | Description |
|---|---|---|
id * | string | Work order id |
actor | string | Who is acting. Omit to use this session's identity. |
reason | string |
start_work_order
Worker starts an accepted order.
| Parameter | Type | Description |
|---|---|---|
id * | string | Work order id |
actor | string | Who is acting. Omit to use this session's identity. |
submit_work_report
Worker reports on an order. done needs evidence for every criterion; blocked needs questions; failed needs error. A rejected report returns the failed checks so you can fix it and resubmit.
| Parameter | Type | Description |
|---|---|---|
cost * | object | |
evidence * | array | |
id * | string | Work order id |
result * | object | |
status * | string | |
tools_used * | array | Exact tool names called, as "server/tool" |
actor | string | Who is acting. Omit to use this session's identity. |
effects | array | Staged calls to run if the report is approved, as the gateway's awl_usage lists them |
error | string | |
finished_at | string | |
handoff | object | For whoever continues this job: decisions, what was tried, open questions, next step |
metadata | object | |
questions | array | |
started_at | string |
report_progress
Worker posts a progress note on a working order, optionally with percent done. Changes no state; managers following the order with wait_for_update see it.
| Parameter | Type | Description |
|---|---|---|
id * | string | Work order id |
note * | string | What has been done or is happening now |
actor | string | Who is acting. Omit to use this session's identity. |
percent | number |
answer_question
Manager or escalation contact answers a blocked worker; the order returns to working.
| Parameter | Type | Description |
|---|---|---|
answer * | string | |
id * | string | Work order id |
actor | string | Who is acting. Omit to use this session's identity. |
review_work_report
Manager approves a submitted report, or sends it back for rework with a reason. Approving lets the worker's gateway run the report's staged effects (or only those listed in effects); rework drops them.
| Parameter | Type | Description |
|---|---|---|
decision * | string | |
id * | string | Work order id |
actor | string | Who is acting. Omit to use this session's identity. |
effects | array | On approve: refs of the report's effects to run. Omit to run all; [] to run none |
reason | string |
allow_effect_retry
Manager lets the worker's gateway run approved effects once more that did not happen: ones the worker settled as not_run after an unknown outcome, or ones skipped because an effect they use did not succeed. Each call allows one more try of each.
| Parameter | Type | Description |
|---|---|---|
effects * | array | Refs of the approved effects to allow one more try of |
id * | string | Work order id |
actor | string | Who is acting. Omit to use this session's identity. |
reason | string |
cancel_work_order
Manager cancels an order that is not finished.
| Parameter | Type | Description |
|---|---|---|
id * | string | Work order id |
actor | string | Who is acting. Omit to use this session's identity. |
reason | string |
get_track_record
A worker's record on this desk: orders approved (first time or after rework), declined, expired and cancelled, reports by status, and spending against budget.
| Parameter | Type | Description |
|---|---|---|
agent * | string | The worker's agent reference |
since | string | Count only orders created at or after this RFC 3339 time |
wait_for_update
Wait until the order changes after since_seq (up to timeout_s seconds). Use it to follow a job live.
| Parameter | Type | Description |
|---|---|---|
id * | string | Work order id |
since_seq * | integer | |
timeout_s | number |