Skip to main content
Glama

skein_create

⚠ DEPENDENCIES: use the dependencies array to wire typed edges (blocks / waits-for / related / discovered-from / supersedes / duplicates / parent-child) to existing issues atomically with the create. Do NOT write "depends on X" / "blocks Y" / "requires X" in description, acceptance or notes — prose refs are invisible to the dependency graph, skein_ready gating, the UI Dependencies section and close-time warnings. For a hierarchical child prefer the parentId parameter on this same call; for edges on an EXISTING issue use skein_dep_add. ANSWERS WITH AN ACKNOWLEDGEMENT by default — the id, the applied state and the new version, no issue card and no prose — so the expectedVersion cycle continues without a re-read; pass verbose for the full IssueDetail.

Create a new issue. Two-layer duplicate detection (pg_trgm title similarity + semantic vector rerank) runs natively — do NOT preflight with skein_search or skein_prime to 'check for duplicates'. On a match returns {created:false, duplicates:[...], decisionRequired:true}: decide yourself — retry with force:true if it is distinct, or call again with duplicateOf:"demo-42" (links a duplicates edge). degraded semantics: skein_get_instructions ("Duplicate detection").

kind (REQUIRED for agent callers) sets the issue's source column — see the parameter. The optional sourceContext annotates the trigger further. parentId switches id-generation to hierarchical (parent.N) regardless of project default. id is honoured only when idMode=custom.

Inline dependencies[] (max 50) are created in the SAME SERIALIZABLE tx as the issue insert — any failed edge (cycle, target invisible, target missing, duplicate edge) rolls back the entire create and returns a validation_error / dependency_* code naming the failing index (a cycle's path only if you see every issue on it). Cross-project edges are allowed; the caller must already see both projects. The new issue is on the FROM side of each edge.

Assignee default: without assignee, the issue is assigned to YOU (the API key's owner) and accepted, if your personal setting "Assign issues my agent creates to me" is on (the default; switch it in the web UI notification settings). Not for standing tasks, and not under someone else's parent: when the nearest assigned ancestor is another person, or one you cannot see, the issue stays unassigned. Pass unassigned: true when the user asks for an unassigned issue; to drop the assignee later, clear it with skein_update (assignee=""). Being the assignee is not a lock: skein_claim is still needed to start work.

⚠ Field bleed: tool-call wrapper literals (<invoke, <parameter name=, </parameter>) in the prose fields (description / acceptanceCriteria / notes / design) are rejected with validation_error (code: tool_call_syntax_leaked) — a hit means you closed a parameter block with the wrong tag. Closed set + the look-alikes that are NOT rejected: skein_get_instructions ("Text fields — forbidden literals").

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>",
      "title": "<title>",
      "type": "<type>"
    },
    "name": "skein_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoExplicit id (custom mode only). Must be "<prefix>-<suffix>" matching the project's id_prefix.
kindNoIssue origin classification (REQUIRED for agent callers) — sets the stored `source` column: "directed" → `source="agent_directed"`, the human user told the agent to create this issue; "autonomous" → `source="agent_autonomous"`, the agent decided to create it mid-task (side-quest, discovered subtask). The web UI ignores this parameter and forces source=human; MCP callers must specify it.
typeYesIssue type.
forceNoBypass the duplicate gate. Default: false.
notesNoFree-form notes.
titleYesShort imperative title (1..1000 chars).
designNoDesign notes / approach.
idModeNoOverride the project's default id-generation mode.
labelsNoFree-form labels to attach.
projectYesProject handle: alias, name, or UUID.
verboseNoReturn the full IssueDetail, prose included. Default false = acknowledgement: `id`, `ok`, `version` plus the post-state stamps that apply (`status`, `assignee`, lock / claim / close stamps) — no issue card and no free text. The version is always there, so the expectedVersion cycle needs no extra read. Details: skein_get_instructions. If the write applied but its card could not be read back, the answer is the acknowledgement plus `cardUnavailable: true` — read the card with skein_show; do not repeat the write.
assigneeNoAssignee handle (username, email, or user UUID — stored verbatim, resolved on read; it resolves only to a person who may work in the project). A user UUID that does not name such a person is refused with assignee_not_allowed. Omitted or blank — your personal "Assign issues my agent creates to me" setting decides (on by default: you become the assignee, accepted), except for standing tasks and issues under someone else's parent. null counts as omitted; a non-string value (number, array, object, boolean) is refused with validation_error and nothing is created.
parentIdNoFull hierarchical id of the parent issue (e.g. "demo-42"). Switches id-generation to hierarchical.
priorityNoPriority 0..4 (0=highest). Default: 3.
standingNoCreate the issue as a standing task instead of the default `open`. STANDING task = perpetual obligation: acted on via spawned children (skein_create parentId=<this>), never claimed or worked in place, excluded from open-work counts / skein_ready / inbox. Standing under standing is rejected with `nested_standing_forbidden`. To promote an existing task instead, use skein_update(status=standing). See skein_get_instructions ("Standing tasks"). Default: false.
unassignedNoLeave the issue without an assignee even when your personal "Assign issues my agent creates to me" setting is on. Pass it when the user asks for an unassigned issue. Cannot be combined with a non-empty `assignee`. Omitted, null or false — the setting decides.
descriptionNoLong-form description (markdown).
duplicateOfNoFull hierarchical id of an existing issue this should be flagged as a duplicate of. Skips the duplicate gate AND auto-creates a `duplicates` dependency edge from the new issue to the supplied one, in the same transaction — if the edge cannot be written, nothing is created.
componentIdsNoComponent UUIDs to attach. Must belong to the same project.
dependenciesNoTyped dependency edges created atomically with this issue. Each entry is {toId, type, gate?}; the new issue is on the FROM side of every edge, and direction is canonical per type. Max 50 per call, same type/gate semantics as skein_dep_add — any failed edge rolls back the entire create. For hierarchy prefer the top-level `parentId` (picks the next `parent.N` id); to make an EXISTING issue a child of this new one, create it first, then skein_reparent the child. Type table: skein_get_instructions ("Dependency edge types").
sourceContextNoFree-form annotation describing why the agent created this issue (e.g. "while implementing sk-42").
reviewRequiredNoWhether the issue's author will want to review the result once it is closed. Private bookkeeping of the AUTHOR: it is never returned to anyone else and never shows up in any feed. Omit it and your personal default applies (built-in default: true) — the same default every other creation path uses. Pass false to opt this one issue out.
acceptanceCriteriaNoAcceptance criteria (markdown).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes far beyond the annotations, which only declare non-read-only, non-destructive, non-idempotent, closed-world. The description discloses the SERIALIZABLE transaction wrapping issue insert plus edges, full rollback on any failed edge with dependency_* error codes, the duplicate-detection gate and its `{created:false, decisionRequired:true}` response, the default acknowledgement payload vs `verbose`, `cardUnavailable` recovery advice, assignee defaulting rules, and the tool-call-literal rejection with `tool_call_syntax_leaked`.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Roughly 350 words of densely parenthesized prose that opens with a ⚠ dependency warning instead of the tool's purpose, uses two more ⚠ banners embedded mid-paragraph, and duplicates substantial schema content (verbose, assignee, standing, unassigned, dependencies). The information is valuable but the structure is not front-loaded and several sentences could be trimmed without loss.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 23-parameter mutation tool with no output schema, the description covers what an agent most needs: the return payload shape, the version token for expectedVersion chaining, failure/rollback semantics, duplicate-gate recovery paths, and the interaction with skein_ready, skein_claim and skein_show. Nothing critical to calling it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds behavioral interplay around parameters — atomicity of `dependencies[]`, `id` honoured only with `idMode=custom`, `parentId` forcing hierarchical id generation — but much of this text is already restated in the per-parameter schema descriptions, so marginal value is modest.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ("Create a new issue") and repeatedly distinguishes itself from siblings: use `skein_dep_add` for edges on existing issues, `skein_reparent` to make an existing issue a child, `skein_update` to clear an assignee, `skein_show` to re-read a card. The drawback is placement — the core purpose sentence appears only in the second paragraph, after a long dependency warning, so it is not the first thing an agent reads.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to and when-not-to guidance: do NOT preflight with skein_search/skein_prime for duplicates, prefer `parentId` over inline parent-child edges, use `skein_dep_add` for existing issues, pass `unassigned: true` only when the user asked for it, and do not use this path for standing tasks or under someone else's parent. Alternatives and their selecting conditions are named concretely.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.