Skip to main content
Glama
Linkly AI

Linkly AI

Official

list_libraries

Read-only

Lists the knowledge libraries available to search now, including local and linked cloud libraries with descriptions and document counts, so users can choose the correct library before searching.

Instructions

List the knowledge libraries this account can search RIGHT NOW, with descriptions and document counts: local libraries (cataloged on the user's Desktop) and cloud libraries already linked to this account. Call it before searching within a specific library. Local libraries are addressed as local://<library-id>; cloud libraries as cloud://<owner>/<slug>. This is not a catalog search — to discover cloud libraries that are not linked yet, call library_search, then library_link.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds meaningful context beyond that: the results are scoped to what the account can search RIGHT NOW, and it discloses the contents (descriptions and document counts) and the two addressing schemes returned. It stops short of noting ordering, pagination, or what an empty result means, which keeps it from a 5.

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

Conciseness5/5

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

Three tight sentences, front-loaded with the purpose and scope, followed by the usage rule and the disambiguation. Every clause carries information — the URI formats and the library_search/library_link chain all earn their place.

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?

There is no output schema, and the description does its part by previewing the return shape (descriptions and document counts) and the addressing scheme for each library. For a zero-parameter read tool this is close to complete; only ordering/pagination and empty-state behavior are unaddressed.

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?

With zero parameters, the baseline is already high, and the description cannot add parameter meaning. It usefully documents the identifier formats (`local://<library-id>` vs `cloud://<owner>/<slug>`) that callers will feed into later tools, which is adjacent value rather than parameter semantics.

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 (list knowledge libraries) plus precise scope: local libraries cataloged on the Desktop and cloud libraries already linked to this account, returned with descriptions and document counts. It explicitly differentiates from the sibling catalog search (library_search), so an agent can tell them apart without opening either 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 when-to-use rule ('Call it before searching within a specific library') and an explicit when-not-to-use rule with the alternative path spelled out ('This is not a catalog search — to discover cloud libraries that are not linked yet, call library_search, then library_link'). Nothing is left to inference about which tool to pick.

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