Skip to main content
Glama

CPE Search

cpe_search
Read-only

Find the CPE vendor and product names that hold a text, ranked by vulnerable CVE count. Pass a name with no % as it is to the vendor and product arguments of the cve_search, cve_triage, cve_leading, product_exposure and epss_risers tools.

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": {
      "search": "<search>"
    },
    "name": "cpe_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoVendor and product pairs per page
offsetNoPairs to skip; pass next_offset of the previous page
searchYesText in vendor or product names, at least 3 bytes; case does not matter, and _ matches a space

Output Schema

NameRequiredDescriptionDefault
limitYesMost items in results: the limit argument, 20 by default.
totalYesVendor and product pairs that hold the search text, before paging.
offsetYesItems skipped: the offset argument, 0 by default.
creditsYes
resultsYesHighest vulnerable_cve_count first. Pass vendor and product as they are, escapes included, to the vendor and product arguments of other tools.
next_offsetYesoffset plus this page's items; total on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds non-obvious behavior beyond them: results are ordered by vulnerable CVE count and the returned name can be forwarded verbatim only if it contains no %. It does not mention pagination limits or result shape, but the output schema covers the latter.

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 with zero filler: the core purpose and ranking come first, and the chaining instruction follows. Every clause carries actionable 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 simple three-parameter read-only search with a published output schema, this is nearly complete: purpose, ranking, and how to use the results are all present. Only minor pagination/behavior notes are absent, and the schema and annotations fill those gaps.

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 search, limit, and offset semantics (minimum 3 bytes, case-insensitive, '_' as space, page size, next_offset) are already documented in the schema. The description's only added constraint concerns stripping '%' from the name before reusing it elsewhere, which is marginal beyond the schema.

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 ('Find the CPE vendor and product names') plus the ranking rule ('ranked by vulnerable CVE count'), which distinguishes it from CVE-oriented siblings like cve_search and cve_lookup that consume these names rather than produce them.

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 downstream routing by naming five sibling tools and the exact arguments ('vendor and product arguments') to feed the returned names into, which is unusually actionable. It stops short of explicit when-not-to-use guidance or naming an alternative lookup path, so it is strong but not exhaustive.

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.