# MCP tool reference (/docs/concord-mcp/tools)

Every write tool takes an optional `workspace_id` and `agent_id`. Usually leave `agent_id` out: Concord works out the agent's identity from its session. In a chat app, pass the `agent_id` the first call returned.

## `start_work` [#start_work]

Register or refresh this agent, accept addressed work if needed, claim the scope, and get overlap warnings. Call it before editing.

| Parameter | |
| --- | --- |
| `task_id` (required) | Stable id, such as `TASK-12` |
| `title` (required) | Short human-readable title |
| `kind` (required) | Agent type, such as `claude-code` or `codex` |
| `expected_files` | Files or directories you expect to change, relative to the repository root |
| `modules`, `domains`, `risk_tags` | Looser scope for overlap detection |
| `summary`, `notes` | What you're doing |
| `branch`, `worktree`, `cwd`, `pid`, `model` | Where and how you're running |
| `parent_task_id` | Claim a smaller unit of a larger task |

Returns the task `version`, how it was entered (`resumed_by`: `new_claim`, `claim`, `assignment`, `handoff` or `reopen`), and `overlaps`. On Cloud, a file another task holds refuses the claim and names the holder.

## `inspect_work` [#inspect_work]

Read-only. Pass at most one selector:

| Parameter | Returns |
| --- | --- |
| *(none)* | The workspace: agents, active tasks, claims |
| `task_id` | One task with its entries, claims and handoffs |
| `agent_id` | One agent's reachability, inbox and outbox. Your own id shows your new messages and marks them read. |
| `message_id` | One prompt/reply thread with its delivery log |
| `query` | Search past messages, findings, decisions and handoffs (1–200 characters). `limit` 1–50, default 20. |

`include_superseded` shows replaced decisions.

## `update_work` [#update_work]

Record task context, or message another agent.

| `operation` | Required | |
| --- | --- | --- |
| `record` (default) | `task_id`, `kind`, `content` | `kind`: `intent`, `progress`, `assumption`, `decision`, `question`, `answer`, `blocker` or `finding`. `content` up to 16,384 characters. `supersedes` and `supersede_reason` replace an earlier decision. |
| `prompt` | `to_agent_id`, `content`, `idempotency_key` | `expects_reply` defaults to true |
| `reply` | `reply_to_message_id`, `content`, `idempotency_key` | `expects_reply` defaults to false |

See [Messages](/docs/concepts/messages) and [Task memory](/docs/concepts/memory).

## `transfer_work` [#transfer_work]

One versioned ownership action.

| Parameter | |
| --- | --- |
| `task_id`, `expected_version` (required) | The task and the version you last read |
| `action` (required) | `assign`, `accept`, `decline`, `release`, `reassign`, `offer` or `reopen` |
| `to_agent_id` | Required for `assign`, `reassign` and `offer` |
| `what_changed` | Required for `offer` |
| `reason` | Required for `reassign`, `reopen` and declining a handoff |
| `handoff_id`, `lease_seconds`, `expires_seconds`, `force` | |
| Evidence | `changed_files`, `tests_run`, `known_risks`, `assumptions`, `decisions`, `guardrails_checked`, `next_steps` |

See [Handoffs and review](/docs/concepts/handoffs).

## `finish_work` [#finish_work]

Record evidence, then set the outcome.

| Parameter | |
| --- | --- |
| `task_id`, `expected_version`, `what_changed` (required) | |
| `outcome` | `handoff`, `review_ready`, `complete` (default) or `closed` |
| Evidence | `changed_files`, `tests_run`, `decisions`, `assumptions`, `known_risks`, `guardrails_checked`, `open_questions`, `next_steps`, `needs_review_from`, `diff_size` |
| `provenance` | `{ field, source }` pairs saying where each claim came from |
| `reported_outcome` | A measured result: `source` (`agent`, `ci`, `review`, `human`), `acceptance`, `integration`, `human_intervention_ms`, `rework_ms`. Needs a `provenance` entry for `reported_outcome`. |
| `reason` | Recorded with the final state |

## Resource [#resource]

concord-mcp also exposes `concord://work-state`: JSON of active claims, overlaps and review-ready tasks.

## Cloud only [#cloud-only]

Chat apps connected to Concord Cloud also get `report_issue`, which sends a problem report to the Concord team once the user agrees.