Skip to main content
Glama

qm_sleep_queue

Ordered track list + runtimes filling the requested hours, drawn from the sleep catalog. Price: $0.10 USDC on Base via x402 (the live 402 challenge is authoritative). Payment follows the x402 two-phase exchange: unpaid calls receive the payment requirements (payTo, amount, accepted networks), and calls carrying a valid payment receive the data in the tool result. The tool itself makes no payments, handles no private keys, and holds no funds. Resale of the data output is permitted at the reseller's own price.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "qm_sleep_queue"
  }
}

Input Schema

NameRequiredDescriptionDefault
moodNosleep | focus | meditate | calm | deep (default sleep).
hoursNo0.25-12, default 1.
paymentNoBase64-encoded x402 v1 payment payload (the signed ExactEvmPayload JSON). Absent on the first call, which receives the payment requirements; present on the follow-up call, after signing in the caller's own wallet / x402 client. The server only forwards it to the rail — it never signs, never holds funds, never touches private keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / payment / description
      Previous value: -"Base64-encoded x402 v1 payment payload (the signed ExactEvmPayload JSON). Omit on the first call to receive the payment requirements; sign in your own wallet / x402 client, then re-call with this set. The server only forwards it to the rail — it never signs, never holds funds, never touches private keys."New value: +"Base64-encoded x402 v1 payment payload (the signed ExactEvmPayload JSON). Absent on the first call, which receives the payment requirements; present on the follow-up call, after signing in the caller's own wallet / x402 client. The server only forwards it to the rail — it never signs, never holds funds, never touches private keys."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does substantial work: price and rail ($0.10 USDC on Base via x402), the authoritative live 402 challenge, the two-phase exchange, and explicit non-custody claims (no payments made, no private keys, no funds held). It also discloses that resale of the output is permitted. It stops short of describing failure behavior, retry semantics, or whether the track ordering is deterministic for a given mood/hours combination.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and deliverable are front-loaded in the first clause, followed by commercial and payment terms. The payment paragraph is long but each sentence carries distinct information (price, rail, phase behavior, custody posture, resale rights). Minor redundancy between the description's payment explanation and the schema's payment field description.

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 paid data tool with no annotations and no output schema, the description supplies the commercially critical context an agent needs: cost, payment protocol, the two-call handshake, and the non-custodial posture. What the returned list actually contains beyond track names and runtimes is left implicit, but that is a modest gap for a tool whose output shape is stated in one phrase.

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 coverage is 100%, so mood, hours, and payment are already documented in the schema, including defaults, range, and the Base64-encoded x402 payload format. The description's payment narrative reinforces the semantics of the payment parameter but adds no new facts about mood or hours beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a concrete deliverable: an ordered track list plus runtimes sized to the requested hours, drawn from the sleep catalog. That is a specific verb-plus-resource statement an agent can match to an intent. It does not, however, distinguish itself from plausible siblings such as qm_sleep_recommend or qm_playlist_build, so sibling differentiation is left to inference.

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?

The description gives clear operational guidance for the two-phase flow: an unpaid call returns payment requirements, and a follow-up call carrying a valid payment returns the data. That is genuinely useful procedural context. It offers no guidance on when to choose this tool over the catalog or recommendation siblings, and no exclusions or prerequisites beyond payment.

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.