Skip to main content
Glama
ClockNext

ClockNext MCP Server

Official
by ClockNext

ClockNext: create plan

clocknext_create_plan

Create a billing plan with entitlement components (WALLET, FLAT, CREDIT, OUTCOME, UNIT) and billing modes (ADVANCE or ARREAR). Use when the dashboard plan builder is not preferred.

Instructions

Create a billing plan. A plan bundles one or more entitlement components: WALLET (prepaid USD balance, debited at raw model cost — NO margin), FLAT (one-off fee), or CREDIT/OUTCOME/UNIT entitlements that reference an existing credit/outcome/unit BY ID — so create those first (clocknext_create_credit / _outcome / _unit) and list them to get ids. Each component has a billingMode: ADVANCE (up-front, needs amount/quantity) or ARREAR (metered). FREE plans must be ADVANCE-only with no FLAT component. PREFER the dashboard plan builder (https://payments.clocknext.com/plans) — it previews what a customer pays; use this tool as the fallback. This creates a real, sellable plan — get the pricing right before you create it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesPlan name.
isActiveNoWhether the plan is active/sellable.
componentsYesAt least one entitlement line. CREDIT/OUTCOME/UNIT components reference an existing resource by id — create those first.
descriptionNoOptional description.
billingCycleYesBilling cadence. FREE plans must be ADVANCE-only with no FLAT component.
carryForwardNoCarry an unused balance into the next cycle. Default true.
currencyCodeNoISO 4217 (3 letters). Default USD.
Behavior4/5

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

Annotations already indicate a write operation (readOnlyHint=false) and non-idempotency. The description adds that this creates a 'real, sellable plan' and warns to verify pricing, which is meaningful behavioral context beyond the flags. No contradiction.

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 description is dense but each sentence conveys distinct information: component types, billing modes, FREE special case, dashboard preference, and pricing warning. Structure is logical, though slightly long.

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?

Covers prerequisites, special-case rules, and usage guidance effectively. It does not discuss return values or error behavior, but given no output schema and rich parameter descriptions, it is adequately complete for a creation tool.

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 100%, with detailed param descriptions. The description mostly restates component and billingMode rules (WALLET, FLAT, ADVANCE/ARREAR, FREE constraint) that are already in the schema, adding little new semantic value.

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 opens with 'Create a billing plan' and clearly elaborates that a plan bundles entitlement components (WALLET, FLAT, CREDIT, etc.), distinguishing it from sibling create tools like clocknext_create_credit/outcome/unit. It also positions itself as a fallback to the dashboard builder, clarifying its unique role.

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?

Explicitly states to prefer the dashboard plan builder and use this tool as a fallback. It also instructs users to create referenced components first (clocknext_create_credit / _outcome / _unit) and list them to get IDs, which is concrete when-to-use guidance.

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/ClockNext/clocknext-mcp'

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