Skip to main content
Glama

x402_npmsearch_get_v1_search

Search npm packages by keyword, popularity, or quality score to identify packages for a coding task or dependency decision.

Instructions

npmsearch — npm package full-text search. Use when an agent needs to find packages by keyword, popularity, or quality score. [GET /v1/search] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/search?text=markdown%20parser&size=5&quality=0.8&popularity=0.9

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": "x402_npmsearch_get_v1_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

Score is being calculated.

Deploy Server

Other Tools