Skip to main content
Glama

billing_subscribe

Set up a PostKing subscription with Stripe Checkout. Pick your tier (Growth, Pro, Enterprise) and billing interval (monthly/yearly). Credits refill each period, and a checkout URL is returned for payment.

Instructions

Create a Stripe Checkout session for a PostKing subscription. Returns { checkoutUrl, sessionId, tier, interval, amountUsd }. Subscription credits refill User.credits each billing period. The subscription Checkout is best completed by a human; the Link virtual card covers the first invoice only (renewals need a durable payment method).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tierYesSubscription tier. One of: GROWTH, PRO, ENTERPRISE.
intervalNoBilling interval: "month" (default) or "year".month
Behavior5/5

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

With no annotations provided, the description carries the full burden and does an excellent job. It discloses the return object (checkoutUrl, sessionId, tier, interval, amountUsd), the ongoing effect (credits refill User.credits each billing period), and a payment limitation (Link virtual card covers first invoice only, renewals need durable payment). This is rich behavioral disclosure.

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?

Three sentences, front-loaded with the core purpose. The second sentence references the return shape, and the third adds a practical human/payment caveat. No filler; every sentence carries meaningful information.

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?

For a subscription checkout tool, the description is complete: it explains what it creates, what it returns, how credits recur, and a payment method caveat. Even without an output schema, the return fields are enumerated. No critical operational detail is missing.

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?

Input schema covers 100% of the parameters with clear enum descriptions for tier and interval. The description adds no new syntax or format details beyond mentioning the return fields. Baseline 3 is appropriate because the schema already documents parameters well.

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 and resource: 'Create a Stripe Checkout session for a PostKing subscription.' It also distinguishes itself from sibling billing tools (billing_topup, billing_wallet) by focusing specifically on subscription checkout, not wallet top-ups or tier listing.

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 a clear usage context: 'The subscription Checkout is best completed by a human,' which guides the agent to potentially hand off to a human. It does not explicitly name alternative tools like billing_topup, but the context is sufficiently clear. Lacks explicit 'when not to use' guidance, so not a 5.

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/bitsandtea/postking-mcp'

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