Skip to main content
Glama

get_library

Read-only

Reads the style used by a video or lists available styles, returning templates, project/style libraries and merged design tokens to guide thumbnails, captions, motion graphics or slides.

Instructions

Read the style a video uses: The user picks one of the named styles per video or per project (e.g. Magazine), and the project library adds to it. Returns the style's name and 'template', the style library and the project library (README.md style guide, tokens.json colours/type/spacing/radius, assets by group with every version, fonts, open comment counts) and the merged tokens. Without project: the list of styles. Read it before you design anything: a thumbnail, captions, a motion graphic, a slide.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNoProject name, when there is no session.
sessionNoSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.11.11
    • changedInput schema / properties / session / description
      Previous value: -"Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move."New value: +"Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work."
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

The annotations already declare this is a read-only, non-destructive, closed-world operation, but the description adds substantial behavioral detail beyond them. It enumerates the returned library contents: README.md style guide, tokens.json colours/type/spacing/radius, assets by group with every version, fonts, open comment counts, and merged tokens. It also discloses the no-project behavior (list of styles), which is important since there is no output schema.

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 description is front-loaded with the core purpose, then moves through return contents, the no-project case, and usage. It is dense but generally efficient, with every sentence contributing useful context. The long parenthetical return list could be split for readability, but it does not feel padded.

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 read-only library retrieval tool with two optional parameters and no output schema, the description is largely complete. It explains what the tool returns, when to use it, and what happens without a project. It leaves minor gaps around session/project precedence and error behavior, but the schema covers the basic parameter semantics.

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 input schema already documents both optional parameters. The description adds some meaning by noting that without a project the tool returns the list of styles, which clarifies the project parameter's omission behavior. However, it does not explain session/project precedence or the session parameter beyond what the schema already provides.

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?

The description clearly states a specific verb and resource: read the style/library a video or project uses. It specifies what is returned (style name, template, style library, project library, merged tokens) and what happens without a project (list of styles). It does not explicitly name sibling tools such as create_style or save_to_library, so differentiation relies on the agent understanding the operation rather than direct comparison.

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?

It gives clear when-to-use guidance: 'Read it before you design anything: a thumbnail, captions, a motion graphic, a slide.' It also clarifies scope with 'Without project: the list of styles,' which helps an agent decide whether to include the project parameter. There are no explicit exclusions or named alternative tools, so it stops short of full routing guidance.

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