agent-work-layer-mcp

v0.10.0
agent-work-layer-mcp Checked 11 hours ago Published 19 days ago

MCP 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.

ParameterTypeDescription
budget *objectUpper limits; set at least one unit
criteria *arrayHow done will be judged
deadline *stringRFC 3339 timestamp
goal *stringWhat to achieve, in plain language
to *stringWorker agent reference (Agent Card URL or name)
tools *arrayAllowed tools: "server/tool", "server/*" or "*"
actorstringWho is acting. Omit to use this session's identity.
contextarray
continuesstringId of the finished order this one picks up from
escalate_tostring
handoffobjectWhat a previous worker learned: decisions, what was tried, open questions, next step
idstringOptional explicit id
inputsobject
metadataobject
output_schemaobjectJSON Schema that result.output must match
parent_idstring
stagedarrayTools, 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.

ParameterTypeDescription
continuesstringFind the orders that continue this order id
fromstring
parent_idstring
statestring
tostring

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.

ParameterTypeDescription
id *stringWork order id
actorstringWho is acting. Omit to use this session's identity.

accept_work_order

Worker accepts an offered order.

ParameterTypeDescription
id *stringWork order id
actorstringWho is acting. Omit to use this session's identity.

decline_work_order

Worker declines an offered order.

ParameterTypeDescription
id *stringWork order id
actorstringWho is acting. Omit to use this session's identity.
reasonstring

start_work_order

Worker starts an accepted order.

ParameterTypeDescription
id *stringWork order id
actorstringWho 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.

ParameterTypeDescription
cost *object
evidence *array
id *stringWork order id
result *object
status *string
tools_used *arrayExact tool names called, as "server/tool"
actorstringWho is acting. Omit to use this session's identity.
effectsarrayStaged calls to run if the report is approved, as the gateway's awl_usage lists them
errorstring
finished_atstring
handoffobjectFor whoever continues this job: decisions, what was tried, open questions, next step
metadataobject
questionsarray
started_atstring

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.

ParameterTypeDescription
id *stringWork order id
note *stringWhat has been done or is happening now
actorstringWho is acting. Omit to use this session's identity.
percentnumber

answer_question

Manager or escalation contact answers a blocked worker; the order returns to working.

ParameterTypeDescription
answer *string
id *stringWork order id
actorstringWho 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.

ParameterTypeDescription
decision *string
id *stringWork order id
actorstringWho is acting. Omit to use this session's identity.
effectsarrayOn approve: refs of the report's effects to run. Omit to run all; [] to run none
reasonstring

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.

ParameterTypeDescription
effects *arrayRefs of the approved effects to allow one more try of
id *stringWork order id
actorstringWho is acting. Omit to use this session's identity.
reasonstring

cancel_work_order

Manager cancels an order that is not finished.

ParameterTypeDescription
id *stringWork order id
actorstringWho is acting. Omit to use this session's identity.
reasonstring

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.

ParameterTypeDescription
agent *stringThe worker's agent reference
sincestringCount 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.

ParameterTypeDescription
id *stringWork order id
since_seq *integer
timeout_snumber