Skip to main content
Glama
contextqmd-mcp

contextqmd-mcp

by darkamenosa

Search Libraries

search_libraries
Read-only

Find libraries in the remote catalog by query or task phrase, returning candidate matches, versions, and local install status; use before you know the exact slug.

Instructions

Search the remote library catalog and return candidate libraries, available versions, and local install status. Use this first when you do not already know the exact canonical slug.

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": {
      "query": "<query>"
    },
    "name": "search_libraries"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum libraries to return (default: 5)
queryYesLibrary search query or task phrase (for example 'inertia rails' or 'react forms')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.9

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint, so the description carries the useful extra load: it discloses that the catalog is remote and lists the three things returned, including per-library local install status. It says nothing about empty-result behavior or failure modes, but the essential behavioral picture is there.

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?

Two sentences, zero padding, with the capability stated before the usage rule. Nothing could be cut without losing information.

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 two-parameter read tool with no output schema, the description compensates by describing the returned fields, which is the main gap a missing output schema creates. Cluster/pagination behavior on large catalogs is unaddressed but is a minor omission at this complexity.

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 coverage is 100% and both parameters are already documented with examples and a default/range for limit. The description adds no further meaning about query phrasing or how limit interacts with result ranking, so the baseline 3 applies.

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?

Names a specific verb and resource ("search the remote library catalog") and enumerates what comes back: candidate libraries, available versions, and local install status. That scope separates it from install/list-style siblings, though it never names a sibling explicitly.

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?

"Use this first when you do not already know the exact canonical slug" gives a clear entry condition and ordering relative to the lookup/install flow. It stops short of naming the tool to use instead once the slug is known, so the routing is implied rather than spelled out.

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