Skip to main content
Glama

get_linked_project

Read-only

Reads the project linked to a block of THIS project, THROUGH the link — a PREVIEW (title, counts, block skeleton: id, name, type, parent, desc, and the link each block itself carries), not the detailed content. With depth, DESCENDS the chain over several levels and returns a nested array — enough to build a destination table over an entire tree WITHOUT switching from project to project. With includeBlockTitles, attaches to each block the inventory of its content blocks (id, type, TITLE — without the entries): this is what lets you decide to ADD a block or MERGE with an existing block. The read honors what each link grants and NOTHING more, and access is RE-RESOLVED at EACH level (a right on a project does not open what it links): PINNED version if the link carries one, SCOPE if access comes from a shared block (access.boundedToCell then says so explicitly). Requires READ access to the target project — a project role, even plain viewer, or a block share; otherwise the call refuses and says why, and a refused level does not interrupt the others. An API key BOUNDED to projects does not reach a project excluded from its scope either: it is OMITTED and the refusal is named (out_of_key_scope) rather than returned empty. ⚠️ truncated says whether this project links projects that THIS call did NOT read, and why (requestedDepth: a deeper request is needed · depthCeiling: ceiling reached, open the project directly · projectBudget: aim at a more precise branch) — null means everything that hangs below is in the response. ⚠️ notIncluded lists what the preview does NOT carry: its silence does not prove that the target project has none. To WRITE into this project (if you have access to it): 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.

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": "get_linked_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoHow many link LEVELS to descend. 1 (default): only the project linked to this block. 2 and more: the projects that THAT one links, and so on — the response then gains a `nested` array, one element per level, each with its own access resolution. Useful to build a destination table over a tree WITHOUT switching from project to project. Ceiling 4; at most 12 projects read per call, the head target included in the budget. Any branch left aside is DECLARED (`truncated`) rather than silent.
cellIdYesID of the block of THIS project that carries the link to read. The read goes THROUGH the link: it honors its possible PINNED version and its scope, and never gives more than this link grants.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).
includeBlockTitlesNoAttach to each block the inventory of its content blocks — id, type and TITLE, without the entries or the text. This is what lets you decide to ADD a block or MERGE with an existing block without carrying its content. FALSE by default. Applies to ALL levels, not only the first.

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. Changed4 schema fields changed
    • changedInput schema / properties / cellId / description
      Previous value: -"ID du bloc de CE projet qui porte le rattachement à lire. La lecture passe PAR le rattachement : elle honore son éventuelle version FIGÉE et son périmètre, et ne donne jamais plus que ce que ce lien accorde."New value: +"ID of the block of THIS project that carries the link to read. The read goes THROUGH the link: it honors its possible PINNED version and its scope, and never gives more than this link grants."
    • changedInput schema / properties / depth / description
      Previous value: -"Combien de CRANS de rattachement descendre. 1 (défaut) : le seul projet rattaché à ce bloc. 2 et plus : les projets que CELUI-LÀ rattache, et ainsi de suite — la réponse gagne alors un tableau `nested`, un élément par cran, chacun avec sa propre résolution d'accès. Utile pour construire une table de destination sur une arborescence SANS basculer de projet en projet. Plafond 4 ; au plus 12 projets lus par appel, budget compris la cible de tête. Toute branche laissée de côté est DÉCLARÉE (`truncated`), jamais tue."New value: +"How many link LEVELS to descend. 1 (default): only the project linked to this block. 2 and more: the projects that THAT one links, and so on — the response then gains a `nested` array, one element per level, each with its own access resolution. Useful to build a destination table over a tree WITHOUT switching from project to project. Ceiling 4; at most 12 projects read per call, the head target included in the budget. Any branch left aside is DECLARED (`truncated`) rather than silent."
    • 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 / includeBlockTitles / description
      Previous value: -"Joindre à chaque bloc son inventaire de blocs de contenu — id, type et TITRE, jamais les entrées ni le texte. C’est ce qui permet de décider AJOUTER un bloc ou FUSIONNER avec un bloc existant sans transporter son contenu. FAUX par défaut. S’applique à TOUS les crans, pas seulement au premier."New value: +"Attach to each block the inventory of its content blocks — id, type and TITLE, without the entries or the text. This is what lets you decide to ADD a block or MERGE with an existing block without carrying its content. FALSE by default. Applies to ALL levels, not only the first."
  4. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With readOnlyHint already declaring the safety profile, the description still adds substantial behavior: access is re-resolved at each level, PINNED versions and `scope`/`access.boundedToCell` are surfaced, refusals are named (`out_of_key_scope`) rather than returned empty, and a refused level does not abort the others. The `truncated`/`notIncluded` caveats warn the agent against treating silence as absence — exactly the kind of context annotations cannot carry.

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

Conciseness3/5

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

The core is front-loaded and informative, but the prose is inflated with ALL-CAPS emphasis, emoji warnings and parenthetical asides that add noise. The closing paragraph about WRITE targeting and NEXT-turn behavior is tangential to a read-only preview tool and dilutes the message.

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?

Although there is no output schema, the description describes the response shape (`nested` array per level, block skeleton fields, `truncated`, `notIncluded`, `access.boundedToCell`) in enough detail to consume it correctly. Access requirements and failure modes are fully covered for a tool of this complexity.

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

Parameters4/5

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

Schema coverage is 100% and each parameter is already well documented, so the baseline is 3. The description still adds framing by tying `depth` to the 12-project budget and the `truncated` declaration, and by explaining that `includeBlockTitles` exists to support add-vs-merge decisions — meaning the schema does not spell out on its own.

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 ("Reads the project linked to a block of THIS project, THROUGH the link") and immediately scopes it as "a PREVIEW ... not the detailed content", enumerating the returned fields. An agent can distinguish this preview-read from a full project read without opening the schema.

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

Usage Guidelines4/5

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

Gives concrete use cases — `depth` "to build a destination table over an entire tree WITHOUT switching from project to project", and `includeBlockTitles` "lets you decide to ADD a block or MERGE with an existing block" — plus an implicit alternative ("open the project directly" when `depthCeiling` is hit). It never names the sibling tool to call for the detailed read, so routing is clear but not fully explicit.

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.