Documentation

MCP tool reference

The 31 tools currently exposed by Helen's Foundry, generated from the same registry clients receive through MCP. Each row shows the summary a client sees when it lists the tools. Expand one for its full guidance and parameters. Tool names are shown bare. Some clients add their own prefix, such as mcp__<server>__, when they list them. Match on the bare name.

List recent workspace activity

activity_feed_list

Returns the newest-first stream of artifact changes, proposals, and external events for the workspace or one artifact. For versions use artifacts_get include history; for findings use signals_list.

Read recorded workspace events, newest first. Returns immutable event snapshots in {items, meta}; continue with offset: meta.next_offset. Every lifecycle move is one <machine>.<event> event. Member actions are returned by default; include_system adds system and detector moves. Each item's actorKind says who acted (human, ai_agent, automation and so on), which differs from the transition_origin recorded in artifacts_get history: origin says why a move happened (user command, system, detector or replay), so a move an agent makes records origin user while actorKind stays ai_agent. Filter by subject kind, event type, artifact type, role tier, occurrence time, artifact_id (events about one artifact; add include_descendants: true for anything below it too, such as a finding on a descendant), or root_id (the same tree read as artifact_id with include_descendants; pass artifact_id or root_id, not both). For an artifact's versions with their actors, use artifacts_get with include: ['history']. To follow new events, pass since_seq once to start after that feed position. On every later call, pass continuation: meta.next_continuation with the same filters. Followed rows come in transaction order, each exactly once, including an event that commits late with a lower position. Every page returns meta.next_continuation. A page shorter than limit means the reader has caught up; call again later. offset does not apply when following. Pending work is available through proposals_list.

Parameters

Name Type Description
since string | null Only items at or after this ISO-8601 timestamp
until string | null Only items at or before this ISO-8601 timestamp
kind "artifact" | "comment" | "proposal" | "pull_request" | "issue" | "artifact-quality" | "pending-action" | "signal" | "integration-connection" | "onboarding-run" | "implementation-decision" | "credential-refresh" | "workspace-membership" | null Subject of the recorded event; artifact includes its archive and delete moves
event_type "artifact.created" | "artifact.updated" | "artifact.state_changed" | "artifact.deleted" | "comment.created" | "comment.updated" | "comment.deleted" | "proposal.submitted" | "proposal.approved" | "proposal.declined" | "pull_request.opened" | "pull_request.closed" | "pull_request.merged" | "issue.opened" | "issue.closed" | string | "artifact.created" | "artifact.updated" | "artifact.state_changed" | "artifact.deleted" | "comment.created" | "comment.updated" | "comment.deleted" | "proposal.submitted" | "proposal.approved" | "proposal.declined" | "pull_request.opened" | "pull_request.closed" | "pull_request.merged" | "issue.opened" | "issue.closed" | string[] | null Recorded event types; a lifecycle move is <machine>.<event>, such as signal.dismiss, and also matches the older type that recorded the same fact
include_system boolean | null Also return system work and detector moves (default: false, member actions only)
artifact_type string | string[] | null Narrow to one or more artifact types
artifact_id string | string | string | null Only events about this artifact, newest first, including findings that name it
include_descendants boolean | null With artifact_id, also return events about artifacts below it (default: false)
root_id string | string | string | null Only events about this artifact or an artifact below it, including findings that name one
since_seq integer | null Start following events inserted after this feed position, in transaction order; continue with continuation: meta.next_continuation, not another since_seq
continuation string | null Opaque follow position from meta.next_continuation; pass it unchanged with the same filters and without since_seq
role_tier "orient" | "directional" | "structural" | "execution" | null Narrow to events on artifacts of one role tier
limit integer | null Max items (default: 50, max: 200)
offset integer | null Page start over the newest-first event log; continue from meta.next_offset.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

List artifact type catalog

artifact_types

Lists the artifact type catalogue: each type's fields, allowed parent types, tier, and allowed states. Read it before artifacts_create to pick a valid type and a valid parent.

The artifact type catalogue: each type's fields, hierarchy, allowed parent types, tier, allowedStates (pass one as state to artifacts_update; out-of-tier is rejected), and transitions (each lifecycle event the type may take and the state it lands in to; any may follow any current state). Field authoring rules returned by this catalogue: Artifact narrative, at most 3,000 characters for every type (counted after trimming). A longer description is refused and nothing is saved: validation_failed with an issue on description, or ArtifactFieldTooLong, whose details carry field, limit, and actual (the length received); shorten it and retry. Mission, vision, strategy, goal, persona, problem, and project descriptions support Markdown. Preserve explanatory prose and dated checkpoints here; use artifact links for relationships, clauses for testable project or ticket requirements and strategy commitments, and content only for declared structured fields. Scalar textarea strings render Markdown; use it when headings, lists, links, quotes, or fenced code improve readability, and use Markdown instead of raw HTML because raw HTML is escaped. text, select, date, and number fields are plain values and should not contain Markdown. Unfiltered by default; scope it with these AND-combined filters: types (string array of type ids, e.g. ['project','ticket']), tier (one of orient/directional/structural/execution), and parent_type (a type id that keeps the types that may be created under it, i.e. those whose allowedParentTypes includes it; this is the "what can I put here" query). Unknown parameters and unknown filter values are rejected with validation_failed rather than silently ignored. The response carries types (the scoped, id-keyed catalogue) and meta.filters / meta.count / meta.total echoing what was applied. Also the resource hf://types (always unfiltered).

Parameters

Name Type Description
types string[] | null Keep only these artifact type ids (e.g. ['project','ticket']). Unknown ids return validation_failed.
tier string | null Keep only types in this lifecycle tier — one of orient, directional, structural, execution. An unknown tier returns validation_failed.
parent_type string | null Keep only types that may be created under this parent type id (its allowedParentTypes membership). An unknown id returns validation_failed.

Create one artifact, or a batch

artifacts_create

Creates one artifact, or up to 50 through items. An agent create of goal, persona, problem, or project lands as a draft. An agent create of mission, vision, strategy, or domain_model returns a proposal.

Human ratification: an agent create (API key or OAuth client) of goal, persona, problem, or project lands as draft. Unless you asked for state: 'draft', the {kind:'created'} result carries proposal_id, proposal_url, and next_action: give proposal_url to a human workspace editor, who chooses Ratify & promote or Keep as draft. An agent create of mission, vision, strategy, or domain_model writes nothing yet and returns {kind:'proposal', proposal_id, proposal_url} for a human to decide, unless the workspace singleton_write_policy is yolo. Create artifacts in ONE of two forms: pass the single-artifact fields (type and title, plus any of the optional fields below) to create one, or pass items to create up to 50 in a single call. The two forms are exclusive: sending items together with any single-artifact field returns validation_failed, and so does sending neither. Single form: use parent_id for one containment parent or parent_ids for up to 20; when both are supplied they are combined and de-duplicated. Every parent is type-validated before the atomic write, so one missing or wrong-type parent returns an error without creating the artifact or any edges. Singleton types (mission/vision/strategy/domain_model) replace their predecessor (singleton_replaced on the artifact). Agent credentials (API key / OAuth client) MUST attach a parent to a non-root type: a parentless create is REFUSED with validation_failed before anything is written, and its details carry rule_id: 'missing_parent' and the expected_parent_types. Find a parent with artifacts_search and retry with parent_id, or pass allow_orphan: true to create it unparented on purpose. When an artifact does land without a parent (a web/system create, or allow_orphan), it carries a readiness_warnings entry with rule_id: 'missing_parent'; find a parent with artifacts_search and set it with artifacts_update parent_id. Retries: an agent create that repeats one the same API key or connected app made in the last 10 minutes (same type, title, description, content, clauses, state, priority, owner and parents, and not archived since) writes nothing and returns the artifact the first create made, with replayed: true. So a create retried after a timeout is safe. To create a second identical artifact on purpose within that window, change its title or description. Singleton types are not replayed. On a created result the artifact also carries a _signals sidecar: Reconcile findings (including drift findings and detected incompatibilities) on the new artifact and all parents. Returns {kind:'created'}, or {kind:'proposal',proposal_id,proposal_url} when the create requires human review — branch on kind. Put your reasoning, sources, and caveats for that reviewer in rationale, not in description: the description is saved as the artifact's text. A singleton proposal replaces the predecessor only when it is applied, and creates the singleton in the requested state; for a committed state, the human chooses Create & ratify or Decline. Explicit draft creates file no promotion. Competing singleton proposals: a singleton proposal result carries competing_proposal_ids, the other pending create proposals of the same type in this workspace (newest first, at most five; [] when there are none). A person can apply only one, so tell the reviewer which to keep. The list is absent when that check could not run, so absence does not mean none. Validation failures: a create refused by its payload checks fails with the first refusal's code, and details.validation_failures lists every refusal of the payload, each { code, field, message, allowed_values? }, so one call names everything to fix. Quality rejections: a refused create fails with ArtifactQualityAdmissionRejected; details.artifact_quality.quality.result.findings says which rule failed and why, and details.artifact_quality.quality.suggestions gives up to three fixes, each { location, action }, drawn from the rubric's remediation for the failed rules. Dry run: dry_run: true (single form only) runs the create's quality admission (the ticket clause rule, field length limits, format checks, and the ticket grade) and writes nothing: no artifact, outbox event, or proposal. A graded ticket still records its one artifact check credit. It answers {kind:'dry_run', admitted:true, quality_graded, artifact_quality?} (quality_graded is false for a non-ticket, or when the grade missed its deadline, as the real create would then admit it ungraded), or fails with the same error the create would, plus details.dry_run: true. It applies the create's payload checks, including the parent requirement, but reads no parent, owner, or singleton proposal. On a 2026-07-28 client, a call that files a proposal a person must decide first returns input_required: a form asking the connected person to apply it, decline it, or decide later in the app (one decision for all of a batch's proposals), or, when the client shows only URL prompts, the proposal's decide page. An apply or decline the person accepts in the form is their own decision, recorded as made through MCP. An API key is never shown the form; it gets the decide page, or, on a client without URL prompts, the result with the proposal's link. The client's retry returns the same result, without writing again, plus _decision_handoff: { handoff, decide_url, proposals: [{ proposal_id, status, decision_error? }] }, where handoff is decided, opened, deferred, declined, dismissed (the person closed the prompt without choosing; the proposal is still pending, and the agent may ask once more with person_decisions_request and the proposal's id), or link_only (give decide_url to a person). Batch form (items): create up to 50 artifacts in one call (fan-out bounded to 8 in-flight globally and 3 per shared parent); each item runs through the single-create path independently, so partial failures don't sink the batch. items is exclusive with the single-create fields — send one form or the other, never both, or the call returns validation_failed. Items accept type, title, description, content, clauses, parent_id, parent_ids, priority, state, owner_id, allow_orphan, and rationale. Agent-created singleton items (mission/vision/strategy/domain_model) require human review before creation: their per-item result is { ok: true, kind: 'proposal', proposal_id, proposal_url, status, reason }, counted in summary.proposed rather than succeeded. Returns { results, summary } with per-item ok/error so you can retry failures — UNLESS every item failed, in which case the call is a top-level error (isError) whose details.results carries the per-item errors, so a 0-succeeded batch is never reported as success. A non-root item with no parent_id from an agent credential FAILS that item with validation_failed / rule_id: 'missing_parent'; retry just that item with a parent found through artifacts_search, and the rest of the batch still lands. Create-first/link-later flows must set allow_orphan: true on those items, which lets them land with a readiness_warnings entry to resolve later with artifacts_update parent_id. Items run concurrently, so their artifact numbers (the keys, such as HF-142) follow the order items finish, not the order sent. For new artifacts that must reference each other's returned ids, or whose keys must follow a set order, use sequential single creates. A failed item's quality rejection carries only details.artifact_quality.{status, findings, suggestions?}; it has no error.message: each finding's rule id and reason are in findings, and suggestions holds up to three concrete fixes, present whenever the review found a rule its rubric can name a fix for. Transient faults: an item that fails with ServiceUnavailable or WorkspaceUnavailable (a datastore or downstream service did not answer) carries details.retryable and details.retry_hint. Each item's write is one transaction (the artifact, its parent edges, and its outbox events; or, for a singleton, the proposal row), so a fault before commit wrote nothing and retrying that item alone is safe. The create has no idempotency key, so one case can still duplicate: a fault during the commit itself, after the database saved the row. A retried singleton create shows such a duplicate in competing_proposal_ids; for another type, an identical retry by the same API key or connected app within 10 minutes writes nothing and returns the first artifact with replayed: true. Two identical items in one batch: the second returns the first's artifact when it runs after the first commits; items under one parent run concurrently, so both may be created. One item says outright that it was written: when an agent create lands as a draft and filing its promotion proposal fails, the item carries details.artifact_written: true, details.artifact_id, and retryable: false. Do not create it again; request the state with artifacts_update. Under the response cap, rows shed detail and _meta.degraded names what was dropped, but summary and each row's ok plus artifact id or error code always remain: read written items by id rather than retrying the batch. Emits notifications/progress when given a progress token.

Parameters

Name Type Description
type value Single form: artifact type. Required with title, and rejected alongside items.
title string Single form: artifact title. Required with type, and rejected alongside items. At most 120 characters after trimming.
description string | null Artifact narrative, at most 3,000 characters after trimming; a longer one is refused with ArtifactFieldTooLong and nothing is saved. Per-type limits and Markdown support: docs_get({ topic: 'clauses' }).
content object | null Type-specific structured fields. Call artifact_types first and use only its declared keys and value shapes. Fields the catalogue marks required: true must be present on create and whenever an update sends content, which replaces the stored content: a ticket needs ticket_type set to bug, chore, feature, or spike. Scalar textarea strings render Markdown; use it when headings, lists, links, quotes, or fenced code improve readability, and use Markdown instead of raw HTML because raw HTML is escaped. text, select, date, and number fields are plain values and should not contain Markdown.
clauses value[] Testable clauses for project, ticket, strategy, persona, problem. A ticket create needs at least one. Grammar and per-type limits: docs_get({ topic: 'clauses' }).
parent_id string | string | string | null Parent artifact UUID to link to
parent_ids string | string | string[] One to 20 parent artifact UUIDs to link atomically. May be combined with parent_id; duplicates are ignored.
priority value | null Priority, for execution-tier types only. Omitted or null on an execution-tier create, it is medium; clear it afterwards with artifacts_update.
state value Initial lifecycle state. Omit for the default active create; pass draft only for explicit draft workflows. An agent create of goal, persona, problem, or project always lands as draft; the result's authority_policy explains how a human ratifies and promotes it.
owner_id string | null UUID of the workspace member who owns this artifact. Must be a member of this workspace, else validation_failed. Omitted or null on an execution-tier create from an OAuth agent session, the owner is the person who signed in that session; clear it afterwards with artifacts_update. Otherwise omitted or null means unassigned.
allow_orphan boolean Create this artifact with no parent on purpose. Only agent credentials need it: a parentless non-root create from automation is refused, because an omitted parent is nearly always an oversight and the resulting orphan is invisible to the agent that made it. true records the decision and skips the refusal; the artifact still carries its missing_parent readiness warning. Ignored when a parent is supplied, and a no-op for web/system callers.
rationale string Your note to the human reviewer: reasoning, sources, and caveats such as 'inferred from the pitch deck; no document states an adopted mission'. Shown beside the proposal when the create needs human review; never saved into the artifact. Keep description to the artifact's own text.
dry_run boolean Single form only: true runs the create's quality admission gate and writes nothing (no artifact, outbox event, or proposal). It answers {kind:'dry_run', admitted:true, quality_graded, artifact_quality?}, or fails with the same refusal the create would, with details.dry_run: true. It checks the payload as the create does, including the parent requirement, but reads no parent, owner, or singleton proposal. Rejected alongside items.
items object[] Batch form: 1 to 50 create payloads (the array is named items, not artifacts), each accepting type, title, description, content, clauses, parent_id, parent_ids, priority, state, owner_id, allow_orphan, and rationale. Each entry's fields mean what the single-form fields of the same name say; set allow_orphan per entry. Rejected alongside the single-artifact fields.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Delete an artifact

artifacts_delete

Soft-deletes an artifact through a two-phase confirmation. Reach for it only for genuine garbage; to retire real work, close or archive it with artifacts_update.

Soft-delete an artifact (history/links/findings preserved, no public restore surface) — prefer artifacts_update({state:'closed'}) or {archived:true} unless it's genuine garbage. Two-phase: the first call returns {kind:'requires_confirmation', confirmation_token, preview}; call again with the token to execute. The token is single-use and expires 30 seconds after phase 1 issues it (expires_at in the response). If the second call fails with ArtifactDeleteConfirmationInvalid (token expired, unknown or already used), run phase 1 again without a token to get a fresh one. Branch on kind.

Parameters

Name Type Description
id required string | string | string The artifact id.
confirmation_token string Token from a prior requires_confirmation response. Omit on first call.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Get one artifact by id

artifacts_get

Returns one artifact by id with its content, lifecycle fields, and optional sidecars, archived ones included. include: ['history'] adds its versions. Without the id, use artifacts_search or artifacts_list.

Get one artifact by ID with its saved quality grade (quality: graded_at, level low, moderate, or high, per-criterion ratings, and remediation, the fixed rubric fix for each partially met or unmet criterion; null when the current version is ungraded), full content, state, closure_reason, archived_at. Explicit ID retrieval includes archived artifacts for recovery and audit; default grounding reads exclude them. By default attaches four sidecars: up to 3 recent _external_references, a _signals sidecar of the reconcile signals on this artifact (findings on it + conflicts naming it) so you see them before acting, _owner, and _ratification: whether a person ratified the current title, description and content (status: 'ratified' with ratified_by, a user id, and ratified_at; 'unratified' with reason never_ratified or invalidated_by_edit and the earlier ratification in last_ratified_by and last_ratified_at; 'not_applicable' for a type that needs no ratification, a draft or a closed artifact; 'unavailable' when the records could not be read, which is not an answer either way). It is read on every call, so the first read after an edit already reports it; last_reviewed_at and reviewed_by report validation renewal, not ratification. Pass include: ['specifications'] (opt-in, never attached by default) to add _specifications: the clauses the author wrote on this artifact's current version (state: 'available' with clauses), or state: 'unavailable' when the saved list cannot be read. It also adds _inherited_specifications: the clauses of every open (not closed) ancestor on the containment chain, nearest first, as ancestors items of {id, key, type, title, state, distance, specifications} (distance 1 is the parent; ancestors with no clauses are left out), or state: 'unavailable' when the chain cannot be read or the artifact is archived. An archived ancestor ends the walk, so ancestors above it are not included. When the response is too large, _inherited_specifications is dropped before _specifications. Every modality is returned. A child artifact's clauses are not included. Read it before implementing a ticket or project, and treat inherited clauses as binding on this artifact's work. These sidecars are large — bound the payload with include (attach only the named sidecars) or exclude (drop the named ones from the default set); pass include: [] for the core row alone, which also skips the graph reads entirely. Project the core row with fields (id/type/title always returned) — e.g. fields: ['state','closure_reason','archived_at'] for a lifecycle-only read or fields: ['owner_id'] for ownership, dropping the heavy content blob. A closed artifact read with state or closure_reason also carries _superseded_by, the live artifact that replaced it, or null when nothing did. Work from that successor. The applied projection is echoed back in _projection. Pass include: ['history'] (opt-in, never attached by default; combine it with other sidecar names, or pass it alone to skip the graph reads) to add history: the artifact's versions, newest first, in {items, meta}; page with history_offset: history.meta.next_offset and bound the page with history_limit (default 20, max 100). Archived and deleted artifacts keep their history: a deleted artifact has no current version, so with include: ['history'] it returns only id, deleted: true and history. Each item has version_seq, at (when the version was written), title, state, actor, transition_event and transition_origin (why the state moved: user for a command made through the app or any MCP client, system for system work, detector for a detector sweep, replay for a replayed move; null when the version did not change state; it is not the actor class: an agent's transition records user because an agent acts on a person's behalf, so read actor.kind for who made it), premise_changed (whether the title, description or content changed; null for the first version), changed_fields (the fields that differ from the previous version, from title, description, content, clauses, state, closure_reason, priority, archived; null for the first version), and edit_summary. actor.kind is the actor class (human, ai_agent, automation, github_app, system, external), with via (the credential: web, api_key, oauth_client, system, external), user_id, display_name and system_reason. A version with no recorded actor has actor.kind unattributed and is still returned. Actor labels, system reasons and edit summaries are returned with model identifiers removed (known model families and vendor/model ids with a version). The history_limit and history_offset arguments apply only with include: ['history']. If the response is too large, history is the last sidecar dropped and _meta.degraded names it; re-fetch with a smaller history_limit. For the events about an artifact, use activity_feed_list with artifact_id. ArtifactReadNotFound carries details.recently_updated — the workspace's most-recently-updated artifacts as orientation, NOT a ranked match for the id you asked for (a UUID gives nothing to rank against).

Parameters

Name Type Description
id required string | string | string Artifact UUID
include "signals" | "external_references" | "owner" | "specifications" | "ratification" | "history"[] Attach ONLY these sidecars (subset selection). Allowed names: signals, external_references, owner, specifications, ratification, history. Omit for every sidecar except specifications and history, which are attached only when named here. include: [] returns the core row with no sidecars and skips the graph reads. Mutually exclusive with exclude; unknown names return validation_failed.
exclude "signals" | "external_references" | "owner" | "specifications" | "ratification"[] Drop these sidecars from the default full set (signals, external_references, owner, ratification) — e.g. ['external_references'] to skip the heaviest lookup. Mutually exclusive with include; unknown names return validation_failed.
fields "quality" | "number" | "key" | "description" | "content" | "state" | "closure_reason" | "archived_at" | "priority" | "owner_id" | "created_at" | "updated_at"[] Project the core row down to these fields; id/type/title/version_seq are always included. Allowed: quality, number, key, description, content, state, closure_reason, archived_at, priority, owner_id, created_at, updated_at. Omit for the full row. Drop content here when you only need metadata. Unknown names return validation_failed.
history_limit integer Only with include: ['history']: max versions in the history page (default: 20, max: 100).
history_offset integer Only with include: ['history']: page start over the newest-first versions; continue from history.meta.next_offset.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

List artifacts by attributes

artifacts_list

Lists artifacts filtered by attributes such as type, state, and owner, newest first, with slim rows. To find artifacts by title or by meaning instead, use artifacts_search.

List artifacts in the workspace, newest first; filters compose. Returns {items, meta} and pages with offset: meta.next_offset. Rows are slim by default (no content/drift, descriptions previewed at 280 chars, to stay under the response cap) — opt in via include (content, drift, description); meta.truncated_fields flags omitted fields. For content search use artifacts_search.

Parameters

Name Type Description
type "mission" | "vision" | "strategy" | "goal" | "domain_model" | "persona" | "problem" | "project" | "ticket" Filter by artifact type.
since string Only return artifacts with updated_at at or after this ISO-8601 timestamp
text string Case-insensitive substring match against title and description only — not content. For semantic/content search use artifacts_search.
state "draft" | "backlog" | "todo" | "in_progress" | "in_review" | "active" | "closed" | "deprioritized" Filter by unified lifecycle state — one of draft, backlog, todo, in_progress, in_review, active, closed, deprioritized.
archived boolean Include archived artifacts in the result (default false; pass true to surface archived rows alongside non-archived).
owner_id string | null Filter by owner. A UUID restricts to artifacts owned by that workspace member; null surfaces the unowned bucket; omit for no filter. Compose with state/type/text filters as usual.
limit integer Max results (default: 50, max: 100)
offset integer Page start over the filtered, newest-first result; continue from the previous response's meta.next_offset.
include "content" | "drift" | "description"[] Optional fields to include in each row. Default omits all: rows are slim ({id, type, title, description (280-char preview; full length in _field_stats.description_chars), state, closure_reason, archived_at, role_tier, priority, owner_id, updated_at, version_seq, quality (saved score summary or null), _field_stats, optional _owner}). Pass ['content'] to keep the full structured content JSON; ['drift'] to keep the _drift_summary sidecar; ['description'] for untruncated descriptions. Use sparingly — the slim default is what keeps large workspaces inside the response cap.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Update one artifact, or a batch

artifacts_update

Edits one existing artifact, or up to 50 through items: content, parent (parent_id), lifecycle state, archiving, ownership, and validation renewal. To make a new artifact use artifacts_create.

The single tool for editing artifacts (only provided fields written): content, the containment parent (parent_id), shelving (archived), lifecycle state, validation renewal (renew_validation), and a human-review audit event (flag_review). Call it in ONE of two forms: pass id plus the fields to change for one artifact, or pass items to update up to 50 in a single call. The two forms are exclusive: sending items together with any single-artifact field returns validation_failed, and so does sending neither. Single form: the response adds a _signals sidecar with the current findings naming this artifact, in the shape signals_list returns; when the call changes parent_id it also covers the old and new parent, and the response adds parent_change: { parent_id, previous_parent_id }. Detection runs after the write commits, so findings this edit introduces appear on a later read. Scoped to this artifact only — _signals: [] is not a workspace all-clear; use Reconcile through signals_list for workspace findings. Re-parent: parent_id replaces the parent (it closes the current parent edge and opens the new one), and null clears it; links_add with kind: 'parent' instead adds a second parent edge. A wrong parent type fails with ArtifactParentTypeInvalid. A proposal never carries parent_id: when the field changes become a proposal, the parent change is skipped and listed in ignored_fields. Order: a call applies its field changes (title, description, content, clauses, priority, owner_id), then parent_id, then its state change, then archived, then renew_validation, then flag_review, each as its own write. Every part is validated before the first write. When a later part is refused after an earlier one was written, the error's details.applied_fields names what landed. An agent-requested promotion of a strict-authority artifact whose current version has no human ratification is not applied directly: the call returns {kind:'proposal', proposal_id, proposal_url, status, reason} — hand the proposal_url to a human, who can Ratify & promote or Keep as draft; repeat attempts return the same proposal. An agent edit to the title, description, or content of a ratified mission, vision, strategy, or domain model is also not applied directly: it returns the same {kind:'proposal'} shape, the live version stays unchanged, and applying the proposal ratifies the new version. Put your reasoning for the reviewer in rationale. The workspace singleton_write_policy set to yolo turns this review off. That policy does not cover closing. When an agent sets state to close a live, ratified artifact of any type except ticket, or to move it to draft, that change is not written and the call returns {kind:'proposal'}. The change applies only when a workspace member approves it. A proposal ends the call: the parts after it are skipped and listed in ignored_fields; parts written before it are listed in applied_fields. An update whose arguments earn several refusals fails with the first, and details.validation_failures lists each one. Concurrent edits: writes are last-write-wins. expected_version_seq and expected_owner_id are accepted and ignored. On a 2026-07-28 client, a call that files a proposal a person must decide first returns input_required: a form asking the connected person to apply it, decline it, or decide later in the app (one decision for all of a batch's proposals), or, when the client shows only URL prompts, the proposal's decide page. An apply or decline the person accepts in the form is their own decision, recorded as made through MCP. An API key is never shown the form; it gets the decide page, or, on a client without URL prompts, the result with the proposal's link. The client's retry returns the same result, without writing again, plus _decision_handoff: { handoff, decide_url, proposals: [{ proposal_id, status, decision_error? }] }, where handoff is decided, opened, deferred, declined, dismissed (the person closed the prompt without choosing; the proposal is still pending, and the agent may ask once more with person_decisions_request and the proposal's id), or link_only (give decide_url to a person). Batch form (items): update up to 50 artifacts in one call (fan-out bounded to 8 in-flight globally and 3 per shared non-null owner); each item is updated independently, so partial failures don't sink the batch. items is exclusive with the single-update fields — send one form or the other, never both, or the call returns validation_failed. Items may patch title, description, content, clauses, priority, owner_id, parent_id, archived, and lifecycle state (with closure_reason and closure_successor_id). Omitted priority or parent_id is unchanged and null clears it; a row that changed the parent adds parent_change. Writes are last-write-wins: expected_version_seq and expected_owner_id are accepted and ignored. An agent-requested promotion of a strict-authority artifact whose current version has no human ratification, an agent close of a ratified authority, or an agent edit to the title, description, or content of a ratified mission, vision, strategy, or domain model, is not applied directly: that item returns {ok:true, proposal:{kind:'proposal', proposal_id, proposal_url, status, reason}}, counted in summary.proposed rather than succeeded; hand the proposal to a human reviewer, and put your reasoning in the item's rationale. Returns { results, summary } — UNLESS every item failed, in which case the call is a top-level error (isError) whose details.results carries the per-item errors, so a 0-succeeded batch is never reported as success. _signals are NOT computed per item — call signals_list after. A failed item's quality rejection carries only details.artifact_quality.{status, findings, suggestions?}; it has no error.message: each finding's rule id and reason are in findings, and suggestions holds up to three concrete fixes. Under the response cap, rows shed detail and _meta.degraded names what was dropped, but summary and each row's ok plus artifact id or error code always remain: read written items by id rather than retrying the batch. Emits notifications/progress when given a progress token.

Parameters

Name Type Description
id string | string | string Single form: artifact UUID. Required there, and rejected alongside items.
expected_version_seq integer Ignored. Writes apply last-write-wins; the field is accepted so older clients keep working.
expected_owner_id string | null Ignored. Writes apply last-write-wins; the field is accepted so older clients keep working.
title string New title. At most 120 characters after trimming.
description string | null Artifact narrative, at most 3,000 characters after trimming; a longer one is refused with ArtifactFieldTooLong and nothing is saved. Per-type limits and Markdown support: docs_get({ topic: 'clauses' }).
content object | null Type-specific structured fields. Call artifact_types first and use only its declared keys and value shapes. Fields the catalogue marks required: true must be present on create and whenever an update sends content, which replaces the stored content: a ticket needs ticket_type set to bug, chore, feature, or spike. Scalar textarea strings render Markdown; use it when headings, lists, links, quotes, or fenced code improve readability, and use Markdown instead of raw HTML because raw HTML is escaped. text, select, date, and number fields are plain values and should not contain Markdown.
clauses value[] Testable clauses; the full list replaces the stored one, [] clears it, omit to keep it. A ticket description update needs at least one. Grammar and per-type limits: docs_get({ topic: 'clauses' }).
priority value | null Priority — pass null to clear; omit to leave unchanged
owner_id string | null Re-assign the owner: a UUID re-owns to that workspace member (must be a member, else validation_failed); null clears ownership; omit to leave unchanged.
rationale string Your note to the human reviewer: why this edit is needed, its sources, and caveats. Shown beside the proposal when the edit needs human review, such as an edit to the content of a ratified mission, vision, strategy, or domain model; never saved into the artifact.
parent_id string | string | string | null Replace the containment parent: a UUID closes the current parent edge and opens one to that artifact, so the artifact keeps a single parent; null clears it (a root); omit to leave unchanged. A parent of a type the child does not accept fails with ArtifactParentTypeInvalid.
state value Move the artifact through its lifecycle: one of draft, backlog, todo, in_progress, in_review, active, closed, deprioritized. Each type accepts only its tier's states (a mission can't be backlog; see artifact_types), and no type accepts deprioritized, which only older rows carry. Omit to leave unchanged.
closure_reason value Why it closed (only valid with state: 'closed'; defaults to 'completed'). Cleared automatically on any non-closed state.
closure_successor_id string | string | string The canonical artifact this one is being folded into, when closing as a duplicate or migrated artifact. Must be a real, open artifact in the workspace (not this one). The close folds this artifact into the successor and writes no supersedes link, so links_list with kind: 'supersedes' does not show it. Only valid with state.
review_note string Optional operator note recorded with the validation renewal (renew_validation).
archived boolean Shelve (true) or unshelve (false) the artifact — sets/clears archived_at, orthogonal to state. Omit to leave unchanged. Archived rows are hidden from default artifacts_list (pass archived: true there to see them).
renew_validation boolean Pass true to renew validation of the current version only. It requires an existing current ratification and updates the derived last_reviewed_at and reviewed_by fields; it never ratifies or changes authority. Use the explicit ratification action to Ratify or Re-ratify a version. (Trigger-fired drift findings keep their own dismiss path.)
flag_review boolean Pass true to record a human-review request as an audit event. It stores no review state: the call emits a drift_flagged log line and returns the artifact unchanged, so no tool reads the request back and nothing has to clear it. Mutually exclusive with renew_validation on the same call.
items object[] Batch form: 1 to 50 update payloads, each carrying its own id and patched fields. Each entry's fields mean what the single-form fields of the same name say. Rejected alongside the single-artifact fields.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Get an artifact's ancestors and descendants

chain_get

Returns one artifact's containment ancestors and descendants as a single tree, for grounding or subtree work. Non-containment edges are not traversed; list those with links_list.

The full context chain for an artifact (ancestors ← current → descendants). Each node carries state. A closed node also carries closure_reason and _superseded_by, the live artifact that replaced it, or null when nothing did. If an ancestor has _superseded_by set, someone replaced the decision this work rests on, so work from the successor. Current chains exclude archived artifacts. Pass as_of only when you need the auditable historical chain. On launch-scale graphs, don't pull the whole tree: pass shape:'slim' (drops titles/state/drift/edges), and scope with direction (ancestors for grounding, descendants for subtree work), max_depth (1 = parents + direct children), and types. Every response carries meta with pre-filter totals (total_nodes/ancestors/descendants), matched, truncated, and next_offset — page with offset until next_offset is null. Safe pattern for big projects: {shape:'slim', direction:'descendants', max_depth:1} first, then drill into one child. Default page size 200, max 500. Pass as_of (ISO-8601) to reconstruct the chain as it stood at that instant from artifact version history; historical chains return undecorated nodes (no drift/edge sidecars).

Parameters

Name Type Description
id required string | string | string Artifact UUID, or its key such as HF-142
shape "full" | "slim" | null full (default) returns each node's full row plus drift sidecars and edges; slim returns only {id, type_id, depth} per node and skips drift/edge decoration entirely — the fast, cap-safe shape for deep chains.
direction "both" | "ancestors" | "descendants" | null Walk direction relative to the artifact (default both). ancestors answers "what does this serve"; descendants answers "what's underneath". The artifact itself is always included.
max_depth integer | null Keep only nodes within this distance (1 = parent + direct children). Combine with direction:'descendants' for a children summary.
types string[] | null Keep only these artifact types (e.g. ['project','ticket']). The anchor artifact is always kept.
limit integer | null Page size over the filtered chain (default 200).
offset integer | null Page start; continue from the previous response's meta.next_offset.
as_of string | null Reconstruct the chain as of this ISO-8601 instant from the artifact's version history (validity-window read). Historical chains return undecorated nodes — no drift summaries or edge alignment sidecars, since those describe current state.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Archive implementation decision

decisions_archive

Archives one current decision with a reason, so it leaves decisions_list. Use it for a mistaken record, wrong links or test data; to revise a decision, supersede it. Archived records stay stored and cannot be restored.

Archive a record made by mistake, with wrong links or as test data. To revise a decision or add a link, supersede it with decisions_record instead. Only a current decision can be archived, and it leaves decisions_list with every record it superseded. It stays stored and cannot be restored; record a new decision to bring it back. A bad field returns validation_failed, and a read-only member gets workspace_read_only. DecisionNotFound means no decision in this workspace has the id. DecisionArchived means it is already archived. DecisionAlreadySuperseded means it has a successor, so archive details.successorId instead. DecisionStoreQueryFailed means the store query failed or timed out, so retry.

Parameters

Name Type Description
decision_id required string Id of the current decision to archive, as decisions_list returns it.
reason required string Why the decision should not be listed, for a reviewer. At most 500 characters. Every workspace member and agent can read it, so keep secrets out.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

List current decisions

decisions_list

Lists the current implementation decisions linked to any of the given artifacts or your branch, oldest first, with who recorded each, its pull requests and its outcome. Read it before you change code.

Call it with the artifacts you implement and your branch before you change code, so you read what earlier sessions decided. Pass artifact_ids, branch with repository, or both. repository only names the branch's repository and matches nothing on its own. A decision is listed when it holds any artifact, clause or the branch you pass. Only current decisions are listed, so archived and superseded ones are not, and a successor inherits every link of the record it replaces. Each decision comes once, oldest first, with every link it holds, not only the ones you passed. Each also shows who recorded it (see actor_kind), its pull_requests and its outcome. A bad field returns validation_failed. DecisionStoreQueryFailed means the store query failed or timed out, so retry.

Parameters

Name Type Description
artifact_ids string | string | string[] UUIDs or keys such as HF-142 of the artifacts you implement.
clause_ids string[] UUIDs of the specification clauses whose decisions you want.
repository string GitHub repository that holds the branch, as owner/name. Use the fork for a fork's branch. Case does not matter.
branch string Your branch. Case matters. Needs repository.
limit integer Most decisions to return, 50 by default. A page can hold fewer to stay under the response size cap.
after string The previous page's next_after, passed with the same artifact_ids, repository and branch to read the next page. next_after is null on the last page.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Create a decision record

decisions_record

Records one implementation decision, linked to the artifact you implement and, for code, the repository and branch you push, so later sessions read it. Supersede a record to revise it.

Record one implementation decision when you make it. A decision is a choice in the code that a reviewer would want to check and that the diff does not explain. It is not a proposal and changes no artifact. Link the artifact you implement in artifact_ids by its UUID or its key such as HF-142, and for code the repository and branch you push, as soon as you know them. Clauses in clause_ids must belong to an artifact listed in artifact_ids. Helen ties the decision to the pull request opened from that branch, so never link a pull request by hand. To revise a decision, record one that supersedes it: the new record inherits every link of the old one, so artifact_ids is optional and adds to them. Archive a mistaken record with decisions_archive. A record holds at most 50 links, counting inherited ones, and more returns DecisionLinkLimitExceeded. The fields and links you pass are at most 16000 bytes of UTF-8, and each text field is one line. Every workspace member and every agent with access can read the record, so keep secrets and credentials out of every field. A bad field returns validation_failed, and a read-only member gets workspace_read_only. DecisionArtifactNotFound means the artifacts in details.artifactIds are not in this workspace or were deleted, so check the ids. DecisionClauseNotFound means the clauses in details.clauseIds are not on the current version of an artifact in artifact_ids. DecisionSupersedeTargetNotFound means no decision in this workspace has the supersedes id. DecisionArchived means that decision is archived, so record a new one. DecisionAlreadySuperseded means that decision has a successor, so supersede details.successorId instead, or list again when it is null. DecisionStoreQueryFailed means the store query failed or timed out, so call decisions_list before you retry to avoid recording twice.

Parameters

Name Type Description
kind required "removal" | "contract" | "external" | "limit" | "deviation" | "precedent" What the change does. If two kinds fit, use the one listed first. If no kind fits, do not record it. removal: deletes a file, export, option or behavior others rely on. contract: changes a schema, stored or wire shape, version, error reason or migration. external: needs a manual step outside the repository, such as adding a credential or changing CI. limit: changes a timeout, cap, concurrency, size or rate limit. deviation: departs from an AGENTS.md rule, skill, lint rule or ratified artifact, including a lint suppression. precedent: adds a dependency, pattern, public API or convention others will copy.
choice required string What you decided, for a reviewer who did not see your session. At most 500 characters. Every workspace member and agent can read it, so keep secrets out.
why required string Why you chose it. At most 2000 characters. Every workspace member and agent can read it, so keep secrets out.
rejected string The alternative you did not take, and why. At most 1000 characters. Every workspace member and agent can read it, so keep secrets out.
artifact_ids string | string | string[] UUIDs or keys such as HF-142 of the artifacts the decision was made for, such as the artifact you implement. Each must exist in this workspace. Required unless you set supersedes.
clause_ids string[] UUIDs of the specification clauses the decision covers. Each must be on the current version of an artifact in artifact_ids.
repository string GitHub repository that holds the branch, as owner/name. Use the fork for a fork's branch. Case does not matter. Pass it with branch, since decisions_list never matches a repository link alone.
branch string Pass the git branch you push for this work as soon as you know it. Case matters. Needs repository.
supersedes string Id of the decision to replace, which must have no successor and not be archived. The new record inherits every link of the old one, and the old one leaves decisions_list. Content cannot be edited, so supersede a record to revise it.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Get documentation, or list what is documented

docs_get

Returns the canonical documentation for one check kind, metric, error code, or topic with its full text inline. Call it with no arguments for the index of everything documented.

Fetch the canonical Helen’s Foundry documentation, in either of two forms. Pass exactly one of check (a reconcile check kind), metric (an Insights metric id), error (an MCP error code), or topic (an inline guide or reference) to get back { title, url, body } for that concept, with the full doc text inline in body (no fetch of url required). Call it with NO arguments to get the index instead: every documentable check, metric, error code, and topic, each with its title and canonical URL, so you can discover what to ask for. Passing more than one concept is rejected with validation_failed.

Parameters

Name Type Description
check "stale_premise" | "depends_on_cycle" | "semantic_contradiction" | "chain_contradiction" | "copy_paste_cascade" | "decision_spec_conflict" | "portfolio_distribution_anomaly" | "artifact_quality" | "stale_draft" | "singleton_conflict" | "plan_contradicted_by_work" | "priority_vacuum" | "unowned_in_flight" | "lifecycle_contradiction" | "orphaned_metric" | "review_cadence_breach" | "accountable_owner_missing" | "no_prime_goal" | "coverage_gap" | "decomposition_gap" | "plan_of_record_staleness" | "redundant_overlap" | "zombie_project" | "lifecycle_inconsistency" | "stranded_by_closure" | "horizontal_incoherence" | "past_target_date" | "coordination_collision" | "resource_misallocation" | null A reconcile check kind; returns what trips it and what to do.
metric "alignment" | "delivery-flow" | "quality" | null An Insights dashboard metric id; returns its definition.
error "validation_failed" | "artifact_not_found" | "invalid_parent_type" | "gateway_unavailable" | "internal_error" | "datastore_degraded" | "user_declined" | "workspace_membership_missing" | "workspace_required" | "response_too_large" | "rate_limited" | "stale_base" | "workspace_not_found" | "edge_side_effect_failed" | "capability_restricted" | "workspace_read_only" | "Forbidden" | "human_only" | "ServiceUnavailable" | "ArtifactNotFound" | "ArtifactReadNotFound" | "ArtifactReadInputInvalid" | "ArtifactUpdatePremiseMoved" | "ArtifactCreateParentPickerDeclined" | "ArtifactProposeSingletonDeclined" | "ArtifactProposeSingletonDismissed" | "ArtifactCreateInputInvalid" | "ArtifactCreateParentRequired" | "ArtifactParentTypeInvalid" | "ArtifactFieldTooLong" | "ArtifactUpdateTitleEmpty" | "ArtifactUpdatePriorityNotApplicable" | "ArtifactUpdateClosureInvalid" | "ArtifactWriteOwnerInvalid" | "ArtifactWriteValidatorRejected" | "ArtifactTransitionRejected" | "StateValueInvalid" | "ArtifactQualityAdmissionRejected" | "ArtifactGraphValidationFailed" | "ArtifactDeleteConfirmationInvalid" | "ClauseGrammarMismatch" | "ClauseLimitExceeded" | "ClausesNotApplicable" | "TicketClausesRequired" | "CommandPlaneInputInvalid" | "CommandPlaneCapabilityRestricted" | "QualityInputInvalid" | "QualityModelBudgetExceeded" | "QualityModelContextOverflow" | "RatificationIneligible" | "RatificationRenewalIneligible" | "RatificationStaleBase" | "LinksSelfEdge" | "LinksEdgeSideEffectFailed" | "PendingActionCreatePayloadShapeRestricted" | "PendingActionCreateScopeMalformed" | "PendingActionCreateStatusUnchanged" | "PendingActionCreateSubjectNotFound" | "PendingActionCreateContradictionSideQueued" | "PendingActionProposerInvalid" | "SignalNotFound" | "SignalsReconcileItemEmpty" | "ChainArtifactNotFound" | "ActivityEventFeedFiltersInvalid" | "WorkspaceExternalReferenceNotFound" | "FeedbackInboxAccessDenied" | "CustomerFeedbackBodyEmpty" | "CustomerFeedbackBodyTooLong" | "PendingActionReadNotFound" | null An MCP error code; returns what it means and how to recover.
topic "getting-started" | "checks" | "reconcile" | "authoring" | "specifications" | "clauses" | "edge-kinds" | null An inline guide or reference. Start with getting-started on a workspace you have not worked in before: it is the sequence from a fresh connection to a ratified foundation. Others: checks, reconcile, authoring, specifications, clauses (clause grammar and field limits for artifacts_create and artifacts_update), edge-kinds.

Get external reference

external_references_get

Reads one workspace external reference by id, including the body that list reads omit. Find the id first with external_references_list.

Read one authorized workspace external reference by ID, whichever source it came from: the source policy is resolved from the stored reference, not from a parameter. The active workspace comes only from the authenticated request context; callers cannot select another workspace, and a reference in another workspace reads as not found. A feedback-source reference returns its source-policy presentation with bounded body content and attachment IDs, never raw persistence fields. An imported GitHub issue returns the issue projection plus its stored body and a body_state that separates a body that loaded from one that was never stored and one that could not be read. This is the only read that resolves a body, which is why external_references_list omits it.

Parameters

Name Type Description
id required string External reference UUID to read, from any workspace inbox source.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

List external references

external_references_list

Lists external references: those attached to one artifact (pass artifact_id), or the workspace inbox for one source, newest first, unattached rows included. Read a body with external_references_get.

List external references (PRs, GitHub and Linear issues, feedback) in one of two forms. Artifact form: pass artifact_id to see which external entities are attached to that artifact ("where else does this live?" before closing a ticket or triaging drift), newest first, with an optional exact source filter; it returns {items} and is distinct from the context chain (chain_get). Inbox form: omit artifact_id and pass a required source (one of mcp_send_feedback, github_issue) to list the authorized workspace-wide inbox for that source, newest first, unattached rows included; it returns {items, meta: {next_continuation}}. attachment, limit and continuation belong to the inbox form, and sending any of them with artifact_id returns validation_failed. In the inbox form, repeat the same source and attachment with continuation: meta.next_continuation until it is null; a continuation is valid only against the source and attachment that produced it. source: 'github_issue' lists imported GitHub issues, newest capture first, including issues with no artifact relationship, which the artifact form misses: use attachment: 'unattached' to triage what arrived unlinked. source: 'mcp_send_feedback' is the product feedback inbox, readable only by owners and admins of the one workspace that receives Helen's Foundry product feedback; in any other workspace it answers FeedbackInboxAccessDenied, even for that workspace's owner. Each inbox source keeps its own row projection (branch on source when reading items) and default page size (50 for feedback, 25 for GitHub issues). Rows are safe presentation rows: raw persistence fields and bodies are omitted; read a body with external_references_get.

Parameters

Name Type Description
artifact_id string | string | string Artifact UUID. With it, lists the references attached to that artifact; without it, lists the workspace inbox for source.
source string With artifact_id: optional exact source filter (case-sensitive lowercase snake_case), e.g. github_pr, linear_issue, sentry_issue. Without artifact_id: required inbox source, one of mcp_send_feedback, github_issue. Use github_issue for imported GitHub issues; a feedback source (mcp_send_feedback) applies that source's inbox policy.
attachment value Inbox form only (rejected with artifact_id): any (default), attached to at least one artifact, or unattached. Attached and unattached never overlap.
limit integer Inbox form only (rejected with artifact_id): max items. Defaults to 50 for a feedback source and 25 for github_issue.
continuation string Inbox form only (rejected with artifact_id): opaque page continuation from meta.next_continuation; repeat the same source and attachment.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

List workspace members

members_list

Lists the workspace members with their ids and roles and marks the calling principal. Use an id from here as owner_id when calling artifacts_create or artifacts_update.

List the members of the caller's workspace as {id, display_name, role, is_current}[]. id is the member's user id — pass it as owner_id to artifacts_create / artifacts_update, or as the owner_id filter on artifacts_list. display_name is null when a member has no profile row yet (new auth user, race with profile insert). is_current marks the row that is the CALLING principal — the canonical id to self-assign ownership with. The envelope also carries current_user_id (the caller's canonical id) and, when two or more members share a display_name, duplicate_display_names: [{display_name, ids}] so a duplicate identity (a second :User for the same person, such as one created by an earlier sign-in) is explained rather than read as two distinct people — write to the is_current id. Stable ordering: named members alphabetical first, then unnamed.

Parameters

Name Type Description
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Ask a person to decide

person_decisions_request

Asks the connected person, in a client form or the app page, to ratify an artifact, decide a proposal, or renew validation (renew_artifact_ids). Not decisions_*.

Ask the connected person for a decision only a person may make; the agent never makes it. Unrelated to the decisions_* tools, which record implementation choices. Pass exactly one of artifact_id, proposal_id and renew_artifact_ids; more than one or none answers validation_failed. Every result carries kind. The person can decide in the client only when it declares form elicitation (MCP 2026-07-28); an API key is never shown a form. While the person is asked, the call answers input_required; the client shows the prompt and retries the call with the answer. workspace_read_only refuses a person whose role cannot decide, before anyone is asked. No owner routing happens: the decide URL is not sent to any owner or queue, so you must give it to a person.

artifact_id: ratify an artifact, recording that a person stands behind its current premise (title, description and content). The form shows the artifact's key, title, an excerpt of its description, its clauses and its unmet quality ratings as plain text, with no links. applied: { kind: 'ratification', premise_hash, newly_ratified: true }, recorded as the person's own decision; an artifact already ratified at its current text answers newly_ratified: false without asking. declined: user_declined; nothing is recorded. refused: Forbidden with details.reason: 'human_only', decide_url, next_action, and human_only_cause (api_key, client_cannot_ask, server_cannot_ask, no_answer, or dismissed (the person closed the form without choosing)). On next_action: 'open_decide_url', give decide_url to a person, who ratifies there signed in, and stop; only 'call_again' allows one more call without requestState. On a draft of a type that takes ratification, the call files the draft's promotion proposal to active (or finds the pending one) and asks the person to decide it as Ratify & promote (an API key or a client without form prompts gets its decide page), answering as proposal_id mode does with kind: 'proposal'. Also validation_failed for an answer that does not fit the form, RatificationIneligible with details.reason (type_not_ratifiable or closed_authority) and details.next_action (none or reopen), and RatificationStaleBase when the artifact changed after the form was shown (call again). A proposal id sent as artifact_id answers ArtifactNotFound.

proposal_id: decide a pending proposal, such as a Ratify & promote proposal from artifacts_create or artifacts_update. The form names the change, its apply and decline choices, and a choice to decide later in the app; a client with only URL elicitation, or an API key, is asked to open the decide page instead. Answers { kind: 'proposal', ...row, _decision_handoff: { handoff, decide_url, proposals: [{ proposal_id, status, decision_error? }] } }. handoff: 'decided': the person applied or declined it as their own decision, with status executed, failed (approved, but the change was refused) or declined. Still pending: deferred (decide later in the app), opened (page opened; check later with proposals_list and this id), declined (the person refused to answer the prompt), or dismissed (the person closed the prompt without choosing; you may ask once more with this proposal id). link_only: nobody could be asked here, or the decision failed with decision_error.code (such as PendingActionDecisionAlreadyDecided or PendingActionDecisionStaleBase); this mode never answers Forbidden. On link_only, give decide_url to a person, who decides there signed in, and stop: do not call again in a loop.

renew_artifact_ids: renew validation, one form per artifact in order; no answer renews or ratifies more than one. An unratified artifact is offered ratification instead. Answers { kind: 'validation_renewal', results: [{ artifact_id, outcome, decide_url?, error? }] }. outcome: renewed, ratified, already_ratified, declined, dismissed (the rest are not_asked), failed with error, or link_only (no form here, or this client wrote the text: self_decision); give decide_url to a person, who renews there signed in.

Parameters

Name Type Description
artifact_id string | string | string Ratify this artifact, by UUID or key such as HF-142. Not a proposal id: pass a proposal's id as proposal_id. Rejected alongside proposal_id.
proposal_id string Decide this pending proposal: a proposal_id from artifacts_create, a pending_action_id from a gated write, or an id from proposals_list. Rejected alongside artifact_id.
renew_artifact_ids string | string | string[] Renew validation of these artifacts (1 to 10), one form each.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Get the stored PR evaluation report

pr_report_get

Returns the stored evaluation report for one pull request as typed JSON, so an agent need not scrape the posted comment. For workspace detector findings use signals_list.

The exact evaluation Helen’s Foundry produced the last time it dispatched for a pull request, as typed JSON — the same versioned report model that renders the sticky GitHub comment and the hf.dev check report page. Reach for it when an agent needs that evaluation (Agent Helen code review, governance authority, reviewer health, drift) and would otherwise scrape the comment. The read is scoped to the caller's own workspace, which comes from the credential, not from an argument: a pull request evaluated only in some other workspace reads as absent, and no other tenant's report is reachable. Every outcome is a named status rather than an error. ready returns the full report in snapshot. legacy_version identifies a version-1 report that lacks a safe v2 decision migration. unsupported_version identifies a newer report and returns schema_version. malformed failed the stored-report contract. inaccessible means the store did not answer or the report object is gone. Only inaccessible can improve without a new dispatch. When the report names an unsatisfied link, link_guidance states the pull-request marker syntax that clears it, with an example. It is null in every other state. Staleness is explicit. snapshot_head_sha is the evaluated head. observed_head_sha is the newest dispatched head. stale: true means the commit or PR details changed after the report. Re-read after the next dispatch. Limits: this report is dispatch-time and read-only. It does not recompute current artifact state, gate work, or publish. Non-ready states carry a null snapshot and null heads. A report too large to return inline comes back as response_too_large with the check report URL. Read evidence_readiness to know whether the pull request is ready or which requirements and decisions still need verification; recording a verification refreshes the report shortly.

Parameters

Name Type Description
owner required string GitHub owner (user or organization) of the repository, e.g. acme in acme/widgets#938.
repo required string GitHub repository name without the owner prefix, e.g. widgets in acme/widgets#938.
pr_number required integer Pull request number as GitHub shows it, e.g. 938 — a positive integer.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

List proposed changes

proposals_list

Lists proposed changes, newest first and pending by default, with the proposer and a preview. Owners and admins see all pending proposals in the Reconcile Proposals lane, and those on artifacts they own in My Work.

List proposed changes (newest first). Returns {items, meta}; page with offset: meta.next_offset until it is null. Defaults to status='pending'; pass status for another bucket. Pass id to read one proposal in any status, for example to see whether a person has decided it; the other filters are then ignored. Each row carries the proposer (proposer_user_id, proposer_kind and credential id), a preview of the predicted side effects when one was captured, and, once decided, decided_by_user_id. People see every pending proposal in the Proposals lane of Reconcile (/reconcile?lane=proposals) and on each proposal's own page (/proposals/<id>). Owners and admins also see, in My Work, the pending proposals on artifacts they own; a proposal that creates an artifact has no owner and appears only in Reconcile. Proposals are not assigned to a member: any workspace owner or admin may decide any pending proposal; a viewer cannot. Any owner or admin may decide a pending row (roles from members_list). To find the proposals that touch what one member owns, pass owner_id: it keeps proposals whose target artifact that user owns; proposals that create a new artifact have no target and never match. To find what one member filed, match proposer_user_id to their members_list id.

Parameters

Name Type Description
id string | null Read only this proposal, in any status; the other filters are ignored when set
status "pending" | "approved" | "declined" | "expired" | "executed" | "failed" | null Lifecycle status to filter on (default: 'pending')
since string | null Only items at or after this ISO-8601 timestamp
action_type "artifacts_create" | "artifacts_update" | "artifacts_set_status" | "links_add" | null Narrow to one proposed-action variant
owner_id string | null Keep proposals whose target artifact is owned by this user id. Proposals that create a new artifact have no target and never match.
limit integer | null Max items (default: 50, max: 200)
offset integer | null Page start over newest-first proposed changes; continue from meta.next_offset.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Decide or rate findings, one or many

reconcile

Dismisses, acknowledges, or rates detector findings, one or up to 50 at once, and returns one result per finding. It is the write side of the findings workbench, and signals_list is the matching read.

Act on detector findings from signals_list. Call it in ONE of two forms. Single form: pass id plus at least one of disposition and rating. Batch form: pass items (1 to 50), each { id, disposition?, rating?, reason?, note? } with at least one of disposition and rating. disposition:'dismiss' is terminal — the "not actionable" verdict, recording the optional reason and writing the dismissal suppression so the finding stops re-firing; disposition:'acknowledge' records that the finding was seen and leaves it open until the detector no longer finds the condition. Disposition is idempotent: re-disposing an already-terminal row leaves it unchanged. rating is structured quality feedback (useful = surfaced a real problem; not_useful = technically correct but not actionable; wrong_evidence = the evidence misrepresents the situation, a detector bug) that feeds the per-kind precision report and the weighted evaluation corpus. Rating is append-only: a different rating inserts a new history row, repeating your latest rating and note of the finding at its current evidence records nothing (so a retry is safe), and a rating alone does NOT change the finding's status. With both, the rating is recorded first, so it stays recorded if the disposition fails. The rating note is note, else reason. In the single form, a negative rating without a disposition can carry dispose: true to also dismiss the finding through the same suppression path. Result: both forms return the same per-finding result: { ok: true, id, disposition, rated, status } (disposition is null for a rating-only finding; rated says whether a rating was recorded; status is the finding's status after the call), or { ok: false, id, rated, error: { code, message } }. The single form returns that object directly, and a failure is the error envelope with rated in its details. The batch form returns { results, summary: { total, succeeded, failed } }; each item succeeds or fails on its own, so one bad item does not sink the batch, and it emits notifications/progress when given a progress token. A batch item with neither disposition nor rating fails with SignalsReconcileItemEmpty. The forms are exclusive: sending items alongside any single-finding field returns validation_failed, and so does sending neither. Set submission_mode:'replay' in either form when reproducing prior judgments rather than making new ones.

Parameters

Name Type Description
id string Single form: finding UUID (the id from a signals_list row). Required there, and rejected alongside items.
rating value Single form: useful = the finding surfaced a real problem; not_useful = technically correct but not actionable; wrong_evidence = the evidence misrepresents the situation (detector bug). Required unless disposition is given, and rejected alongside items.
note string Single form: optional free-text note explaining the rating. Rejected alongside items.
disposition value Single form: "acknowledge" = seen (flag); "dismiss" = terminal with a reason; "resolve" = already fixed (terminal; a re-detection reopens it). Required unless rating is given, and rejected alongside items.
reason string Single form: on-record explanation for a dismiss (ignored for acknowledge), and the rating note when rating is set and note is absent. Rejected alongside items.
dispose boolean Single form: when true and the rating is negative, also dismiss the finding (writing the dismissal suppression so it stops re-firing). Ignored for useful, and ignored when an explicit disposition is given. The rating is recorded first; the result's disposition is dismiss when the dismiss happened. Rejected alongside items.
submission_mode "replay" Set to replay only when the ratings reproduce prior judgments. Omit for a new judgment.
items object[] Batch form: 1 to 50 findings to rate, dispose, or both; each entry needs disposition, rating, or both. Each entry's fields mean what the single-form fields of the same name say. Rejected alongside the single-finding fields.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Send product feedback

send_feedback

Sends product feedback about this server and the product behind it, covering friction, bugs, and ideas. It is not a workspace write; artifacts still go through artifacts_create.

Send product feedback capturing friction, bugs, or feature ideas relating to this MCP server and the underlying product. For dispatcher feedback, include relevant artifact, request, signal, check, or tool identifiers and compact structured fields.

Parameters

Name Type Description
body required string Feedback text, at most 1000 characters after trimming. Prefer identifiers and compact structured fields for dispatcher observations.
category value No description
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

List Reconcile findings

signals_list

Lists detector findings, newest first, by kind and status (default open). Explanation fields and recommended_action can be null. Pass id to read one finding and its full member set. Act on a finding with reconcile.

Reconcile is the workbench for detector findings, newest-first. The returned source:'conflict' is a legacy wire value and does not mean every finding is a genuine incompatibility. Filters apply in the query, before paging: kind takes one kind or a list of kinds, and status takes one of open, acknowledged, dismissed, resolved. status defaults to open, so a bare call returns only findings that wait for triage; pass status:'acknowledged' for findings marked as seen, and dismissed or resolved to read that history. Returns {items, meta}. Each slim and full row carries kind (the machine value to filter by) and kind_label (the label Reconcile shows for that row; it can vary within one kind by state or subject type, so group by kind). meta.status and meta.kinds echo the filters, and meta.next_offset is where the next page starts (null on the last page). limit is 1–500 (default 50); a page also ends when the response reaches its byte cap, so it can hold fewer rows than limit while findings remain (meta.truncated_reason is limit or byte_budget). A page holds about 140 slim rows, 95 full rows, or the full 500 ids rows (measured on lifecycle_inconsistency; wider kinds hold fewer). An ids row carries only id, kind, and status. To read every match, repeat the call with offset: meta.next_offset until it is null. Offsets count current matches, so acknowledging or dismissing rows mid-pass moves later rows to lower offsets: finish the read first, or restart at offset 0. Default shape:'slim' is the cap-safe shape: it drops evidence entirely and caps subjects at 5 per row, adding subjects_returned, subjects_omitted_at_least, subjects_truncated, and subjects_refetch (meta.subjects is bounded). The slim cap composes with kind-specific canonical bounds while preserving their total omitted count and refetch path; shape:'full' preserves the canonical bound. Explanation fields are kind-specific in slim and full: summary is currently always null; rationale and confidence are non-null only for LLM-adjudicated semantic and property kinds (for example orphaned_metric) and are null for deterministic kinds. presentation is also kind-specific: it is non-null only for portfolio_distribution_anomaly rows with recognized evidence and is null otherwise. Slim has no evidence; refetch with shape:'full' to inspect it. Full does not otherwise populate null explanation fields. meta.subjects reports whether every subject is present or a canonical bound remains. A non-null presentation provides group_key, group_label, and facet_label so clients can show related rows in one chassis without merging their ids or actions. Each slim and full row carries recommended_action: {tool, args, fill?, description} — the MCP verb that addresses that finding, with every known value (subject id, target state, closure reason) pre-filled in args; null for kinds without a safe deterministic verb (use reconcile to acknowledge, dismiss, or rate it). When fill is present the agent must ADD that key to args with a value of its choosing — the key is deliberately omitted so a verbatim call fails the tool's validation loudly instead of silently no-opping. Pass id to read one finding in any status; other filters are then ignored, and an unknown id returns SignalNotFound, as reconcile does. The result keeps the {items, meta} shape with that one row in items, plus members: for a query-backed finding, {membership, member_ids, total, next_cursor, complete}, the complete current canonical member set (a row's subjects are bounded display witnesses, not this membership), otherwise null. Page it with members_after: members.next_cursor until complete is true; members_page_size is 1–50 (default 50). members_after and members_page_size apply only with id. Read-only — act on a row with reconcile (id plus a disposition and/or rating) or the recommended_action tool.

Parameters

Name Type Description
id string | null Read only this finding, in any status, with its canonical members; the other filters are ignored when set
members_after string | null With id: continue the member page after this member id (members.next_cursor)
members_page_size integer | null With id: members per page (1–50, default 50)
artifact_id string | string | string | null Restrict to findings touching this artifact (UUID or key such as HF-142)
kind "stale_premise" | "stranded_by_closure" | "coordination_collision" | "lifecycle_contradiction" | "lifecycle_inconsistency" | "stale_draft" | "singleton_conflict" | "coverage_gap" | "unowned_in_flight" | "semantic_contradiction" | "no_prime_goal" | "decomposition_gap" | "priority_vacuum" | "accountable_owner_missing" | "resource_misallocation" | "zombie_project" | "review_cadence_breach" | "plan_of_record_staleness" | "past_target_date" | "redundant_overlap" | "chain_contradiction" | "copy_paste_cascade" | "horizontal_incoherence" | "orphaned_metric" | "artifact_quality" | "portfolio_distribution_anomaly" | "depends_on_cycle" | "decision_spec_conflict" | "plan_contradicted_by_work" | "stale_premise" | "stranded_by_closure" | "coordination_collision" | "lifecycle_contradiction" | "lifecycle_inconsistency" | "stale_draft" | "singleton_conflict" | "coverage_gap" | "unowned_in_flight" | "semantic_contradiction" | "no_prime_goal" | "decomposition_gap" | "priority_vacuum" | "accountable_owner_missing" | "resource_misallocation" | "zombie_project" | "review_cadence_breach" | "plan_of_record_staleness" | "past_target_date" | "redundant_overlap" | "chain_contradiction" | "copy_paste_cascade" | "horizontal_incoherence" | "orphaned_metric" | "artifact_quality" | "portfolio_distribution_anomaly" | "depends_on_cycle" | "decision_spec_conflict" | "plan_contradicted_by_work"[] | null Keep only findings of this kind, or any kind in this list. Omit for every kind.
status "open" | "acknowledged" | "dismissed" | "resolved" | null Keep only findings in this status (default open). acknowledged was marked seen; dismissed and resolved left the live set.
limit integer | null Most rows in one page, newest first (1–500, default 50). A page can end earlier at the byte cap; continue from meta.next_offset.
offset integer | null Page start over the newest-first matching findings; continue from meta.next_offset.
shape "ids" | "slim" | "full" | null ids: only id, kind, status. slim (default) omits evidence and caps subjects at 5 per row, composing with kind-specific bounds and keeping their omission metadata; full adds evidence and keeps the canonical bound.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

List verifications

verifications_list

Lists what was verified for the given artifacts, branch, external references or decisions, newest first, with each result.

Call it with the artifacts you work on, your branch, the external references you work from or the decisions you rely on, to read what earlier sessions checked and which gaps they declared. Pass artifact_ids, branch with repository, reference_ids, decision_ids, or any of them, at most 20 in all. repository only names the branch's repository and matches nothing on its own. A verification is listed when it links any artifact, branch, reference or decision you pass. Each verification comes once, newest first, with every link it holds, not only the ones you passed, and its attachment metadata without the bytes. A not_verified result is a declared gap, not a failure. The list does not say whether a record still applies to later commits. A bad field returns validation_failed. VerificationStoreQueryFailed means the store query failed or timed out, so retry.

Parameters

Name Type Description
artifact_ids string | string | string[] UUIDs or keys such as HF-142 of the artifacts you work on.
repository string GitHub repository of the branch, as owner/name; the fork for a fork's branch. Case does not matter.
branch string Your branch. Case matters. Needs repository.
reference_ids string[] Ids of external references, from external_references_list.
decision_ids string[] Ids of decisions.
limit integer Most to return, 50 by default. A page can hold fewer to fit the response cap.
after string The previous page's next_after, with the same other fields. It is null on the last page.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Create a verification record

verifications_record

Records one immutable verification that a specification clause or recorded decision holds. Not for CI or lint results; not_verified declares a gap.

Record one verification as evidence that a stated requirement or a recorded decision holds: a specification clause on a project or ticket, or a decision from decisions_record. State what you checked and what you saw. Do not record that CI, lint or typecheck passed: those results stay on the pull request. A CI run or a test can be the evidence_url for a clause or decision. A record is immutable: it cannot be edited, archived or deleted, so record a new one when you check again. Set result to passed or failed for what you observed. Set it to not_verified to declare a gap: something you did not or could not check, and why. Name the requirement in clause_ids, with the project or ticket that holds the clauses in artifact_ids by its UUID or its key such as HF-142. Name a decision in decision_ids by the id decisions_record or decisions_list returned; it needs no other link. For code, you can also pass the repository, the branch and the commit you checked, and reference_ids for external references such as an imported issue. A record needs clause_ids or decision_ids. clause_ids need artifact_ids, and branch needs repository and commit. A record holds at most 20 links, and its fields and links are at most 16000 bytes of UTF-8. A record can carry one attachment: a PNG, JPEG or WebP image of at most 2000000 bytes as standard base64. The tools return its type, size and SHA-256, never its bytes. Every workspace member and every agent with access can read the record, so keep secrets and credentials out of every field. A bad field returns validation_failed, and a read-only member gets workspace_read_only. VerificationArtifactNotFound means the artifacts in details.artifactIds are not in this workspace, were deleted or were archived. VerificationArtifactNotExecutionTier means the artifacts in details.artifactIds are not projects or tickets. VerificationClauseNotFound means the clauses in details.clauseIds are not on the current version of a linked artifact. VerificationDecisionNotFound means the decisions in details.decisionIds are not in this workspace, were archived or were superseded. VerificationReferenceNotFound means the external references in details.referenceIds are not in this workspace. VerificationLinkLimitExceeded means the record names too many links. VerificationAttachmentTypeMismatch means the attachment bytes are not the declared content_type. VerificationAttachmentTooLarge means it is empty or too large once decoded. VerificationAttachmentStoreFailed means it could not be stored, so retry. VerificationStoreQueryFailed means the store query failed or timed out, so call verifications_list before you retry to avoid recording twice.

Parameters

Name Type Description
kind required "test" | "review" | "screenshot" | "manual" test: a test or command exercising this clause or decision, not whole-tree CI or lint. review: you read the code or document. screenshot: you captured the result. manual: you used the product by hand.
result required "passed" | "failed" | "not_verified" passed or failed. not_verified: a gap you did not or could not check.
statement required string What you checked and saw; for not_verified, what you skipped and why. At most 2000 characters. Members and agents can read it; keep secrets out.
evidence_url string Absolute https: URL to the evidence, such as a CI run.
commit string Git commit you checked. Required with branch.
artifact_ids string | string | string[] UUIDs or keys such as HF-142 of the projects or tickets you verified.
repository string GitHub repository of the branch, as owner/name; the fork for a fork's branch. Case does not matter. Pass it with branch.
branch string Git branch you checked. Case matters. Needs repository and commit.
clause_ids string[] UUIDs of clauses this is evidence for, on artifacts in artifact_ids.
decision_ids string[] Decision ids this is evidence for.
reference_ids string[] Ids of external references it covers, from external_references_list.
attachment object One image, such as a screenshot. Members and agents can read it; keep secrets out.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Audit workspace health

workspace_audit

Reports severity-grouped workspace health findings such as orphans, duplicates, and lifecycle inconsistencies. For the detector findings on individual artifacts use signals_list.

Use for "what's wrong with this workspace?" or after a bulk import. Returns severity-grouped findings for orphans, duplicates, lifecycle inconsistencies, unowned in-flight execution work, and stale strict-authority drafts, each with an optional recommended_action: {tool, args}. Every advertised category runs a real detector; findings are capped and severity-ordered. On large workspaces use grouped mode (group: true) — lifecycle findings batch by closed parent, orphans by expected parent type, and unowned or stale-draft findings into one group, with full counts + ≤3 representatives — and page with offset: meta.next_offset until it is null (summary.total can exceed meta.returned). After a response_too_large, retry with group: true, a narrower categories, a lower findings_limit, or include_sidecars: false (drops the _schema_drift / _detector_precision blobs). Schema drift is opt-in: pass categories: ['schema_drift'] to get the _schema_drift sidecar (compact rows grouped by artifact type + unknown key, with count, top 3 examples, and status: 'legacy_alias' | 'unknown'). Category-scoped audits that omit schema_drift never attach the sidecar, so legacy drift rows cannot dominate a targeted call. Detector precision: _detector_precision.rows holds one row per signal kind over the findings whose current raise was triggered in the last 30 days. triggered counts those findings; dismissed counts the ones among them a person rejected after the raise (dismissed as not a problem or wrong evidence, or rated not useful or wrong evidence), each once, so it never exceeds triggered; dismissal_rate is dismissed / triggered (null when nothing triggered); reasons splits dismissed by rejection reason; median_seconds_to_dismiss covers those dismissals; needs_predicate_review flags a rate above 0.5 over at least 4 findings. Feedback on findings triggered before the window is not counted. When the precision read fails, the sidecar carries status: 'unavailable' with empty rows, so empty rows without a status mean nothing triggered. Partial results are explicit: summary.by_category is null for any category that did not run (not requested, or its detector failed) and a number only when the detector ran, so a 0 is a real all-clear; summary.category_status and meta.failed_categories name the categories that failed, and one failing detector never discards the categories that succeeded. In grouped mode the rows live in groups and findings carries only ungroupable rows — read meta.returned_collection with meta.returned_groups / meta.returned_findings to see what meta.returned counted.

Parameters

Name Type Description
categories value[] Subset of categories to run; default all. Findings: orphans, duplicates, lifecycle_inconsistencies, unowned_execution_artifacts, stale_drafts. schema_drift is opt-in: populates the _schema_drift sidecar; omitted from targeted calls by default to prevent legacy drift rows from dominating a category-scoped response.
severity_floor value No description
findings_limit integer Max findings to return (default: 200, max: 500). The pre-cap count stays available in summary.total so callers can see what was dropped.
offset integer Page start over the sorted findings (or groups); continue from the previous response's meta.next_offset.
group boolean Compact mode: batch lifecycle findings by closed parent, orphans by expected parent type, and unowned execution work into one ownership group — full counts, ≤3 representative children, recommended action stated once per group. The cap-safe shape for batch triage on large workspaces.
stale_draft_days integer Age threshold for stale_drafts findings (default: 30 days).
scope_artifact_id string | string | string Audit only this artifact and its descendants: findings outside that set are dropped, and scope in the response names the root. The root itself is never reported as an orphan. An unknown id fails with artifact not found.
include_sidecars boolean Pass false to skip the _schema_drift / _detector_precision sidecars (their bytes and their queries) — useful when paging findings or after a response_too_large.
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Get workspace summary stats

workspace_summary

One-call session bootstrap: workspace metadata, artifact counts by type and state, the five latest artifacts, and what the caller may do, including tools a person must confirm. Follow it with signals_list.

One-call session bootstrap: workspace meta, current unarchived artifact counts by type and state, the 5 most recently updated current artifacts, and caller: what this connection may do here. caller is { user_id, principal_kind, role, workspace_pinned, forms_allowed, person_only_tools }. principal_kind is the credential: web, oauth_client (an MCP client acting for a signed-in person), or api_key (no person behind it). role is the workspace role (owner, admin, viewer), or null when it could not be read; a viewer's write tools answer workspace_read_only. workspace_pinned is true when an API key or workspace URL limits this connection to one workspace. forms_allowed is false for an API key, which is never shown a person's form. person_only_tools lists the tools that act only once a person confirms in the client or on the decide page; the agent never completes them alone. Any other write may instead file a proposal a person decides; its result then carries a proposal_id. Pair with signals_list and activity_feed_list.

Parameters

Name Type Description
workspace_id string (uuid) The workspace this call acts on, from workspaces_list. Required on the shared /mcp connection when you belong to more than one workspace. A workspace URL (/mcp/w/<id>) or an API key already names one, so omit it there or pass the same id.

Create a workspace

workspaces_create

Creates a workspace you own, with the name you give, and returns its id, name, slug and app URL. It does not change the workspace you have open in the web app.

Create a workspace owned by you and return {workspace_id, name, slug, app_url, active}. Pass name; the response echoes the stored name (trimmed) and the slug chosen for it. Names are not unique, so two workspaces may share a name and the response never warns about it. app_url is the app's workspaces page, where the person opens the workspace. Each call creates a new workspace, so call workspaces_list first and reuse a workspace that already exists rather than retrying a create. active is always false: the new workspace is not opened in the web app. Act on it by passing its id as workspace_id on other tools. Only the shared /mcp connection can create a workspace; a workspace URL or API key is refused with Forbidden.

Parameters

Name Type Description
name required string No description

List your workspaces

workspaces_list

Lists the workspaces this connection can act on, with each one's id, name and your role. Pass an id as workspace_id on other tools when you belong to more than one.

List the workspaces this connection can act on as {id, name, slug, role, active}[], oldest membership first. On the shared /mcp connection that is every workspace you belong to: pass one id as workspace_id on each other tool call. A call without it fails with workspace_required when you belong to more than one, and never falls back to the active workspace, which only marks the one the web app opens. A workspace URL (/mcp/w/<id>) or an API key names one workspace, so the list holds only that one, marked active.

Parameters

No parameters.