Skip to main content
Glama

Use a library item

use_library_item

Copy a shared library slate or presentation into a new private slate, add a smart component to an editable slate, or add a recipe to a project as a draft.

Instructions

Copy a slate or presentation from the shared library into a new private slate, add a smart component (a board with rules, such as a retro) to a slate, or add a recipe to one of your projects to pick and turn on.

Use a library item. Use a library item: a slate or presentation becomes a new private slate of yours (a presentation with its deck), a smart component goes onto a new slate, or beside the boards of a slate you can edit (targetShareId; a slate holds up to 8 boards, past that 409 component_opens_new_slate; an agent gets 423 agents_paused while people there paused agents), and a recipe is added to one of your projects (projectId) as a draft that waits for your own picks (slots) and connections (missing): nothing of its author's comes along. The copy remembers where it came from. Preview first to see the board and where it goes (canvas); save makes it. topic names the board ("Retro: Q3 launch").

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": {
      "itemId": "<itemId>"
    },
    "name": "use_library_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNosave (the default) writes; preview returns what would change and saves nothing. The response says which happened.save
nameNoThe new slate's name (the item's title by default).
topicNoA smart component only: what it is about, which names its board.
itemIdYesThe item: its id or its slug (library.list items[].id or .slug).
confirmNoThe confirmation id from a confirmation_required result, once the person agreed.
versionNoA version number (item.publishedVersion by default).
projectIdNoA recipe only: the project it keeps up to date (one you edit).
targetShareIdNoA smart component only: the slate to add it to (one you can edit).
idempotencyKeyNoSend with confirm: the idempotencyKey from the confirmation_required result.
expectedRevisionNoWith targetShareId: the slate revision you read; a slate changed since is refused with 409 slate_changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the 409 component_opens_new_slate limit at 8 boards, 423 agents_paused when people pause agents, the confirmation flow, the 409 slate_changed revision guard, and the important assurance that a recipe copy carries none of its author's picks or connections. It also discloses provenance ('the copy remembers where it came from'), which annotations do not cover.

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?

Opens by repeating the title verbatim twice ('Use a library item. Use a library item:') and the first sentence is a dense run-on enumerating three modes. The content is valuable but the front-loading is weak -- the operational constraints are buried mid-paragraph.

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

Completeness4/5

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

For a 10-parameter mutation with no output schema, the description covers the three modes, the confirm/idempotency flow, error codes, and provenance. It does not say what a successful save returns (new slate id, board placement), which the agent may need to continue.

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 already 100%, so the baseline is 3, but the description adds conditional meaning the schema only implies: topic applies to smart components only, projectId to recipes only, and targetShareId requires an editable slate with the 8-board cap. Some of it echoes the schema ('topic names the board'), and the confirm/idempotencyKey pairing is left to 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 three concrete outcomes: copying a slate or presentation into a new private slate, adding a smart component to a slate you can edit, or adding a recipe to a project. The end states ('a presentation with its deck', 'a draft that waits for your own picks') let an agent distinguish this from read-only siblings like get_library_item.

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 explicit mode guidance -- 'Preview first to see the board and where it goes (canvas); save makes it' -- and states which parameter selects which behavior (targetShareId for components, projectId for recipes). It stops short of naming sibling tools (copy_slate, get_library_item) or stating when not to use it, so it is clear but not fully routing.

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

Deploy Server

Other Tools