Skip to main content
Glama
cdnjs-frontend-libraries-mcp

cdnjs-frontend-libraries-mcp

Search CDNjs libraries

search_cdnjs_libraries
Read-onlyIdempotent

Search Cloudflare CDNjs for frontend JavaScript and CSS libraries by keyword, returning version, license, and repository URLs to help identify and evaluate dependencies.

Instructions

Search Cloudflare CDNjs hosted frontend JavaScript and CSS libraries by keyword, returning latest version, license, and repository URLs.

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_cdnjs_libraries"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum libraries to return (default 15, max 50).
queryYesSearch keyword (e.g. "react", "d3", "bootstrap", "lodash").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds that results come from Cloudflare's CDNjs index and what fields come back, but says nothing about result ordering/relevance, pagination beyond the limit param, or failure behavior for non-matching keywords.

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?

One front-loaded sentence that names the source, the verb, the resource domain, and the return fields, with no filler. Nothing could be removed 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?

With no output schema, the description usefully characterizes the return payload (version, license, repository URL) and the hosting source. For a two-parameter read-only search tool that is largely sufficient; only result ordering and what happens on zero matches are unstated.

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%, so both parameters are fully documented in the schema and the baseline is 3. The description reinforces that the query is a keyword for library search but adds no format or syntax detail beyond what the schema already provides.

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 — 'Search Cloudflare CDNjs hosted frontend JavaScript and CSS libraries by keyword' — plus the fields returned (latest version, license, repository URLs). The 'by keyword' framing implicitly separates it from name-based siblings like get_cdnjs_library_metadata, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the keyword-discovery entry point, and the stated return fields hint at when it is the right pick (e.g., needing license or repo links). There is no explicit when-to-use, when-not-to-use, or pointer to get_cdnjs_library_metadata/get_cdnjs_library_versions for exact-name lookups.

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