Skip to main content
Glama

list_libraries

Read-onlyIdempotent

List document libraries on a project or proposal, the tenant-level libraries with scope="org", or across everything with all=true. Returns id, name, parent project/proposal name, and document count. Newest first. Pass exactly one of projectId / proposalId / scope="org" / all=true.

Input Schema

NameRequiredDescriptionDefault
allNoReturn every library the caller can see
scopeNoSet "org" for the tenant-level (organization) libraries
projectIdNoLimit to this project
proposalIdNoLimit to this proposal

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / scope
      Added value: +{
      +  "description": "Set \"org\" for the tenant-level (organization) libraries",
      +  "enum": [
      +    "org"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower; the description adds real value beyond them by disclosing the return fields, the "newest first" ordering, and the mutual-exclusivity constraint on filters.

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 sentences, front-loaded with the core action, and every clause earns its place — scoping modes, return shape, ordering, and the exclusivity rule. No filler or redundancy.

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 output schema, the description correctly compensates by naming the returned fields and ordering, and it fully covers the four-parameter filtering model and its constraint. Nothing needed to call it correctly is missing.

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%, so the baseline is 3, but the description adds a constraint the schema cannot express: exactly one of the four filters must be supplied. It also restates what each mode yields, though the schema already documents each parameter individually.

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 document libraries") and immediately distinguishes the three scoping modes (project/proposal, scope="org", all=true), which is exactly what separates it from siblings like create_library or list_documents. An agent can select it 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 explicit context for each mode (project/proposal vs tenant-level org vs everything) and a hard rule — "Pass exactly one of projectId / proposalId / scope=\"org\" / all=true" — that prevents invalid invocations. It stops short of naming alternative tools for adjacent needs, hence not a 5.

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.