Skip to main content
Glama
KittyCAD

Zoo MCP Server

Official
by KittyCAD

search_kcl_samples

Search KCL samples by keyword across titles and descriptions. Returns ranked matching samples with details like name, title, description, and match excerpt.

Instructions

Search KCL samples by keyword.

Searches across all KCL sample titles and descriptions for the given query. Returns matching samples ranked by relevance.

Args: query (str): The search query (case-insensitive). max_results (int): Maximum number of results to return (default: 5).

Returns: list[dict] | str: List of search results, each containing: - name: The sample directory name (use with get_kcl_sample) - title: Human-readable title - description: Brief description of the sample - multipleFiles: Whether the sample contains multiple KCL files. Best-effort hint only — see list_kcl_samples for the full caveat. Call get_kcl_sample if you need a reliable answer. - match_count: Number of times the query appears in title/description - excerpt: A relevant excerpt with the match in context If there was an error, returns an error message string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
max_resultsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses case-insensitivity, default max_results, best-effort hint for multipleFiles, and error return as string. Without annotations, description carries full burden and does so well.

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?

Concise and well-structured: first sentence states purpose, followed by clear Args and Returns sections. No wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema defined in description with detailed field explanations and caveats. References sibling tools for more info. Complete for a search tool with ranking and multiple files.

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

Parameters5/5

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

Args section fully explains both parameters (query case-insensitive, max_results default 5) compensating for 0% schema coverage. Adds clarity beyond input 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?

Clearly states it searches KCL samples by keyword across titles and descriptions, returning ranked results. Differentiates from siblings list_kcl_samples (full caveat reference) and get_kcl_sample (mentioned for reliable answer).

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?

No explicit when/when-not usage guidance. Implies use for keyword searching vs listing all or getting a specific sample, but lacks direct instructions or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KittyCAD/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server