Skip to main content
Glama

list_libraries

Read-only

List available libraries for a given programming language

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": {
      "language": "<language>"
    },
    "name": "list_libraries"
  }
}

Input Schema

NameRequiredDescriptionDefault
leanNoForce id+name only, regardless of count. Useful to browse the catalog before drilling in.
matchNoCase-insensitive AND-of-tokens filter on id, name, and version strings (so "boost 1.88" finds Boost when one of its versions matches 1.88.x). Numeric tokens match version-prefix; alphanumeric substring.
languageYesLanguage ID (e.g. "c++", "rust")
maxResultsNoCap full-detail entries (default 25). Beyond the cap, degrades to lean (id+name only) with a refinement hint.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered; the description adds nothing further. It does not mention the default 25-entry cap, the degradation to lean id+name results beyond the cap, or result ordering — all behavior an agent would benefit from knowing before calling.

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?

A single sentence with zero wasted words, front-loaded with the verb and resource. Its brevity is clean, though it leaves no room for the operational detail the tool's filtering and capping behavior would warrant.

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

Completeness3/5

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

For a moderate-complexity listing tool with four parameters and no output schema, the schema does most of the explanatory work, but the description never signals the truncation behavior, match filtering, or lean mode. An agent could call it correctly, yet would be surprised by capped results.

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%, with rich per-parameter text for `lean`, `match`, `language`, and `maxResults`, so the baseline of 3 applies. The description itself contributes no parameter meaning beyond restating that a language is required.

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?

States a specific verb and resource ("List available libraries") scoped to a programming language, which is enough to tell it apart from list_languages and list_compilers by resource type. It stops short of naming a sibling or drawing an explicit distinction, so a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as list_compilers or list_languages. The only hint of workflow (browsing a catalog before drilling in) lives in the schema's `lean` parameter, not the description.

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.