Skip to main content
Glama

create_product_rate_plan_charge

Create a rate plan charge with required pricing, billing, and tax details. Supports one-time, recurring, or usage charges with various pricing models.

Instructions

Create a rate plan charge. POST /product-rateplan-charges. Required: ratePlanId (rate plan reference, URI: /product-rateplans/{ratePlanId}), name, chargeType (oneTime|recurring|usage), chargeModel (flatFeePricing|perUnitPricing|tieredPricing|volumePricing), billCycleType, category (physical|digital), chargeTier (array of {currency ex. 'USD', price in cents, optional startingUnit, endingUnit, priceFormat, tier}), taxable, weight. Optional: billingPeriod (day|week|month|year), billingTiming (inAdvance|inArrears), description, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ratePlanIdYesRate plan ID (URI: /product-rateplans/{ratePlanId})
nameYesCharge name
chargeTypeYesoneTime, recurring, or usage
chargeModelYesflatFeePricing, perUnitPricing, tieredPricing, or volumePricing
billCycleTypeYesBill cycle type (e.g. chargeTriggerDay, specificDayOfMonth)
categoryYesphysical or digital
chargeTierYesArray of {currency, price, optional startingUnit, endingUnit, priceFormat, tier}
taxableYesWhether taxable
weightYesWeight (integer)
descriptionNoDescription
billingPeriodNoday, week, month, or year (required if chargeType recurring)
billingTimingNoinAdvance or inArrears (required if chargeType recurring)
billingPeriodAlignmentNoalignToCharge, alignToSubscriptionStart, alignToTermStart
specificBillingPeriodNoSpecific billing period
allowChangeQuantityNoAllow change quantity
billCycleDayNo1-31 when billCycleType specificDayOfMonth
weeklyBillCycleDayNosunday..saturday when billCycleType specificDayOfWeek
monthlyBillCycleYearNo1-12 when billCycleType specificMonthOfYear
endDateConditionYessubscriptionEnd or fixedPeriod (required)
isFreeShippingNoFree shipping
maxQuantityNoMax quantity
minQuantityNoMin quantity
quantityNoQuantity
listPriceBaseNoperMonth, perBillingPeriod, or perWeek
Behavior2/5

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

No annotations are provided, so the description must carry full behavioral disclosure. It only lists input parameters without mentioning side effects, permissions, rate limits, or response behavior. The agent gains little insight beyond what the input schema already provides.

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

Conciseness3/5

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

The description is a dense block of text listing parameters, which is acceptable but not concise. It front-loads the core purpose but then becomes a parameter dump. Every sentence earns its place, but the structure could be improved for readability.

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

Completeness2/5

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

Given 24 parameters, no output schema, and no annotations, the description is incomplete. It does not explain the return value, error conditions, or how this tool fits into the larger workflow (e.g., must be called after creating a rate plan). Sibling tools imply a broader context, but the description lacks such guidance.

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?

The input schema has 100% description coverage, so the description adds minimal extra semantic value beyond repeating field descriptions. It provides some inline examples (e.g., URI for ratePlanId), but this does not significantly enhance understanding beyond the schema.

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 'Create a rate plan charge' and provides the endpoint POST /product-rateplan-charges, effectively distinguishing this tool from sibling create tools like create_product_rate_plan or create_subscription.

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 lists required and optional fields but does not explicitly state when to use this tool versus alternatives. Sibling tools include many create operations for different entities, but no guidance is provided on when to create a rate plan charge versus other related actions.

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/rhinosaas/rebillia-mcp-server'

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