Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_ktv_session_budget

Read-onlyIdempotent

Determine whether a karaoke booking can fit song durations, intervals and a planned rest break. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "booking_minutes": "<booking_minutes>",
      "song_minutes": "<song_minutes>"
    },
    "name": "api_ktv_session_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
song_minutesYessong minutes; see operation description for units and format
break_minutesNobreak minutes; see operation description for units and format
booking_minutesYesbooking minutes; see operation description for units and format
changeover_secondsNochangeover seconds; see operation description for units and format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, open-world query. The description adds material context the annotations do not cover: the 0.01 USDC charge on Base x402 and the X-Provider-Key header for customer-owned credentials. Those are exactly the operational facts an agent needs before calling. It still says nothing about the units or shape of the computed result.

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?

Two sentences, front-loaded with the core capability, with the payment and auth facts compactly appended. Nothing is wasted, though the second sentence tries to carry two unrelated operational topics in one line.

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?

This is a simple 4-parameter calculation with no output schema. The description should state what the result of the feasibility check looks like, such as a fit flag or the remaining minutes, and it should state the format of the string-typed song_minutes. Otherwise it covers the scope and cost adequately.

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

Parameters2/5

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

Schema coverage is nominally 100%, but every schema parameter description defers to 'the operation description for units and format', and the description never supplies those units or formats. It does map narratives to parameters (song durations to song_minutes, intervals to changeover_seconds, rest break to break_minutes), but song_minutes is typed as a string, so the missing format guidance is a real ambiguity rather than a cosmetic one.

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 description uses a specific verb and resource: 'Determine whether a karaoke booking can fit song durations, intervals and a planned rest break.' That is far more informative than the name alone and clearly separates it from sibling karaoke utilities like api_ktv_key_transpose and api_ktv_round_robin, which serve different purposes. It stops short of an explicit sibling comparison, so it is strong but not exemplary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no explicit when-to-use guidance, no prerequisites, and no alternatives for different needs. Usage as a pre-booking feasibility check is only implied by the phrasing 'can fit'.

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