Skip to main content
Glama

search_assets

Find license-eligible, compatible code assets using hybrid semantic and keyword search before building UI, templates, animations, backends, CLIs, or algorithms.

Instructions

Hybrid search (semantic+keyword) over license-eligible, compatible assets. Returns lightweight hits only; use get_asset for code. Call when: about to build UI/template/animation/backend/CLI/algorithm code. Ignore results with confidence=low.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesNatural language need, e.g. 'Go CLI progress bar'
profileNoclosed_source|saas|open_source (default from config)
categoryNoui|template|backend|cli|animation|algorithm
languageNoTarget language
frameworkNoTarget framework, e.g. react, fastapi

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose two important traits: results are lightweight hits rather than code, and hits carry a confidence field whose low values should be discarded. It stops short of describing result ordering, how many hits come back by default, or behavior on empty/over-narrow queries, so the behavioral picture is good but not complete.

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?

Three short sentences, each doing distinct work: what it is, what it returns and the code alternative, then the trigger and result filter. Front-loaded with the tool's identity and zero redundant restatement of the name or schema.

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 6-parameter, read-only search with no annotations and no output schema, the description covers purpose, scope, trigger, result handling, and the code-fetch alternative. The main residual gap is return-shape detail (fields, ordering, default hit count), which matters somewhat given no output schema exists.

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 83%, so the schema already documents query, profile, category, language, framework, and limit. The description echoes the category domains implicitly in its 'Call when' list and hints at profile via 'license-eligible, compatible', but adds no syntax, defaults, or interaction rules (e.g. how category interacts with language/framework) beyond the schema. Baseline 3 is appropriate.

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 ('Hybrid search (semantic+keyword) over license-eligible, compatible assets'), names the retrieval mechanism, and bounds the corpus to license-eligible/compatible items. It also explicitly separates itself from get_asset, which returns code, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('Call when: about to build UI/template/animation/backend/CLI/algorithm code') and names the alternative path for fetching full code ('use get_asset'). It additionally tells the agent how to treat results ('Ignore results with confidence=low'), which is real invocation guidance rather than generic filler.

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