Skip to main content
Glama

agenta_products_create

Create one-time products or recurring subscription plans with pricing, currency, billing intervals, trials, and checkout URLs. Use it to define sellable items and billing options in AgentaOS.

Instructions

Create a product (one-time) or a subscription plan

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesProduct name buyers see
amountYesPrice (e.g. 49.00)
currencyNoCurrency code (e.g. EUR, USD)
intervalNoBilling cadence for a plan: month or year
cancelUrlNohttps URL buyers return to if they back out
trialDaysNoFree trial length for a plan, in days
successUrlNohttps URL buyers return to after paying (we append ?sessionId=…)
descriptionNoDescription shown on the checkout page
subscriptionNoRecurring plan instead of a one-time product

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing: no auth requirements, no side effects, no indication that this provisions a payable object linked to checkout. 'Create' implies mutation, but reversibility, idempotency, and post-creation state are all unstated.

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?

A single front-loaded sentence with the two modes stated immediately and zero filler. Nothing in it is redundant or misplaced.

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?

For a nine-parameter mutation tool with no annotations and no output schema, the description is thin: it never explains how subscription/interval/trialDays interact, nor what the caller receives back on success. Adequate to identify the tool, insufficient to call it confidently.

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 every parameter (amount, currency, interval, trialDays, successUrl, cancelUrl, subscription, description) is already documented in the schema. Baseline 3 applies because the description adds no additional parameter meaning beyond what the schema provides.

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?

States a specific verb (Create) and resource (product) and disambiguates the two output modes: one-time product vs subscription plan. It does not explicitly contrast itself with siblings such as agenta_products_list, but the intent is unambiguous without opening the schema.

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?

Usage is implied by the create verb, but there is no guidance on when to choose a one-time product versus a subscription, nor any mention of prerequisites or the relationship to agenta_subscriptions_change_plan. The agent must infer the selection condition from the 'subscription' and 'interval' parameters.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.