Skip to main content
Glama

pay_training_job

Get payment for a quoted job via the chosen method. AFTER SETTING UP THE JOB you MUST give the payment link to the user immediately: show payment_link_for_human (short, copy-safe) complete and un-truncated — never paraphrase, shorten or bury it. Render it as a card/button if your client supports widgets.

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).
methodYesPayment method. 'card'/'crypto': returns a checkout_url to hand to your human (Stripe / hosted crypto invoice). 'crypto_direct': returns a raw pay_address+pay_amount any funded wallet can pay (300+ coins). 'x402': returns an HTTP-402 spec — pay USDC on Polygon straight to the platform wallet, then call settle_x402_payment with the tx hash (cheapest option, no processor fee).
job_tokenYes
pay_currencyNocrypto_direct only: coin ticker, default usdcmatic (USDC on Polygon).

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already mark readOnlyHint as false, so the agent knows it's a mutation. The description adds the critical instruction to display the payment link, which is an important behavioral trait. However, the main description's phrase 'Get payment' is vague about side effects (e.g., does it actually charge the user or just generate a link?). The method parameter descriptions clarify that it returns a URL/address, but the main description does not. No contradiction with 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 concise: two sentences. The first states the purpose, the second delivers a critical, action-oriented instruction. Every sentence earns its place, and the key information is front-loaded.

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

Completeness3/5

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

The description covers the purpose and the required post-call action, but lacks details about the return value format (no output schema) and prerequisites (e.g., job must be quoted). The instruction implies the job is set up, but explicit prerequisites are missing. Given the tool's complexity (4 params, no output schema), the description is adequate but not fully complete.

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 75% (3 of 4 parameters documented in the schema). The description does not add any meaning beyond the schema; it only mentions 'the chosen method' generically. The schema already provides detailed enum descriptions for engine and method. Thus, baseline 3 is appropriate as the description adds no extra parameter insight.

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 clearly states the verb 'Get payment' for a 'quoted job' via a chosen method, which distinguishes it from sibling tools like pay_commercial_license (which pays for a commercial license) and settle_x402_payment (a post-payment step). The resource and action are specific.

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?

The description provides clear context: 'AFTER SETTING UP THE JOB you MUST give the payment link to the user immediately'—this indicates the sequencing relative to job setup. However, it does not explicitly compare to alternatives (e.g., when to use pay_commercial_license instead) or state when not to use the tool.

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