Skip to main content
Glama

buy_library_model

Quote an anonymous purchase of a library model (1.50 CHF flat — free, nothing charged until paid). Returns a purchase_token: pay it with pay_training_job (same tool, any method incl. x402), then fetch the download URLs with get_library_purchase. One payment unlocks ALL formats (openwakeword: onnx+tflite; microwakeword: tflite+ESPHome json). Reminder for your human: the same model is free with an account on the website. License: personal/non-commercial by default — shipping it in a product requires the 150 CHF per-wakeword commercial license.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
engineYesTarget engine. 'openwakeword': desktop / Raspberry Pi / Python (ONNX+TFLite, `pip install openwakeword`). 'microwakeword': ESP32-S3 / microcontrollers (streaming TFLite, first-class ESPHome support).
model_idYesmodel_id from search_wake_word_library

TDQS

A4.5/5.0
Behavior4/5

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

Annotations indicate a non-read-only, non-destructive, non-idempotent operation. The description adds that no charge occurs until payment, that a purchase_token is returned, and that one payment unlocks all formats. It also discloses licensing terms. It does not mention other side effects (e.g., token expiration), but the added context goes beyond the annotations.

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?

The description is four sentences but packs in price, payment flow, follow-up steps, format details, account alternative, and licensing. No filler words; every sentence serves a distinct purpose.

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?

This tool is part of a multi-step purchase process, and the description fully covers the end-to-end flow: quoting, payment integration, download retrieval, and format coverage. It also mentions licensing and the free-account alternative. There is no output schema, so the description's mention of the purchase_token fulfills the need to explain return behavior.

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?

The input schema already documents both parameters at 100% coverage, including detailed engine descriptions and model_id provenance. The description adds engine-specific format outcomes, but that is more about results than parameter semantics. Since schema covers parameter meaning, 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?

The description begins with 'Quote an anonymous purchase of a library model,' using a specific verb ('Quote') and resource ('library model'). It includes the price point (1.50 CHF flat) and the return of a purchase_token, which clearly differentiates this tool from siblings like pay_training_job or create_commercial_license.

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?

The description explicitly maps the workflow: use buy_library_model to get a token, then pay with pay_training_job, then fetch with get_library_purchase. It also provides exclusions and alternatives: the model is free with an account on the website, and commercial licensing is a separate paid product. This gives the agent clear when-to-use and when-not-to-use guidance.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Every tool has a clearly distinct purpose: buying library models, creating training jobs, estimating word quality, checking statuses, handling payments, searching the library, and submitting feedback. The pay_ and get_ tools are clearly separated by their targets (training job vs. commercial license vs. library purchase), so an agent can unambiguously select the right one.

Naming Consistency5/5

All 12 tools follow a consistent verb_noun pattern in snake_case: buy_library_model, create_training_job, estimate_wake_word, get_*, pay_*, search_wake_word_library, send_job_feedback, settle_x402_payment. The naming is uniform and predictable, making it easy to infer tool behavior.

Tool Count5/5

12 tools is well within the ideal 3-15 range for a focused service. Each tool addresses a distinct stage of the wake-word workflow (search, estimate, create, pay, monitor, purchase, license, feedback), and none feel redundant or unnecessary for the server's stated purpose.

Completeness5/5

The tool surface covers the full lifecycle: discovery (search), validation (estimate), creation (create_training_job), payment (pay_training_job, settle_x402_payment), tracking (get_training_job), feedback (send_job_feedback), plus library purchase with its own payment and status, and commercial licensing. There are no obvious dead ends; every major operation an agent would need is present.

Resources