Skip to main content
Glama

fork_linked_project

Destructive

FORKS a linked project: makes an INDEPENDENT COPY of it that you own, then repoints the host block to that copy. It is the escape hatch when a linked project stays READ-ONLY — access bounded to a shared block (cell_grant), write lock set on the target, PINNED version, or a role that does not write on the target — and you want to be able to modify it without depending on those conditions (a role that writes, on a NON-bounded and NON-locked link, already opens inline editing — see link_project_to_cell). READ access to the target is enough to fork. The copy is a detached SNAPSHOT: it will no longer follow any change to the original, and the original is never modified. If the link was PINNED to a version, THAT version is copied. The new project counts toward your project cap, and writing into it requires TARGETING it — over MCP, expectedProjectId on each write; in the in-app chat it does not exist: nothing is written there this turn, the interface (or focus_view dive, run at turn end) dives in, and the writing happens on the NEXT turn. What is NOT copied: tasks, comments, documents and attachments, the version history, work plans (with their dependencies and frozen lists), the agent claims on work plans together with the plans withdrawn from an agent, shares, project metadata (agent checkpoints, set_project_metadata), pending access requests, block identifier aliases (a renamed former identifier will no longer resolve in the copy — only canonical identifiers are carried over), the chat conversation history, as well as the plans in progress, reviewable proposals and meeting suggestions attached to it, and block and document labels. Linking a project WITHOUT copying it (it stays live and shared) is the job of link_project_to_cell; starting an EMPTY sub-view is the job of create_nested_project.

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": {
      "cellId": "<cellId>"
    },
    "name": "fork_linked_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName of the created project. Omitted, it takes the label of the link followed by " (copy)".
cellIdYesID of the block of THIS project that carries the link to fork. The fork copies the project targeted by this link, then REPOINTS this same block to the copy.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed3 schema fields changed
    • changedInput schema / properties / cellId / description
      Previous value: -"ID du bloc de CE projet qui porte le rattachement à forker. Le fork copie le projet visé par ce rattachement, puis REPOINTE ce même bloc vers la copie."New value: +"ID of the block of THIS project that carries the link to fork. The fork copies the project targeted by this link, then REPOINTS this same block to the copy."
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / name / description
      Previous value: -"Nom du projet créé. Omis, il reprend le libellé du rattachement suivi de « (copie) »."New value: +"Name of the created project. Omitted, it takes the label of the link followed by \" (copy)\"."
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only supply the safety profile (destructiveHint true, readOnlyHint false); the description adds substantial behavior: the original is never modified, the copy is a detached snapshot that stops following the source, a pinned version is what gets copied, the copy counts toward the project cap, and writes require targeting it (expectedProjectId over MCP, next-turn in chat). It also enumerates exactly what is not copied, which is critical for an agent to predict the result.

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

Conciseness4/5

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

The core action and the escape-hatch condition are front-loaded in the first sentence, and the negative inventory is grouped at the end. It is dense and long for a single block, but nearly every clause carries decision-relevant or consequence-relevant information rather than filler.

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 destructive mutation tool with three parameters and no output schema, the description covers prerequisites, the repointing side effect, the frozen-snapshot consequence, capacity impact, and how to write into the copy afterward. There is no material gap an agent would need to call it correctly.

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 description coverage is 100%, so the schema already documents name defaulting, cellId identifying the host block to repoint, and expectedProjectId. The description's added detail ('expectedProjectId on each write') concerns subsequent writes rather than this call's parameters, so it adds little parameter-level meaning beyond the schema.

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

Purpose5/5

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

States a specific verb and resource ('FORKS a linked project') plus the full effect: an independent copy owned by the caller, with the host block repointed to it. It explicitly distinguishes itself from link_project_to_cell (live shared link) and create_nested_project (empty sub-view), so an agent can select it without opening a schema.

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 an explicit trigger condition (the link stays READ-ONLY due to cell_grant bounding, write lock, PINNED version, or non-writing role) and an explicit counter-condition where forking is unnecessary because a writing role on a non-bounded, non-locked link already opens inline editing. It names the alternative tools and the prerequisite that READ access suffices.

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.