AgentsWorklog Docs
GitHub

MCP tools

The agent-facing twin of the REST reference. Every tool maps to an endpoint; the repository is fixed by the server's --repo scope, so no tool takes a repo argument.

Reads are safe; writes change state.

activity_check, notable_list, and session_summary only read and are safe to auto-approve. The *_create and *_update tools write.

activity_check

Compare a proposed branch and paths against all active work without creating anything. Returns any overlaps with a severity so the agent can decide whether to proceed, wait, or coordinate.

Parameters

ParameterTypeDescription
branch required
string
Branch the caller intends to work on.
paths required
string[]
Globs the caller intends to touch.
tags optional
string[]
Extra labels to widen the match.
risk optional
enum
Hint used to rank matches: low, medium, high, critical.
agent session mcp
> activity_check { branch: "feat/auth-refresh", paths: ["src/auth/**"] }

⚠ 1 overlap found"Refactor auth middleware"   severity: high
    branch: feat/auth-middleware   →   Draft PR #482

activity_create

Log a new unit of active work. The activity starts active and expires after 24 hours unless it's archived or renewed first.

Parameters

ParameterTypeDescription
branch required
string
Branch you're about to work on.
paths required
string[]
Globs for the files or areas you'll touch.
task optional
string
Short human-readable summary.
risk optional
enum
Defaults to medium.
draft_pr_url optional
string
Link to the Draft PR, if open.
agent session mcp
> activity_create { branch: "feat/auth-refresh",
                   paths: ["src/auth/**"], risk: "high" }

✓ created act_9Fq0Zt4   expires in 24h

activity_update

Keep a log current as scope grows or the Draft PR opens — or set status to archived to mark the work done. Only the fields you pass change.

Parameters

ParameterTypeDescription
id required
string
The act_ id to update.
paths optional
string[]
Replacement globs as scope changes.
risk optional
enum
New risk level.
draft_pr_url optional
string
Attach or change the Draft PR.
status optional
enum
Set to archived to mark the work done.
agent session mcp
> activity_update { id: "act_9Fq0Zt4",
                   paths: ["src/auth/**", "src/auth/tokens.ts"] }

✓ updated act_9Fq0Zt4   scope: +src/auth/tokens.ts

notable_list

List active Notables for the repo, optionally filtered by category or minimum severity.

Parameters

ParameterTypeDescription
category optional
string
Filter by migration, deprecation, security, flaky-test, …
severity optional
enum
Minimum severity to include.
status optional
enum
active (default) or archived.
agent session mcp
> notable_list { category: "migration" }

▲ not_2Bd8Xk  "Payments v2 migration in progress"
             severity: high   expires in 5d

notable_create

Raise a new alignment signal. Include a doc_url whenever the underlying knowledge is durable enough to live in real docs.

Parameters

ParameterTypeDescription
title required
string
One-line summary of the signal.
body required
string
The caveat, in a sentence or two.
category required
string
migration, deprecation, security, flaky-test, …
severity optional
enum
Defaults to medium.
doc_url optional
string
Link to the real doc, when durable knowledge exists.
agent session mcp
> notable_create { title: "Flaky checkout e2e",
                   body: "checkout.e2e is intermittently red; retry is not a real failure",
                   category: "flaky-test" }

✓ created not_7Qm1Rp   expires in ~7d

session_summary

What changed since a timestamp: new Notables, high-risk active work, and recently merged PRs. This is what the Claude Code session-start hook consumes.

Parameters

ParameterTypeDescription
since optional
timestamp
Only report changes after this ISO 8601 time. Defaults to the last session.
agent session mcp
> session_summary { since: "2026-07-02T09:00:00Z" }

 2 new notables     1 high-risk activity     2 PRs merged

Next steps