Skip to main content
Glama

create_product_rate_plan

Creates a product rate plan by specifying type, name, and product ID. Supports optional settings for dates, commitment, and image.

Instructions

Create a rate plan. POST /product-rateplans. Required: productId (product reference, URI: /products/{productId}), name, type (contract|ongoing|prepaid). Optional: description, effectiveStartDate, effectiveEndDate, minimumCommitment, image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productIdYesProduct ID (URI: /products/{productId})
nameYesRate plan name
typeYesType: contract, ongoing, or prepaid
descriptionNoDescription
effectiveStartDateNoEffective start date
effectiveEndDateNoEffective end date
minimumCommitmentNoMinimum commitment
minimumCommitmentLengthNoMinimum commitment length
minimumCommitmentUnitNoMinimum commitment unit
changeStatusBasedOnChargeNoChange status based on charge
sourceTemplateIdNoSource template ID
imageNoImage
Behavior2/5

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

No annotations provided, so the description must fully disclose behavior. It states it's a POST operation to create a resource but omits details on side effects, permissions, error conditions, or idempotency. The disclosure is minimal.

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 concise with two sentences that front-load the purpose and include key parameter groups. It is well-structured but could be more accurate by listing all optional parameters.

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 12 parameters, no output schema, and no annotations, the description is incomplete. It fails to explain return values, handle error cases, or provide relational context with sibling tools like create_product_rate_plan_charge. Significant gaps remain.

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%, so baseline is 3. The description adds value by listing required fields and enumerating type values (contract|ongoing|prepaid) not explicitly in the schema. However, it omits several optional parameters (e.g., minimumCommitmentLength, changeStatusBasedOnCharge) that are present in the schema, which could mislead.

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 clearly states 'Create a rate plan' with a verb and resource. It also mentions the HTTP method and endpoint. However, it does not explicitly differentiate from sibling tools like create_product_rate_plan_charge, though the naming implies the difference.

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?

No guidance on when to use this tool versus alternatives (e.g., update, list). There is no mention of prerequisites or context that would help the agent decide to use this tool over others.

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