Skip to main content
Glama

Linkly AI

list_libraries

Read-only

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 observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description is not carrying the safety burden. It still adds real context beyond them: the returned payload includes descriptions and document counts, results are limited to libraries searchable "RIGHT NOW" (local cataloged + already linked cloud), and the URI addressing schemes are disclosed. It does not cover result ordering or limits, which keeps it just short of a 5 for a zero-annotation-gap tool.

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?

Front-loaded with the core verb and scope, then the when-to-call instruction, then the addressing formats and the boundary case. Every sentence carries a distinct piece of information with no restatement of the name or boilerplate.

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?

With no parameters and no output schema, the description supplies exactly what is missing: what comes back (descriptions and document counts), which libraries are included, and how to reference them in later calls. There is no meaningful gap left for an agent before invoking it.

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?

The tool takes no parameters, which is the baseline-4 case; there is no argument semantics the description could clarify. The URI format notes for `local://` and `cloud://` are not parameters here but useful follow-on addressing context.

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?

The description states a specific verb and resource ("List the knowledge libraries this account can search") and immediately narrows scope to local + already-linked cloud libraries. It also distinguishes itself from the similarly named catalog tool by name, so an agent can tell it apart from library_search 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?

Explicit when-to-use ("Call it before searching within a specific library") and explicit when-not-to-use with the alternative named: to discover unlinked cloud libraries, call library_search then library_link. Both the positive trigger and the exclusion are stated rather than inferred.

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.

Resources