Skip to main content
Glama

Search Drawcall guides and APIs

search_skills
Read-onlyIdempotent

Searches Drawcall guides and API declarations for building interactive 3D apps, games and assets: rendering, physics, rigging, level of detail, asset sourcing from @drawcall/market and generation with @drawcall/generate. Covers all supported packages, including in an empty project. Searches documentation, not Market inventory. Returns up to five guide or declaration paths with excerpts.

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

Input Schema

NameRequiredDescriptionDefault
queryYesWhat you want to implement or learn how to do

Output Schema

NameRequiredDescriptionDefault
resultsYesThe five best, best first, at most one per document. Empty until every selected package is ready.
packagesYesEvery selected package, in selection order

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / results / items / properties / uses / description
      Previous value: -"For a returned section: paths of declaration sources it uses"New value: +"Declaration source paths relevant to the matched guide passage"
  2. Changed1 schema field changed
    • changedOutput schema / properties / results / items / properties / excerpt / description
      Previous value: -"The first lines: of a section its text, of a type its declaration"New value: +"Relevant guide text or a declaration from the public API and its supporting types"
  3. Changed4 schema fields changed
    • changedOutput schema / properties / packages / items / properties / status / description
      Previous value: -"ready: searched. indexing: not searched yet, search again shortly. failed: could not be indexed (see error). not_allowed: this service does not index the package."New value: +"ready: indexed and available. indexing: not indexed yet, search again shortly. failed: could not be indexed (see error). not_allowed: this service does not index the package."
    • changedOutput schema / properties / results / description
      Previous value: -"The five best, best first, at most one per document"New value: +"The five best, best first, at most one per document. Empty until every selected package is ready."
    • changedOutput schema / properties / results / items / properties / path / description
      Previous value: -"Where the full text is: a path of the tree, e.g. /@drawcall/physics@0.1.0/types/RigidBody"New value: +"Where the full text is: a path of the tree returned by this service"
    • changedOutput schema / properties / results / items / properties / uses / description
      Previous value: -"For a section: paths of the types it uses"New value: +"For a returned section: paths of declaration sources it uses"
  4. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  5. Changed4 schema fields changed
    • removedInput schema / properties / packages
      Removed value: -{
      -  "items": {
      -    "description": "An npm package as name@version (the installed version), or a bare name for its latest",
      -    "type": "string"
      -  },
      -  "maxItems": 200,
      -  "minItems": 1,
      -  "type": "array"
      -}
    • changedInput schema / properties / query / description
      Previous value: -"One concrete question, goal or symptom"New value: +"What you want to implement or learn how to do"
    • changedInput schema / required
      Previous value: -[
      -  "query",
      -  "packages"
      -]New value: +[
      +  "query"
      +]
    • changedOutput schema / properties / packages / description
      Previous value: -"Every requested package, in request order"New value: +"Every selected package, in selection order"
  6. 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 readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description still adds real behavioral detail beyond them: results are capped at five, each result is a path plus an excerpt, and the corpus spans every supported package even when the project is empty.

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 tight sentences, front-loaded with capability and immediately followed by the exclusion and the result shape. The domain list is dense but each item carries search-relevant meaning, and nothing is repeated from the schema or annotations.

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 one-parameter read tool with full schema coverage, an output schema and four annotations, this is nearly complete. The only meaningful omission is the downstream step — that the returned paths are meant to be passed to `read_skills` — which would close the loop for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single `query` parameter is fully documented in the schema, so the baseline is 3. The description earns the extra point by enumerating the subject areas the query can target (rendering, physics, rigging, level of detail, @drawcall/market, @drawcall/generate), which directly informs how an agent should phrase a query.

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?

Names a specific verb and resource ("Searches Drawcall guides and API declarations") and enumerates the domains covered — rendering, physics, rigging, LOD, asset sourcing, generation. It also draws a sharp boundary ("Searches documentation, not Market inventory") that an agent can act on without inspecting any schema.

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?

Useful context is given: it works for all supported packages, including an empty project, and it is scoped to documentation rather than Market inventory. However, it never states the relationship to the sibling `read_skills` — the returned "paths" strongly imply a follow-up read, but the agent must infer that this is a discovery step whose output feeds `read_skills`.

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.

Resources